Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Jun 2003 23:09:46 +0900
From:      KATO Tsuguru <tkato@prontomail.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/53098: Update port: audio/speex to 1.0.1
Message-ID:  <20030609230946.180402e1.tkato@prontomail.com>
Resent-Message-ID: <200306091420.h59EKEhA070472@freefall.freebsd.org>

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

>Number:         53098
>Category:       ports
>Synopsis:       Update port: audio/speex to 1.0.1
>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 Jun 09 07:20:14 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 4.8-RELEASE i386
>Organization:
>Environment:
>Description:
- Update to version 1.0.1

No response from maintainer.

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/audio/speex/Makefile audio/speex/Makefile
--- /usr/ports/audio/speex/Makefile	Sat Apr 12 22:36:21 2003
+++ audio/speex/Makefile	Thu Jun  5 22:09:51 2003
@@ -7,7 +7,7 @@
 #
 
 PORTNAME=	speex
-PORTVERSION=	1.0
+PORTVERSION=	1.0.1
 PORTEPOCH=	1
 CATEGORIES=	audio
 MASTER_SITES=	http://www.speex.org/download/
@@ -18,6 +18,7 @@
 
 LIB_DEPENDS=	ogg.4:${PORTSDIR}/audio/libogg
 
+USE_GETOPT_LONG=	yes
 USE_REINPLACE=	yes
 USE_LIBTOOL=	yes
 LIBTOOLFLAGS=	--disable-ltlibs --release-ignore
@@ -30,16 +31,13 @@
 CPPFLAGS=	-I${LOCALBASE}/include
 LDFLAGS=	-L${LOCALBASE}/lib
 
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} < 500041
-LIB_DEPENDS+=	gnugetopt.1:${PORTSDIR}/devel/libgnugetopt
-LDFLAGS+=	-lgnugetopt
-.endif
-
 post-patch:
 	@${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \
 		's|doc win32|win32|g ; \
 		 s|^mandir =.*$$|mandir = @mandir@|g' 
+	@${REINPLACE_CMD} -e 's| in -lgnugetopt||g ; \
+		 s|LIBS="-lgnugetopt|LIBS="|g' ${WRKSRC}/configure
+	@${REINPLACE_CMD} -e \
+		's|AFMT_S16_NE|AFMT_S16_LE|g' ${WRKSRC}/src/speexdec.c
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff -urN /usr/ports/audio/speex/distinfo audio/speex/distinfo
--- /usr/ports/audio/speex/distinfo	Sat Apr 12 22:36:21 2003
+++ audio/speex/distinfo	Thu Jun  5 22:08:37 2003
@@ -1 +1 @@
-MD5 (speex-1.0.tar.gz) = d4ea30440a57ce5a57e915c46a5b7163
+MD5 (speex-1.0.1.tar.gz) = 20515626d2c755ca9216701b60c97120
diff -urN /usr/ports/audio/speex/pkg-plist audio/speex/pkg-plist
--- /usr/ports/audio/speex/pkg-plist	Sat Apr 12 22:36:21 2003
+++ audio/speex/pkg-plist	Thu Jun  5 21:00:56 2003
@@ -8,4 +8,4 @@
 include/speex_stereo.h
 lib/libspeex.a
 lib/libspeex.so
-lib/libspeex.so.1
+lib/libspeex.so.2
>Release-Note:
>Audit-Trail:
>Unformatted:



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