ports/58216: Update port: audio/sdl_sound to 1.0.1
KATO Tsuguru
tkato at prontomail.com
Sat Oct 18 16:50:31 UTC 2003
>Number: 58216
>Category: ports
>Synopsis: Update port: audio/sdl_sound 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: Sat Oct 18 09:50:19 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator: KATO Tsuguru
>Release: FreeBSD 4.8-RELEASE-p13 i386
>Organization:
>Environment:
>Description:
- Update to version 1.0.1
New file:
files/patch-configure
No response from maintainer.
>How-To-Repeat:
>Fix:
diff -urN /usr/ports/audio/sdl_sound/Makefile audio/sdl_sound/Makefile
--- /usr/ports/audio/sdl_sound/Makefile Fri Apr 4 14:34:47 2003
+++ audio/sdl_sound/Makefile Mon Oct 13 08:04:19 2003
@@ -6,32 +6,22 @@
#
PORTNAME= sdl_sound
-PORTVERSION= 1.0.0
+PORTVERSION= 1.0.1
CATEGORIES= audio
MASTER_SITES= http://www.icculus.org/SDL_sound/downloads/
-DISTNAME= SDL_sound-1.0.0
+DISTNAME= SDL_sound-${PORTVERSION}
MAINTAINER= dyeske at yahoo.com
COMMENT= A SDL audio library and player for some popular sound file formats
-LIB_DEPENDS= SDL-1.1.5:${PORTSDIR}/devel/sdl12
-
-GNU_CONFIGURE= yes
-USE_LIBTOOL= yes
+USE_SDL= yes
USE_REINPLACE= yes
+USE_LIBTOOL= yes
+CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
+ LDFLAGS="-L${LOCALBASE}/lib"
INSTALLS_SHLIB= yes
-CONFIGURE_ENV= SDL_CONFIG="${SDL_CONFIG}" CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include"
-SDL_CONFIG= ${LOCALBASE}/bin/sdl11-config
-
-post-patch:
- @${REINPLACE_CMD} -E -e \
- 's|^program_transform_name.+$$||' \
- ${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT}
- @${REINPLACE_CMD} -E -e \
- 's|\$$\(includedir\)/SDL|\$$(includedir)/SDL11|' \
- ${CONFIGURE_WRKSRC}/Makefile.in
-
.include <bsd.port.pre.mk>
.if !defined(WITHOUT_FLAC)
@@ -46,12 +36,24 @@
CONFIGURE_ARGS+= --disable-mikmod
.endif
+.if !defined(WITHOUT_PHYSFS)
+LIB_DEPENDS+= physfs-0.1.9:${PORTSDIR}/devel/physfs
+.else
+CONFIGURE_ARGS+= --disable-physfs
+.endif
+
.if !defined(WITHOUT_SMPEG)
LIB_DEPENDS+= smpeg.1:${PORTSDIR}/multimedia/smpeg
.else
CONFIGURE_ARGS+= --disable-smpeg
.endif
+.if !defined(WITHOUT_SPEEX)
+LIB_DEPENDS+= speex.2:${PORTSDIR}/audio/speex
+.else
+CONFIGURE_ARGS+= --disable-speex
+.endif
+
.if !defined(WITHOUT_MIDI)
RUN_DEPENDS+= ${LOCALBASE}/lib/timidity/goemon.cfg:${PORTSDIR}/audio/timidity
BUILD_DEPENDS+= ${LOCALBASE}/lib/timidity/goemon.cfg:${PORTSDIR}/audio/timidity
@@ -72,14 +74,24 @@
.if !defined(WITHOUT_MIKMOD)
@${ECHO_MSG} "You can disable support for mikmod by defining WITHOUT_MIKMOD."
.endif
+.if !defined(WITHOUT_PHYSFS)
+ @${ECHO_MSG} "You can disable support for physfs by defining WITHOUT_PHYSFS."
+.endif
.if !defined(WITHOUT_SMPEG)
@${ECHO_MSG} "You can disable support for smpeg by defining WITHOUT_SMPEG."
.endif
+.if !defined(WITHOUT_SPEEX)
+ @${ECHO_MSG} "You can disable support for speex by defining WITHOUT_SPEEX."
+.endif
.if !defined(WITHOUT_MIDI)
@${ECHO_MSG} "You can disable support for midi by defining WITHOUT_MIDI."
.endif
.if !defined(WITHOUT_VORBIS)
@${ECHO_MSG} "You can disable support for vorbis by defining WITHOUT_VORBIS."
.endif
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|$$(includedir)/SDL|$$(includedir)/SDL11|' \
+ ${WRKSRC}/Makefile.in
.include <bsd.port.post.mk>
diff -urN /usr/ports/audio/sdl_sound/distinfo audio/sdl_sound/distinfo
--- /usr/ports/audio/sdl_sound/distinfo Thu Feb 20 12:50:02 2003
+++ audio/sdl_sound/distinfo Mon Oct 13 07:30:58 2003
@@ -1 +1 @@
-MD5 (SDL_sound-1.0.0.tar.gz) = 864a3b6e899d9a3aba45ce19ceba2ae2
+MD5 (SDL_sound-1.0.1.tar.gz) = 49e197ef7c8ab623d0640dc74be43160
diff -urN /usr/ports/audio/sdl_sound/files/patch-configure audio/sdl_sound/files/patch-configure
--- /usr/ports/audio/sdl_sound/files/patch-configure Thu Jan 1 09:00:00 1970
+++ audio/sdl_sound/files/patch-configure Mon Oct 13 07:44:54 2003
@@ -0,0 +1,10 @@
+--- configure.orig Mon Oct 13 03:54:57 2003
++++ configure Mon Oct 13 07:44:41 2003
+@@ -6684,6 +6684,7 @@
+
+ # This can be used to rebuild libtool when needed
+ LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
++$ac_aux_dir/ltconfig $LIBTOOL_DEPS
+
+ # Always use our own libtool.
+ LIBTOOL='$(SHELL) $(top_builddir)/libtool'
diff -urN /usr/ports/audio/sdl_sound/pkg-plist audio/sdl_sound/pkg-plist
--- /usr/ports/audio/sdl_sound/pkg-plist Thu Feb 20 12:50:02 2003
+++ audio/sdl_sound/pkg-plist Mon Oct 13 07:48:20 2003
@@ -1,6 +1,6 @@
bin/playsound
include/SDL11/SDL_sound.h
-lib/libSDL_sound-1.0.so.0
+lib/libSDL_sound-1.0.so.1
lib/libSDL_sound.a
lib/libSDL_sound.so
@unexec rmdir %D/include/SDL11 2>/dev/null || true
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list