aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/kmplayer
diff options
context:
space:
mode:
authorlioux <lioux@FreeBSD.org>2004-12-16 00:05:14 +0800
committerlioux <lioux@FreeBSD.org>2004-12-16 00:05:14 +0800
commit5ca06d80b2f6dbec1e0a04b30cc33f116ebf94e8 (patch)
treebc419b326e2769fd2448ea5852f113fd77aa2805 /multimedia/kmplayer
parentcd4b24b5f2adb6efe0a029def138f7a3b60398b1 (diff)
downloadfreebsd-ports-gnome-5ca06d80b2f6dbec1e0a04b30cc33f116ebf94e8.tar.gz
freebsd-ports-gnome-5ca06d80b2f6dbec1e0a04b30cc33f116ebf94e8.tar.zst
freebsd-ports-gnome-5ca06d80b2f6dbec1e0a04b30cc33f116ebf94e8.zip
Update to 0.8.4-rc4a with both VDR (kxvplayer) and gstreamer
(kgstplayer) backends
Diffstat (limited to 'multimedia/kmplayer')
-rw-r--r--multimedia/kmplayer/Makefile40
-rw-r--r--multimedia/kmplayer/distinfo4
-rw-r--r--multimedia/kmplayer/pkg-plist1
3 files changed, 39 insertions, 6 deletions
diff --git a/multimedia/kmplayer/Makefile b/multimedia/kmplayer/Makefile
index 0efc4d5a983b..c5eac263515a 100644
--- a/multimedia/kmplayer/Makefile
+++ b/multimedia/kmplayer/Makefile
@@ -6,10 +6,10 @@
#
PORTNAME= kmplayer
-PORTVERSION= 0.8.4.r2
CATEGORIES= multimedia audio kde
MASTER_SITES= http://www.xs4all.nl/%7Ejjvrieze/
-DISTNAME= ${PORTNAME}-${PORTVERSION:C/\.r/-rc/}
+#DISTNAME= ${PORTNAME}-${PORTVERSION:C/\.r/-rc/}
+DISTVERSION= 0.8.4-rc4a
MAINTAINER= lioux@FreeBSD.org
COMMENT= KDE frontend to mplayer
@@ -21,6 +21,7 @@ RUN_DEPENDS= mplayer:${PORTSDIR}/multimedia/mplayer
USE_BZIP2= yes
USE_KDEBASE_VER=3
+USE_XLIB= yes
USE_GMAKE= yes
USE_REINPLACE= yes
GNU_CONFIGURE= yes
@@ -28,8 +29,19 @@ CONFIGURE_ARGS+=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_TARGET=
CONFIGURE_ARGS+=--with-x=${X11BASE} --disable-debug
-OPTIONS= XINE "Enable support for video playback using libxine" off
+OPTIONS= GSTREAMER "Enable support for video playback using gstreamer" off \
+ XINE "Enable support for video playback using libxine" off
+WANT_GNOME= gstreamerplugins
+
+###
+## Lib Detection
+###
+# gstreamer
+.if exists(${X11BASE}/lib/libgstplay-0.8.so)
+WITH_GSTREAMER=yes
+.endif
+# xine
.if exists(${X11BASE}/lib/libxine.so)
WITH_XINE=yes
.endif
@@ -47,10 +59,30 @@ post-patch:
.include <bsd.port.pre.mk>
+###
+## Internal Detection
+###
+# gstreamer
+.if ${HAVE_GNOME:Mgstreamerplugins}
+WITH_GSTREAMER=yes
+.endif
+
+###
+## Support Activation
+###
+# gstreamer
+.if defined(WITH_GSTREAMER)
+USE_GNOME+= gstreamerplugins
+
+PLIST_FILES+= bin/kgstplayer
+.else
+CONFIGURE_ARGS+= --without-gstreamer
+.endif
+# xine
.if defined(WITH_XINE)
LIB_DEPENDS+= xine:${PORTSDIR}/multimedia/libxine
-PLIST_FILES= bin/kxineplayer
+PLIST_FILES+= bin/kxineplayer
.endif
# GCC < 3.1
diff --git a/multimedia/kmplayer/distinfo b/multimedia/kmplayer/distinfo
index af0cd62afc03..bbd8b4565746 100644
--- a/multimedia/kmplayer/distinfo
+++ b/multimedia/kmplayer/distinfo
@@ -1,2 +1,2 @@
-MD5 (kmplayer-0.8.4-rc2.tar.bz2) = 9df8b3dcd6a2e8525658716e480067d6
-SIZE (kmplayer-0.8.4-rc2.tar.bz2) = 577049
+MD5 (kmplayer-0.8.4-rc4a.tar.bz2) = f4abfb1618843de61243d8f20724ef2c
+SIZE (kmplayer-0.8.4-rc4a.tar.bz2) = 571387
diff --git a/multimedia/kmplayer/pkg-plist b/multimedia/kmplayer/pkg-plist
index 293a8d9643c7..d80339eeac3e 100644
--- a/multimedia/kmplayer/pkg-plist
+++ b/multimedia/kmplayer/pkg-plist
@@ -1,4 +1,5 @@
bin/kmplayer
+bin/kxvplayer
lib/kde3/kmplayer.la
lib/kde3/kmplayer.so
lib/kde3/libkmplayerpart.la