Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Sep 2007 02:24:15 +0200
From:      "Danny Pansters" <danny@ricin.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/116407: [update] multimedia/kmplayer, rework of earlier update to 0.9.4a
Message-ID:  <20070917011901.62E1713C461@mx1.freebsd.org>
Resent-Message-ID: <200709170120.l8H1K1Ah012674@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         116407
>Category:       ports
>Synopsis:       [update] multimedia/kmplayer, rework of earlier update to 0.9.4a
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Sep 17 01:20:01 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Danny Pansters
>Release:        FreeBSD 6.2-STABLE i386
>Organization:
>Environment:
System: FreeBSD desktop.homenet 6.2-STABLE FreeBSD 6.2-STABLE #0: Tue Aug 21 02:19:27 CEST 2007 root@desktop.homenet:/usr/obj/usr/src/sys/DESKTOP i386


	
>Description:
	* Rework of update to 0.9.4a, submitted by Pawel Pekala (thank you!)
	* POLA: let OPTIONS dictate whether xime/gst is used or not
	* Special GCC4+ considerations removed, they don't seem necessary (anymore?)
	* Sollicit maintainership, invited by mezz@

>How-To-Repeat:
	N/A, just update, make, deinstall, install
>Fix:

	

--- ports__multimedia__kmplayer.diff begins here ---
diff -ruN ports/multimedia/kmplayer.old/Makefile ports/multimedia/kmplayer/Makefile
--- ports/multimedia/kmplayer.old/Makefile	2007-05-19 22:17:38.000000000 +0200
+++ ports/multimedia/kmplayer/Makefile	2007-09-17 01:36:13.000000000 +0200
@@ -6,14 +6,15 @@
 #
 
 PORTNAME=	kmplayer
-DISTVERSION=	0.9.3
-PORTREVISION=	2
+PORTVERSION=	0.9.4a
+PORTREVISION=	# zero
 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 +24,13 @@
 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 +38,17 @@
 
 .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 -ruN ports/multimedia/kmplayer.old/distinfo ports/multimedia/kmplayer/distinfo
--- ports/multimedia/kmplayer.old/distinfo	2006-09-25 02:08:46.000000000 +0200
+++ ports/multimedia/kmplayer/distinfo	2007-09-17 01:36:13.000000000 +0200
@@ -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
--- ports__multimedia__kmplayer.diff ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070917011901.62E1713C461>