ports/73025: Update port: audio/streamtuner to 0.99

Jean-Yves Lefort jylefort at brutele.be
Sat Oct 23 03:10:28 UTC 2004


>Number:         73025
>Category:       ports
>Synopsis:       Update port: audio/streamtuner to 0.99
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Oct 23 03:10:27 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Jean-Yves Lefort
>Release:        FreeBSD 5.3-BETA6 i386
>Organization:
>Environment:
System: FreeBSD jsite.lefort.net 5.3-BETA6 FreeBSD 5.3-BETA6 #0: Tue Sep 28 00:10:28 CEST 2004 jylefort at jsite.lefort.net:/usr/obj/usr/src/sys/JSITE i386
>Description:
Note: the streamtuner plugins have been included in the core
distribution. Please remove audio/streamtuner-live365,
audio/streamtuner-local, audio/streamtuner-python,
audio/streamtuner-xiph and add the relevant entries in MOVED.
>How-To-Repeat:
>Fix:
diff -ruN /usr/ports/audio/streamtuner/Makefile streamtuner/Makefile
--- /usr/ports/audio/streamtuner/Makefile	Wed Aug 11 12:25:20 2004
+++ streamtuner/Makefile	Sat Oct 23 04:27:21 2004
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=		streamtuner
-PORTVERSION=		0.12.5
+PORTVERSION=		0.99
 CATEGORIES=		audio www
 MASTER_SITES=		${MASTER_SITE_SAVANNAH}
 MASTER_SITE_SUBDIR=	${PORTNAME}
@@ -25,4 +25,58 @@
 CONFIGURE_ENV=		CPPFLAGS="-I${LOCALBASE}/include" \
 			LDFLAGS="-L${LOCALBASE}/lib"
 
-.include <bsd.port.mk>
+OPTIONS=		SHOUTCAST "SHOUTcast plugin" on \
+			LIVE365 "Live365 plugin" on \
+			XIPH "Xiph plugin" on \
+			LOCAL "Local plugin" on \
+			LOCAL_METADATA "metadata support for the Local plugin" on \
+			PYTHON "Python plugin" on
+
+.include <bsd.port.pre.mk>
+
+.if defined(WITHOUT_SHOUTCAST)
+CONFIGURE_ARGS+=	--disable-shoutcast
+PLIST_SUB+=		SHOUTCAST="@comment "
+.else
+PLIST_SUB+=		SHOUTCAST=""
+.endif
+
+.if defined(WITHOUT_LIVE365)
+CONFIGURE_ARGS+=	--disable-live365
+PLIST_SUB+=		LIVE365="@comment "
+.else
+PLIST_SUB+=		LIVE365=""
+.endif
+
+.if defined(WITHOUT_XIPH)
+CONFIGURE_ARGS+=	--disable-xiph
+PLIST_SUB+=		XIPH="@comment "
+.else
+PLIST_SUB+=		XIPH=""
+USE_GNOME+=		libxml2
+.endif
+
+.if defined(WITHOUT_LOCAL)
+CONFIGURE_ARGS+=	--disable-local
+PLIST_SUB+=		LOCAL="@comment "
+.else
+PLIST_SUB+=		LOCAL=""
+.if defined(WITHOUT_LOCAL_METADATA)
+CONFIGURE_ARGS+=	--disable-local-metadata
+.else
+LIB_DEPENDS+=		tag_c:${PORTSDIR}/audio/taglib
+.endif
+.endif
+
+.if defined(WITHOUT_PYTHON)
+CONFIGURE_ARGS+=	--disable-python
+PLIST_SUB+=		PYTHON="@comment "
+.else
+PLIST_SUB+=		PYTHON=""
+USE_PYTHON=		2.2+
+# we need to manually include this, because USE_PYTHON is defined
+# after including bsd.port.pre.mk
+.include "${PORTSDIR}/Mk/bsd.python.mk"
+.endif
+
+.include <bsd.port.post.mk>
diff -ruN /usr/ports/audio/streamtuner/distinfo streamtuner/distinfo
--- /usr/ports/audio/streamtuner/distinfo	Wed Aug 11 12:25:20 2004
+++ streamtuner/distinfo	Sat Oct 23 04:21:46 2004
@@ -1,2 +1,2 @@
-MD5 (streamtuner-0.12.5.tar.gz) = 4782aa87bda0bbefbeb172ee2b3bfecf
-SIZE (streamtuner-0.12.5.tar.gz) = 676473
+MD5 (streamtuner-0.99.tar.gz) = 0cd9ad6de35860af5e0a78a0b017973d
+SIZE (streamtuner-0.99.tar.gz) = 782084
diff -ruN /usr/ports/audio/streamtuner/pkg-plist streamtuner/pkg-plist
--- /usr/ports/audio/streamtuner/pkg-plist	Tue Jul 27 12:24:36 2004
+++ streamtuner/pkg-plist	Sat Oct 23 04:31:34 2004
@@ -14,9 +14,14 @@
 include/streamtuner/st-state-api.h
 include/streamtuner/st-stream-api.h
 include/streamtuner/st-transfer-api.h
+include/streamtuner/st-util-api.h
 include/streamtuner/st-version-api.h
 include/streamtuner/streamtuner.h
-lib/streamtuner/plugins/shoutcast.so
+%%LIVE365%%lib/streamtuner/plugins/live365.so
+%%LOCAL%%lib/streamtuner/plugins/local.so
+%%PYTHON%%lib/streamtuner/plugins/python.so
+%%SHOUTCAST%%lib/streamtuner/plugins/shoutcast.so
+%%XIPH%%lib/streamtuner/plugins/xiph.so
 libdata/pkgconfig/streamtuner.pc
 share/gnome/applications/streamtuner.desktop
 share/gnome/doc/streamtuner/C/documentation-license.xml
@@ -26,6 +31,12 @@
 share/gnome/omf/streamtuner/streamtuner-C.omf
 @exec scrollkeeper-install -q %D/share/gnome/omf/streamtuner/streamtuner-C.omf 2>/dev/null || /usr/bin/true
 share/gnome/pixmaps/streamtuner.png
+%%PYTHON%%share/gnome/streamtuner/python/icons/basic.ch.png
+%%PYTHON%%share/gnome/streamtuner/python/icons/google-stations.png
+%%PYTHON%%share/gnome/streamtuner/python/icons/punkcast.com.png
+%%PYTHON%%share/gnome/streamtuner/python/scripts/basic.ch.py
+%%PYTHON%%share/gnome/streamtuner/python/scripts/google-stations.py
+%%PYTHON%%share/gnome/streamtuner/python/scripts/punkcast.com.py
 share/locale/de/LC_MESSAGES/streamtuner.mo
 share/locale/fr/LC_MESSAGES/streamtuner.mo
 share/locale/hu/LC_MESSAGES/streamtuner.mo
@@ -38,3 +49,7 @@
 @dirrm share/gnome/doc/streamtuner
 @dirrm share/gnome/omf/streamtuner
 @unexec scrollkeeper-uninstall -q %D/share/gnome/omf/streamtuner/streamtuner-C.omf 2>/dev/null || /usr/bin/true
+%%PYTHON%%@dirrm share/gnome/streamtuner/python/icons
+%%PYTHON%%@dirrm share/gnome/streamtuner/python/scripts
+%%PYTHON%%@dirrm share/gnome/streamtuner/python
+%%PYTHON%%@dirrm share/gnome/streamtuner
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list