ports/74399: [Maintainer Update] audio/muine: Add optional gstreamer backend and add GCONF_SCHEMAS
Tom McLaughlin
tmclaugh at sdf.lonestar.org
Fri Nov 26 05:00:52 UTC 2004
>Number: 74399
>Category: ports
>Synopsis: [Maintainer Update] audio/muine: Add optional gstreamer backend and add GCONF_SCHEMAS
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Fri Nov 26 05:00:51 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator: Tom McLaughlin
>Release: FreeBSD 5.3-RELEASE-p1 i386
>Organization:
>Environment:
System: FreeBSD 5.3-RELEASE-p1 #0: Sat Nov 20 15:58:16 EST 2004
root at compass.straycat.dhs.org:/usr/obj/usr/src/sys/COMPASS
>Description:
Attached patch adds an OPTION to use gstreamer over xine as the
playback backend. Also use GCONF_SCHEMAS in Makefile now.
>How-To-Repeat:
>Fix:
--- muine-gconf+gstreamer.diff begins here ---
diff -Nur muine.orig/Makefile muine/Makefile
--- muine.orig/Makefile Sun Nov 7 17:35:54 2004
+++ muine/Makefile Thu Nov 25 23:45:41 2004
@@ -1,8 +1,8 @@
# New ports collection makefile for: muine
# Date created: 20040615
-# Whom: Tom McLaughlin <tmclaugh at sdf.lonestar.org>
+# Whom: Tom McLaughlin <tmclaugh at sdf.lonestar.org>
#
-# $FreeBSD: ports/audio/muine/Makefile,v 1.3 2004/11/07 22:35:54 marcus Exp $
+# $FreeBSD$
#
PORTNAME= muine
@@ -14,19 +14,31 @@
MAINTAINER= tmclaugh at sdf.lonestar.org
COMMENT= Mono based Gnome audio player
-LIB_DEPENDS= xine.9:${PORTSDIR}/multimedia/libxine \
- FLAC.5:${PORTSDIR}/audio/flac \
+LIB_DEPENDS= FLAC.5:${PORTSDIR}/audio/flac \
id3tag.2:${PORTSDIR}/audio/libid3tag \
gdbm:${PORTSDIR}/databases/gdbm
-BUILD_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/gtk-sharp.pc:${PORTSDIR}/x11-toolkits/gtk-sharp
+BUILD_DEPENDS= gapi-fixup:${PORTSDIR}/x11-toolkits/gtk-sharp
RUN_DEPENDS= ${BUILD_DEPENDS}
-USE_X_PREFIX= yes
USE_GNOME= gnomeprefix gnomehack intltool libgnomeui
+USE_X_PREFIX= yes
USE_LIBTOOL_VER=15
USE_REINPLACE= yes
CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
-.include <bsd.port.mk>
+GCONF_SCHEMAS= muine.schemas
+
+OPTIONS= GSTREAMER "Enable Gstreamer backend" off
+
+.include <bsd.port.pre.mk>
+
+.if defined (WITH_GSTREAMER)
+CONFIGURE_ARGS+= --enable-gstreamer=yes
+USE_GNOME+= gstreamerplugins
+.else
+LIB_DEPENDS+= xine.9:${PORTSDIR}/multimedia/libxine
+.endif
+
+.include <bsd.port.post.mk>
diff -Nur muine.orig/pkg-plist muine/pkg-plist
--- muine.orig/pkg-plist Sat Jul 24 12:37:31 2004
+++ muine/pkg-plist Mon Nov 8 16:25:20 2004
@@ -1,7 +1,4 @@
bin/muine
- at unexec env GCONF_CONFIG_SOURCE=xml::%D/etc/gconf/gconf.xml.defaults gconftool-2 --makefile-uninstall-rule %D/etc/gconf/schemas/muine.schemas > /dev/null || /usr/bin/true
-etc/gconf/schemas/muine.schemas
- at exec env GCONF_CONFIG_SOURCE=xml::%D/etc/gconf/gconf.xml.defaults gconftool-2 --makefile-install-rule %D/etc/gconf/schemas/muine.schemas > /dev/null || /usr/bin/true
lib/muine/AmazonSearchService.dll
lib/muine/libmuine.a
lib/muine/libmuine.so
--- muine-gconf+gstreamer.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list