ports/180692: audio/darkice: Update to version 1.2

KATO Tsuguru tkato432 at yahoo.com
Sat Jul 20 18:10:03 UTC 2013


>Number:         180692
>Category:       ports
>Synopsis:       audio/darkice: Update to version 1.2
>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:   Sat Jul 20 18:10:03 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 8.4-RELEASE-p1 i386
>Organization:
>Environment:
>Description:
- Update to version 1.2

New file:
files/patch-configure.in

Remove file:
files/patch-Makefile.in
files/patch-man-Makefile.in

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/audio/darkice/Makefile audio/darkice/Makefile
--- /usr/ports/audio/darkice/Makefile	2013-07-17 01:39:37.000000000 +0900
+++ audio/darkice/Makefile	2013-07-21 00:00:00.000000000 +0900
@@ -2,8 +2,8 @@
 # $FreeBSD: head/audio/darkice/Makefile 323110 2013-07-16 14:56:10Z miwi $
 
 PORTNAME=	darkice
-PORTVERSION=	1.1
-PORTREVISION?=	2
+PORTVERSION=	1.2
+PORTREVISION?=	0
 CATEGORIES=	audio net
 MASTER_SITES=	GOOGLE_CODE
 
@@ -12,19 +12,18 @@
 
 LICENSE=	GPLv3
 
-OPTIONS_DEFINE=	JACK
+OPTIONS_DEFINE=	JACK PULSEAUDIO
 OPTIONS_MULTI=	CODEC
-OPTIONS_MULTI_CODEC=	VORBIS LAME TWOLAME FAAC AACPLUS
+OPTIONS_MULTI_CODEC=	VORBIS OPUS LAME TWOLAME FAAC AACPLUS
 OPTIONS_DEFAULT=	VORBIS
 
+OPUS_DESC=	Ogg Opus audio codec support
 AACPLUS_DESC=	AAC HEv2 and libsamplerate support
 
-USE_AUTOTOOLS=	aclocal autoconf
-AUTOMAKE_ARGS=	--add-missing
-GNU_CONFIGURE=	yes
+USE_AUTOTOOLS=	aclocal automake autoconf
+ACLOCAL_ARGS=	# none
+AUTOMAKE_ARGS=	--add-missing --copy --foreign
 CONFIGURE_ENV=	ac_cv_prog_acx_pthread_config=no
-CPPFLAGS+=	${PTHREAD_CFLAGS}
-LDFLAGS+=	${PTHREAD_LIBS}
 CONFIGURE_ARGS=	--without-alsa
 
 SUB_FILES=	pkg-message
@@ -35,6 +34,20 @@
 
 .include <bsd.port.options.mk>
 
+.if ${PORT_OPTIONS:MJACK}
+LIB_DEPENDS+=	jack:${PORTSDIR}/audio/jack
+CONFIGURE_ARGS+=	--with-jack-prefix=${LOCALBASE}
+.else
+CONFIGURE_ARGS+=	--without-jack
+.endif
+
+.if ${PORT_OPTIONS:MPULSEAUDIO}
+LIB_DEPENDS+=	pulse-simple:${PORTSDIR}/audio/pulseaudio
+CONFIGURE_ARGS+=	--with-pulseaudio-prefix=${LOCALBASE}
+.else
+CONFIGURE_ARGS+=	--without-pulseaudio
+.endif
+
 .if ${PORT_OPTIONS:MVORBIS}
 LIB_DEPENDS+=	vorbis:${PORTSDIR}/audio/libvorbis
 CONFIGURE_ARGS+=	--with-vorbis-prefix=${LOCALBASE}
@@ -42,6 +55,13 @@
 CONFIGURE_ARGS+=	--without-vorbis
 .endif
 
+.if ${PORT_OPTIONS:MOPUS}
+LIB_DEPENDS+=	opus:${PORTSDIR}/audio/opus
+CONFIGURE_ARGS+=	--with-opus-prefix=${LOCALBASE}
+.else
+CONFIGURE_ARGS+=	--without-opus
+.endif
+
 .if ${PORT_OPTIONS:MLAME}
 LIB_DEPENDS+=	mp3lame:${PORTSDIR}/audio/lame
 CONFIGURE_ARGS+=	--with-lame-prefix=${LOCALBASE}
@@ -63,13 +83,6 @@
 CONFIGURE_ARGS+=	--without-faac
 .endif
 
-.if ${PORT_OPTIONS:MJACK}
-LIB_DEPENDS+=	jack:${PORTSDIR}/audio/jack
-CONFIGURE_ARGS+=	--with-jack-prefix=${LOCALBASE}
-.else
-CONFIGURE_ARGS+=	--without-jack
-.endif
-
 .if ${PORT_OPTIONS:MAACPLUS}
 LIB_DEPENDS+=	aacplus:${PORTSDIR}/audio/libaacplus \
 		samplerate:${PORTSDIR}/audio/libsamplerate
@@ -80,9 +93,7 @@
 .endif
 
 post-patch:
-	@${REINPLACE_CMD} -e '/test/s|==|=|g'\
-	 -e 's/sbr_main.h/libaacplus\/sbr_main.h/' ${WRKSRC}/configure
-	@${REINPLACE_CMD} -e 's|-O2 -pedantic||g' ${WRKSRC}/src/Makefile.in
+	@${REINPLACE_CMD} -e 's|-O2 -pedantic||g' ${WRKSRC}/src/Makefile.am
 
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/src/${PORTNAME} ${PREFIX}/bin
diff -urN /usr/ports/audio/darkice/distinfo audio/darkice/distinfo
--- /usr/ports/audio/darkice/distinfo	2013-06-21 04:01:01.000000000 +0900
+++ audio/darkice/distinfo	2013-07-21 00:00:00.000000000 +0900
@@ -1,2 +1,2 @@
-SHA256 (darkice-1.1.tar.gz) = 170342cb4dbb0b44a62e37d0db1515fa7799c410fc4995bf8f32aaa6614f5f79
-SIZE (darkice-1.1.tar.gz) = 344568
+SHA256 (darkice-1.2.tar.gz) = b3fba9be2d9c72f36b0659cd9ce0652c8f973b5c6498407f093da9a364fdb254
+SIZE (darkice-1.2.tar.gz) = 357026
diff -urN /usr/ports/audio/darkice/files/patch-Makefile.in audio/darkice/files/patch-Makefile.in
--- /usr/ports/audio/darkice/files/patch-Makefile.in	2013-07-17 14:03:13.000000000 +0900
+++ audio/darkice/files/patch-Makefile.in	1970-01-01 09:00:00.000000000 +0900
@@ -1,17 +0,0 @@
---- Makefile.in.orig	2011-10-31 13:06:11.000000000 +0000
-+++ Makefile.in	2013-07-03 19:20:38.000000000 +0000
-@@ -266,4 +266,4 @@
- 	    *$$dep*) \
--	      echo ' cd $(srcdir) && $(AUTOMAKE) --gnu'; \
--	      $(am__cd) $(srcdir) && $(AUTOMAKE) --gnu \
-+	      echo ' cd $(srcdir) && $(AUTOMAKE) --add-missing --gnu'; \
-+	      $(am__cd) $(srcdir) && $(AUTOMAKE) --add-missing --gnu \
- 		&& exit 0; \
-@@ -272,5 +272,5 @@
- 	done; \
--	echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \
-+	echo ' cd $(top_srcdir) && $(AUTOMAKE) --add-missing --gnu Makefile'; \
- 	$(am__cd) $(top_srcdir) && \
--	  $(AUTOMAKE) --gnu Makefile
-+	  $(AUTOMAKE) --add-missing --gnu Makefile
- .PRECIOUS: Makefile
diff -urN /usr/ports/audio/darkice/files/patch-configure.in audio/darkice/files/patch-configure.in
--- /usr/ports/audio/darkice/files/patch-configure.in	1970-01-01 09:00:00.000000000 +0900
+++ audio/darkice/files/patch-configure.in	2013-07-21 00:00:00.000000000 +0900
@@ -0,0 +1,15 @@
+--- configure.in.orig
++++ configure.in
+@@ -260,10 +260,11 @@
+ dnl-----------------------------------------------------------------------------
+ if test "x${LAME_LDFLAGS}" = "x" \
+      -a "x${VORBIS_LDFLAGS}" = "x" \
++     -a "x${OPUS_LDFLAGS}" = "x" \
+      -a "x${FAAC_LDFLAGS}" = "x" \
+      -a "x${AACPLUS_LDFLAGS}" = "x" \
+      -a "x${TWOLAME_LDFLAGS}" = "x"; then
+-    AC_MSG_ERROR([neither lame, Ogg Vorbis, faac, aac+ nor twolame configured])
++    AC_MSG_ERROR([neither lame, Ogg Vorbis, Ogg Opus, faac, aac+ nor twolame configured])
+ fi
+ 
+ 
diff -urN /usr/ports/audio/darkice/files/patch-man-Makefile.in audio/darkice/files/patch-man-Makefile.in
--- /usr/ports/audio/darkice/files/patch-man-Makefile.in	2013-07-17 14:03:13.000000000 +0900
+++ audio/darkice/files/patch-man-Makefile.in	1970-01-01 09:00:00.000000000 +0900
@@ -1,10 +0,0 @@
---- man/Makefile.in.orig	2011-10-31 13:06:11.000000000 +0000
-+++ man/Makefile.in	2013-07-03 19:17:05.000000000 +0000
-@@ -212,5 +212,5 @@
- 	done; \
--	echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu man/Makefile'; \
-+	echo ' cd $(top_srcdir) && $(AUTOMAKE) --add-missing --gnu man/Makefile'; \
- 	$(am__cd) $(top_srcdir) && \
--	  $(AUTOMAKE) --gnu man/Makefile
-+	  $(AUTOMAKE) --add-missing --gnu man/Makefile
- .PRECIOUS: Makefile
>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-ports-bugs mailing list