diff options
author | tmclaugh <tmclaugh@FreeBSD.org> | 2006-04-17 11:10:41 +0800 |
---|---|---|
committer | tmclaugh <tmclaugh@FreeBSD.org> | 2006-04-17 11:10:41 +0800 |
commit | 1075fa6cbf85aeb400599293b34ec4d2394eb582 (patch) | |
tree | 47b6634702568b30d2325e6fc532e3f9dd36ea1b /multimedia | |
parent | 35f6cad74409a43ae30c932de08722298252b663 (diff) | |
download | freebsd-ports-gnome-1075fa6cbf85aeb400599293b34ec4d2394eb582.tar.gz freebsd-ports-gnome-1075fa6cbf85aeb400599293b34ec4d2394eb582.tar.zst freebsd-ports-gnome-1075fa6cbf85aeb400599293b34ec4d2394eb582.zip |
Re-enable GTK2 support with patch from Mplayer CVS found via
www.ubuntuforums.org. This is not the old gtk2 patch used before but
the current gtk2 support in Mplayer's CVS. Unlike gtk12 support, gtk20
support will not be autodetected since it's still an unofficial patch.
Please use WITH_GTK2 to use.
PR: 95558
Submitted by: Me
Approved by: Maintainer
Obtained from: http://www.ubuntuforums.org/archive/index.php/t-78037.html
Diffstat (limited to 'multimedia')
-rw-r--r-- | multimedia/mplayer/Makefile | 46 | ||||
-rw-r--r-- | multimedia/mplayer/distinfo | 3 |
2 files changed, 25 insertions, 24 deletions
diff --git a/multimedia/mplayer/Makefile b/multimedia/mplayer/Makefile index d71e09a3259f..edcccaaa8ff0 100644 --- a/multimedia/mplayer/Makefile +++ b/multimedia/mplayer/Makefile @@ -61,8 +61,8 @@ # user interface by defining WITHOUT_GUI # Note: If you define WITH_GTK* *and* WITHOUT_GUI, mplayer will be built without # gui capabilities. -# At the moment there is no current gtk2 patch available, so defining this -# knob has no effect right now. +# The GTK2 patches are not official ones, so they should be considered +# as experimental. # # WITHOUT_GUI # default: undefined @@ -287,8 +287,8 @@ DISTNAME= MPlayer-1.0pre7try2 MAINTAINER= riggs@rrr.de COMMENT= High performance media player/encoder supporting many formats -PATCH_SITES= http://www.win.net/~ardneh/patches/ \ - http://www.rrr.de/~riggs/mplayer/ +PATCH_SITES= ${MASTER_SITE_LOCAL} +PATCH_SITE_SUBDIR= tmclaugh PATCH_DIST_STRIP= -p1 LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png @@ -551,8 +551,7 @@ CONFIGURE_ARGS+= --enable-debug CFLAGS+= -O3 -ffast-math -fomit-frame-pointer .endif -#.if ${HAVE_GNOME:Mgtk12}!="" && !defined(WITH_GTK2) && !defined(WITHOUT_GUI) -.if ${HAVE_GNOME:Mgtk12}!="" && !defined(WITHOUT_GUI) +.if ${HAVE_GNOME:Mgtk12}!="" && !defined(WITH_GTK2) && !defined(WITHOUT_GUI) WITH_GTK1= yes .endif @@ -565,25 +564,24 @@ RUN_DEPENDS+= ${LOCALBASE}/share/mplayer/Skin:${PORTSDIR}/multimedia/mplayer-ski PLIST_SUB+= GMPLAYER="@comment " .endif -#.if defined(WITH_GTK2) && !defined(WITH_GTK1) && !defined(WITHOUT_GUI) -#.if ( ${OSVERSION} < 500000 ) -#USE_GCC= 3.4 -#.endif -#USE_GNOME+= gtk20 -#PATCHFILES+= mplayer1.0pre5-gtk2-20040730.patch.bz2 -#.if defined(PKGNAMESUFFIX) -#PKGNAMESUFFIX:= ${PKGNAMESUFFIX}-gtk2 -#.else -#PKGNAMESUFFIX= -gtk2 -#.endif -#CONFIGURE_ARGS+= --enable-gui -#.if defined(WITH_LANG) -#WITH_LANG= "" -#.endif -#.endif +.if defined(WITH_GTK2) && !defined(WITH_GTK1) && !defined(WITHOUT_GUI) +.if ( ${OSVERSION} < 500000 ) +USE_GCC= 3.4 +.endif +USE_GNOME+= gtk20 +PATCHFILES+= MPlayer-1.0pre7try2-gtk2.patch +.if defined(PKGNAMESUFFIX) +PKGNAMESUFFIX:= ${PKGNAMESUFFIX}-gtk2 +.else +PKGNAMESUFFIX= -gtk2 +.endif +CONFIGURE_ARGS+= --enable-gui --enable-gtk2 +.if defined(WITH_LANG) +WITH_LANG= "" +.endif +.endif -#.if defined(WITH_GTK1) && !defined(WITH_GTK2) && !defined(WITHOUT_GUI) -.if defined(WITH_GTK1) && !defined(WITHOUT_GUI) +.if defined(WITH_GTK1) && !defined(WITH_GTK2) && !defined(WITHOUT_GUI) USE_GNOME+= gtk12 .if defined(PKGNAMESUFFIX) PKGNAMESUFFIX:= ${PKGNAMESUFFIX}-gtk diff --git a/multimedia/mplayer/distinfo b/multimedia/mplayer/distinfo index c76a1ac533b4..a1be44182647 100644 --- a/multimedia/mplayer/distinfo +++ b/multimedia/mplayer/distinfo @@ -1,3 +1,6 @@ MD5 (MPlayer-1.0pre7try2.tar.bz2) = aaca4fd327176c1afb463f0f047ef6f4 SHA256 (MPlayer-1.0pre7try2.tar.bz2) = 006da26e16bd1b1a8aec5d59b72b0b2ae7716f4e7634859a3e88b6fbbec4d89a SIZE (MPlayer-1.0pre7try2.tar.bz2) = 6868786 +MD5 (MPlayer-1.0pre7try2-gtk2.patch) = aa7ae259b66f3a88d4dff39faeea7354 +SHA256 (MPlayer-1.0pre7try2-gtk2.patch) = 15f13b741b0ed8ec5726e5c68d03d559c32582a3e2d1e3014685531c69a47ab2 +SIZE (MPlayer-1.0pre7try2-gtk2.patch) = 6177 |