aboutsummaryrefslogtreecommitdiff
path: root/multimedia/kmplayer
diff options
context:
space:
mode:
authorJeremy Messenger <mezz@FreeBSD.org>2007-09-18 18:15:57 +0000
committerJeremy Messenger <mezz@FreeBSD.org>2007-09-18 18:15:57 +0000
commitdf76ebd87326566da452afce08313fdf725cdf60 (patch)
tree3bb312c36755b189d22be368f1480677b974a14f /multimedia/kmplayer
parentc9bffd6d6052f20fffd5099ed1f5b9b97550788e (diff)
downloadports-df76ebd87326566da452afce08313fdf725cdf60.tar.gz
ports-df76ebd87326566da452afce08313fdf725cdf60.zip
Notes
Diffstat (limited to 'multimedia/kmplayer')
-rw-r--r--multimedia/kmplayer/Makefile42
-rw-r--r--multimedia/kmplayer/distinfo6
2 files changed, 11 insertions, 37 deletions
diff --git a/multimedia/kmplayer/Makefile b/multimedia/kmplayer/Makefile
index 2c0ce8f06897..075155a8fbe9 100644
--- a/multimedia/kmplayer/Makefile
+++ b/multimedia/kmplayer/Makefile
@@ -6,14 +6,14 @@
#
PORTNAME= kmplayer
-DISTVERSION= 0.9.3
-PORTREVISION= 2
+PORTVERSION= 0.9.4a
PORTEPOCH= 2
CATEGORIES= multimedia audio kde
-MASTER_SITES= http://kmplayer.kde.org/pkgs/
+MASTER_SITES= http://kmplayer.kde.org/pkgs/ \
+ http://freebsd.ricin.com/ports/distfiles/
#DISTNAME= ${PORTNAME}-${PORTVERSION:C/\.r/-rc/}
-MAINTAINER= multimedia@FreeBSD.org
+MAINTAINER= danny@ricin.com
COMMENT= KDE frontend to mplayer
RUN_DEPENDS= mplayer:${PORTSDIR}/multimedia/mplayer
@@ -23,33 +23,13 @@ USE_KDEBASE_VER=3
USE_XLIB= yes
USE_GMAKE= yes
USE_AUTOTOOLS= libtool:15
-CONFIGURE_ARGS+=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
-CONFIGURE_TARGET=
-CONFIGURE_ARGS+=--with-x=${X11BASE} --disable-debug
-OPTIONS= GSTREAMER "Enable support for video playback using gstreamer" off \
- XINE "Enable support for video playback using libxine" off
+OPTIONS= GSTREAMER "Enable gstreamer playback support" off \
+ XINE "Enable libxine playback support" off
WANT_GSTREAMER= yes
-###
-## 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
-
post-patch:
-# remove -pedantic where possible to fix build errors on -CURRENT
-# remove optimizations
- @${REINPLACE_CMD} -e \
- 's|-O2||; s|-pedantic ||' \
- ${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT}
# do not try to roll our own mimetypes
@${REINPLACE_CMD} -E -e \
's|^(SUBDIRS.*)mimetypes|\1|' \
@@ -57,23 +37,17 @@ post-patch:
.include <bsd.port.pre.mk>
-###
-## Support Activation
-###
-# gstreamer
-#.undef WITH_GSTREAMER
.if defined(WITH_GSTREAMER)
USE_GSTREAMER+= yes
-
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
+.else
+CONFIGURE_ARGS+= --without-xine
.endif
.include <bsd.port.post.mk>
diff --git a/multimedia/kmplayer/distinfo b/multimedia/kmplayer/distinfo
index 07aa633c960c..817848d2df2f 100644
--- a/multimedia/kmplayer/distinfo
+++ b/multimedia/kmplayer/distinfo
@@ -1,3 +1,3 @@
-MD5 (kmplayer-0.9.3.tar.bz2) = b5866658c62995185f3fb63f3804cfa2
-SHA256 (kmplayer-0.9.3.tar.bz2) = 1b10a7162f305da974dc30bf4ffdea2cfd7a03dc69e2749c8366e0ce78732247
-SIZE (kmplayer-0.9.3.tar.bz2) = 943240
+MD5 (kmplayer-0.9.4a.tar.bz2) = 10eeb318a4800e4cfa74957c7a6714da
+SHA256 (kmplayer-0.9.4a.tar.bz2) = 1c5d705818bca7cb00384991498fe020b70bc0f55622185e63905551793aaa9c
+SIZE (kmplayer-0.9.4a.tar.bz2) = 970527