aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/goggles
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2004-07-11 19:57:48 +0800
committerpav <pav@FreeBSD.org>2004-07-11 19:57:48 +0800
commit30a3cc8cda7be5a5f0ae0cf4e1195cb0a86c2c92 (patch)
treece9a55dc8a12e488f6dd2f10f34e9d4089df385b /multimedia/goggles
parent6c6899d466d77fecb09bd89823cf246b89883c93 (diff)
downloadfreebsd-ports-gnome-30a3cc8cda7be5a5f0ae0cf4e1195cb0a86c2c92.tar.gz
freebsd-ports-gnome-30a3cc8cda7be5a5f0ae0cf4e1195cb0a86c2c92.tar.zst
freebsd-ports-gnome-30a3cc8cda7be5a5f0ae0cf4e1195cb0a86c2c92.zip
- Distfile was rerolled, author updated build infrastructure, startup
script, and removed object files, calling new file 0.9.4-patch1
Diffstat (limited to 'multimedia/goggles')
-rw-r--r--multimedia/goggles/Makefile8
-rw-r--r--multimedia/goggles/distinfo4
-rw-r--r--multimedia/goggles/files/patch-build-config.linux85
3 files changed, 51 insertions, 46 deletions
diff --git a/multimedia/goggles/Makefile b/multimedia/goggles/Makefile
index 5e07b074301a..222bf0d74a23 100644
--- a/multimedia/goggles/Makefile
+++ b/multimedia/goggles/Makefile
@@ -6,9 +6,10 @@
#
PORTNAME= goggles
-PORTVERSION= 0.7.4
+PORTVERSION= 0.7.4.1
CATEGORIES= multimedia
MASTER_SITES= http://www.fifthplanet.net/files/
+DISTNAME= ${PORTNAME}-${PORTVERSION:S/.1//}
MAINTAINER= lioux@FreeBSD.org
COMMENT= A FOX frontend to the Ogle DVD player
@@ -17,8 +18,6 @@ BUILD_DEPENDS= ${LOCALBASE}/lib/ogle/libdvdcontrol.so.11:${PORTSDIR}/multimedia/
LIB_DEPENDS= FOX-1.2.6:${PORTSDIR}/x11-toolkits/fox-devel
RUN_DEPENDS= ogle:${PORTSDIR}/multimedia/ogle
-BROKEN= Size mismatch
-
USE_BZIP2= yes
USE_GMAKE= yes
USE_REINPLACE= yes
@@ -47,9 +46,6 @@ DEFAULT_DVD_DEVICE=/dev/acd0
.endif
.endif
-post-extract:
- @cd ${WRKSRC} && ./gb clean
-
post-patch:
@${REINPLACE_CMD} -e 's|make|${GMAKE}|g' ${WRKSRC}/gb
diff --git a/multimedia/goggles/distinfo b/multimedia/goggles/distinfo
index 8533430686fb..5059edd9b2db 100644
--- a/multimedia/goggles/distinfo
+++ b/multimedia/goggles/distinfo
@@ -1,2 +1,2 @@
-MD5 (goggles-0.7.4.tar.bz2) = f5772b217a1e19b4d1774c1938d6af7b
-SIZE (goggles-0.7.4.tar.bz2) = 2286061
+MD5 (goggles-0.7.4.tar.bz2) = 45caf509b45bf8d9f017f8f8320a94be
+SIZE (goggles-0.7.4.tar.bz2) = 704179
diff --git a/multimedia/goggles/files/patch-build-config.linux b/multimedia/goggles/files/patch-build-config.linux
index a14debb0e754..2abc4457aed6 100644
--- a/multimedia/goggles/files/patch-build-config.linux
+++ b/multimedia/goggles/files/patch-build-config.linux
@@ -1,43 +1,52 @@
---- build/config.linux.orig Mon May 17 06:08:59 2004
-+++ build/config.linux Mon Jun 28 01:03:04 2004
-@@ -1,17 +1,17 @@
- # General Settings
+--- build/config.linux.orig Thu Jul 8 04:56:18 2004
++++ build/config.linux Sun Jul 11 03:20:58 2004
+@@ -2,7 +2,7 @@
#-------------------------------------------------------------------------------
--CONFIG_DEVICE="/dev/dvd" # Initial default dvd device
-+CONFIG_DEVICE="%%DVDDEVICE%%" # Initial default dvd device
- CONFIG_XV=1 # Include XV Support
- CONFIG_DXR3=0 # Include DXR3 Support
+ CONFIG_XV=${CONFIG_XV:-1}
+ CONFIG_DXR3=${CONFIG_DXR3:-0}
+-CONFIG_DVD_DEVICE="/dev/dvd"
++CONFIG_DVD_DEVICE="%%DVDDEVICE%%"
+ # Possible defaults for other platforms.
+ #CONFIG_DVD_DEVICE="/cdrom/cdrom0" # Solaris
+@@ -15,13 +15,13 @@
- # Search and Install Directories
+ # Search and Installation Directories
#-------------------------------------------------------------------------------
--FOX_PREFIX="/usr" # FOX Installation dir.
--OGLE_PREFIX="/usr" # Ogle Installation dir
--GOGGLES_PREFIX="$OGLE_PREFIX" # Goggles Installation dir -
-+FOX_PREFIX="%%LOCALBASE%%" # FOX Installation dir.
-+OGLE_PREFIX="%%LOCALBASE%%" # Ogle Installation dir
-+GOGGLES_PREFIX="%%PREFIX%%" # Goggles Installation dir -
- # Should be the same as ogle
--X11_PREFIX="/usr/X11R6" # X Server Installation dir.
-+X11_PREFIX="%%X11BASE%%" # X Server Installation dir.
-
- # Build Tools
- #-------------------------------------------------------------------------------
-@@ -24,7 +24,7 @@
- #-------------------------------------------------------------------------------
- #CXXFLAGS="-O2 -Wall -ffast-math -finline-functions -fomit-frame-pointer -fexpensive-optimizations"
- CXXFLAGS="-Wall -g"
--CPPFLAGS="-I../include -I$FOX_PREFIX/include/fox-1.2 -I$OGLE_PREFIX/include"
-+CPPFLAGS="-I../include -I$FOX_PREFIX/include/fox-1.2 -I$OGLE_PREFIX/include -I$X11_PREFIX/include"
-
- OGLE_LIBS="-L$OGLE_PREFIX/lib/ogle -Wl,-rpath $OGLE_PREFIX/lib/ogle -ldvdcontrol -lmsgevents"
- OGLE_DEFS=""
-@@ -53,7 +53,7 @@
-
- LIBS="$LIBS -lXext -lX11"
-
--#LIBS="$LIBS -lpthread"
-+LIBS="$LIBS %%PTHREADLIBS%%"
-
-
+-FOX_PREFIX="${FOX_PREFIX:-/usr}"
+-OGLE_PREFIX="${OGLE_PREFIX:-/usr}"
+-GOGGLES_PREFIX="${GOGGLES_PREFIX:-/usr}"
+-XLIB_PREFIX="/usr/X11R6"
+-MENU_FILE_DIR="/usr/share/applications"
+-MENU_ICON_DIR="/usr/share/icons"
+-MENU_LINK_DIR="/usr/share/applnk-mdk/Multimedia/Video"
++FOX_PREFIX="%%LOCALBASE%%"
++OGLE_PREFIX="%%LOCALBASE%%"
++GOGGLES_PREFIX="%%PREFIX%%"
++XLIB_PREFIX="%%X11BASE%%"
++MENU_FILE_DIR="%%PREFIX%%/share/gnome/applications"
++MENU_ICON_DIR="%%PREFIX%%/share/icons"
++MENU_LINK_DIR="%%PREFIX%%/share/applnk-mdk/Multimedia/Video"
+
+ # Libraries we need
+ #----------------------------------------------------------------------------------------------------------------
+@@ -45,7 +45,7 @@
+ fi
+
+ if [ $CONFIG_XV -eq 1 ] ; then
+- XV_LIBS="-L${XLIB_PREFIX} -lXext -lXv"
++ XV_LIBS="-L${XLIB_PREFIX}/lib -lXext -lXv"
+ XV_DEFS="-DHAVE_XV"
+ else
+ XV_LIBS=""
+@@ -85,8 +85,8 @@
+
+ export CFLAGS="-Wall -O2 -march=i586 -mcpu=i586"
+ export CXXFLAGS="-Wall -O2 -march=i586 -mcpu=i586"
+-export CPPFLAGS="-I../include $OGLE_INCLUDE $FOX_INCLUDE"
+-export LIBS="$OGLE_LIB $XV_LIBS $FOX_LIB"
++export CPPFLAGS="-I../include $OGLE_INCLUDE $FOX_INCLUDE -I%%X11BASE%%/include"
++export LIBS="$OGLE_LIB $XV_LIBS $FOX_LIB %%PTHREADLIBS%%"
+ export DEFS="-DLINUX $DXR3_DEFS $XV_DEFS"
+ #----------------------------------------------------------------------------------------------------------------