[patch] multimedia/kmplayer update to 0.9.4a

Pawel Pekala c0rn at o2.pl
Tue Sep 4 11:35:17 PDT 2007


>Submitter-Id:	current-users 
>Originator:	Pawel Pekala 
>Organization:	 
>Confidential:	no 
>Synopsis:	[patch] multimedia/kmplayer update to 0.9.4a 
>Severity:	non-critical 
>Priority:	low 
>Category:	ports 
>Class:		update 
>Release:	FreeBSD 6.2-RELEASE-p4 i386 
>Environment:


System: FreeBSD 6.2-RELEASE-p4 #0: Thu Apr 26 17:40:53 UTC 2007
    root at i386-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC



>Description:


- update to version 0.9.4a
- fix couple portlint warnings
- make options behave properly



>How-To-Repeat:





>Fix:


--- kmplayer.diff begins here ---
diff -urN /usr/ports/multimedia/kmplayer/Makefile kmplayer/Makefile
--- /usr/ports/multimedia/kmplayer/Makefile	Sun May 27 10:49:13 2007
+++ kmplayer/Makefile	Tue Sep  4 19:48:24 2007
@@ -6,8 +6,7 @@
 #
 
 PORTNAME=	kmplayer
-DISTVERSION=	0.9.3
-PORTREVISION=	2
+DISTVERSION=	0.9.4a
 PORTEPOCH=	2
 CATEGORIES=	multimedia audio kde
 MASTER_SITES=	http://kmplayer.kde.org/pkgs/
@@ -22,28 +21,18 @@
 USE_KDEBASE_VER=3
 USE_XLIB=	yes
 USE_GMAKE=	yes
+USE_LDCONFIG=	yes
+USE_GETTEXT=	yes
+INSTALLS_ICONS=	yes
 USE_AUTOTOOLS=	libtool:15
-CONFIGURE_ARGS+=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
-CONFIGURE_TARGET=
-CONFIGURE_ARGS+=--with-x=${X11BASE} --disable-debug
+
+CONFIGURE_ARGS+=--with-x=${LOCALBASE} --disable-debug
 
 OPTIONS=	GSTREAMER "Enable support for video playback using gstreamer" off \
 		XINE "Enable support for video playback using libxine" 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
@@ -74,6 +63,8 @@
 LIB_DEPENDS+=	xine:${PORTSDIR}/multimedia/libxine
 
 PLIST_FILES+=	bin/kxineplayer
+.else
+CONFIGURE_ARGS+=	--without-xine
 .endif
 
 .include <bsd.port.post.mk>
diff -urN /usr/ports/multimedia/kmplayer/distinfo kmplayer/distinfo
--- /usr/ports/multimedia/kmplayer/distinfo	Tue Sep 26 21:26:25 2006
+++ kmplayer/distinfo	Tue Sep  4 19:02:09 2007
@@ -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
--- kmplayer.diff ends here ---





More information about the freebsd-multimedia mailing list