Skip site navigation (1)Skip section navigation (2)
Date:      Wed,  4 Jun 2003 21:21:12 +0200 (CEST)
From:      Koop Mast <einekoai@chello.nl>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/52946: Add cdparanoia support to gstreamer-plugins
Message-ID:  <20030604192112.C22933D@prisma.quccc.org>
Resent-Message-ID: <200306041930.h54JUCRC030039@freefall.freebsd.org>

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

>Number:         52946
>Category:       ports
>Synopsis:       Add cdparanoia support to gstreamer-plugins
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jun 04 12:30:11 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Koop Mast
>Release:        FreeBSD 4.8-STABLE i386
>Organization:
>Environment:
System: FreeBSD prisma.quccc.org 4.8-STABLE FreeBSD 4.8-STABLE #0: Sat Apr 5 10:29:05 CEST 2003 root@:/usr/obj/usr/src/sys/rainbow i386


	
>Description:
	Add cdparanoia support to gstreamer-plugins
	
>How-To-Repeat:
	
>Fix:

	

--- gstreamer-plugins.diff begins here ---
diff -ruN gstreamer-plugins.orig/Makefile gstreamer-plugins/Makefile
--- gstreamer-plugins.orig/Makefile	Tue May 13 22:05:16 2003
+++ gstreamer-plugins/Makefile	Wed May 28 20:07:43 2003
@@ -138,6 +138,11 @@
 WITH_AVIFILE=yes
 .endif
 
+# cdparanoia
+.if exists(${LOCALBASE}/lib/libcdda_paranoia.a)
+WITH_CDPARANOIA=yes
+.endif
+
 # esound
 .if (${HAVE_GNOME:Mesound}!="")
 WITH_ESOUND=yes
@@ -304,6 +309,15 @@
 PLIST_SUB+=	AVIFILE=""
 .endif
 
+# cdparanoia
+.ifndef(WITH_CDPARANOIA)
+CONFIGURE_ARGS+=	--disble-cdparanoia
+PLIST_SUB+=	CDPARANOIA="@comment "
+.else
+LIB_DEPENDS+=	cdda_paranoia.0:${PORTSDIR}/audio/cdparanoia
+PLIST_SUB+=	CDPARANOIA=""
+.endif
+
 # esound
 .ifndef(WITH_ESOUND)
 CONFIGURE_ARGS+=	--disable-esd \
@@ -605,6 +619,10 @@
 	@${ECHO_MSG} '===>'
 	@${ECHO_MSG} '===> Define WITH_AVIFILE to enable avifile Video plugin'
 .endif
+.ifndef(WITH_CDPARANOIA)
+	@${ECHO_MSG} '===>'
+	@${ECHO_MSG} '===> Define WITH_CDPARANOIA to enable cdparanoia Audio plugin'
+.endif	
 .ifndef(WITH_ESOUND)
 	@${ECHO_MSG} '===>'
 	@${ECHO_MSG} '===> Define WITH_ESOUND to enable esound Audio plugin'
diff -ruN gstreamer-plugins.orig/pkg-plist gstreamer-plugins/pkg-plist
--- gstreamer-plugins.orig/pkg-plist	Tue Apr 22 22:01:35 2003
+++ gstreamer-plugins/pkg-plist	Wed May 28 19:57:23 2003
@@ -22,6 +22,7 @@
 lib/gstreamer-%%VERSION%%/libgstauparse.so
 lib/gstreamer-%%VERSION%%/libgstavidemux.so
 lib/gstreamer-%%VERSION%%/libgstavimux.so
+%%CDPARANOIA%%lib/gstreamer-%%VERSION%%/libgstcdparanoia.so
 lib/gstreamer-%%VERSION%%/libgstcdxaparse.so
 lib/gstreamer-%%VERSION%%/libgstchart.so
 %%HERMES%%lib/gstreamer-%%VERSION%%/libgstcolorspace.so
--- gstreamer-plugins.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?20030604192112.C22933D>