ports/176969: [audio/sdl_sound] fix depend
Green Dog
fiziologus at gmail.com
Thu Mar 14 21:00:00 UTC 2013
>Number: 176969
>Category: ports
>Synopsis: [audio/sdl_sound] fix depend
>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: Thu Mar 14 21:00:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator: Green Dog
>Release:
>Organization:
>Environment:
>Description:
[audio/sdl_sound]
remove timidity as dependensy (SDL_Sound used internal timidity)
add audio/eawpats as RUN_DEPEND for MIDI options
add CONFIGURE_ARGS for enable-prog options (default all on): less trouble in future.
>How-To-Repeat:
>Fix:
Patch attached with submission follows:
diff -ruN sdl_sound.orig/Makefile sdl_sound/Makefile
--- sdl_sound.orig/Makefile 2013-03-12 20:43:08.000000000 +0400
+++ sdl_sound/Makefile 2013-03-15 00:51:22.000000000 +0400
@@ -3,7 +3,7 @@
PORTNAME= sdl_sound
PORTVERSION= 1.0.3
-PORTREVISION= 7
+PORTREVISION= 8
CATEGORIES= audio
MASTER_SITES= http://offload1.icculus.org:9090/SDL_sound/downloads/ \
http://offload2.icculus.org:9090/SDL_sound/downloads/
@@ -29,50 +29,57 @@
.if ${PORT_OPTIONS:MFLAC}
LIB_DEPENDS+= FLAC:${PORTSDIR}/audio/flac
+CONFIGURE_ARGS+=--enable-flac
.else
CONFIGURE_ARGS+=--disable-flac
.endif
.if ${PORT_OPTIONS:MMIKMOD}
LIB_DEPENDS+= mikmod:${PORTSDIR}/audio/libmikmod
+CONFIGURE_ARGS+=--enable-mikmod
.else
CONFIGURE_ARGS+=--disable-mikmod
.endif
.if ${PORT_OPTIONS:MMODPLUG}
LIB_DEPENDS+= modplug:${PORTSDIR}/audio/libmodplug
+CONFIGURE_ARGS+=--enable-modplug
.else
CONFIGURE_ARGS+=--disable-modplug
.endif
.if ${PORT_OPTIONS:MPHYSFS}
LIB_DEPENDS+= physfs:${PORTSDIR}/devel/physfs
+CONFIGURE_ARGS+=--enable-physfs
.else
CONFIGURE_ARGS+=--disable-physfs
.endif
.if ${PORT_OPTIONS:MSMPEG}
LIB_DEPENDS+= smpeg:${PORTSDIR}/multimedia/smpeg
-CONFIGURE_ARGS+=--disable-mpglib
+CONFIGURE_ARGS+=--disable-mpglib --enable-smpeg
.else
CONFIGURE_ARGS+=--disable-smpeg
.endif
.if ${PORT_OPTIONS:MSPEEX}
LIB_DEPENDS+= speex:${PORTSDIR}/audio/speex
+CONFIGURE_ARGS+=--enable-speex
.else
CONFIGURE_ARGS+=--disable-speex
.endif
.if ${PORT_OPTIONS:MMIDI}
-RUN_DEPENDS+= ${LOCALBASE}/lib/timidity/goemon.cfg:${PORTSDIR}/audio/timidity
-BUILD_DEPENDS+= ${LOCALBASE}/lib/timidity/goemon.cfg:${PORTSDIR}/audio/timidity
+# Internal Timidity can use guspats and eawpats patches, not eawplus
+RUN_DEPENDS+= ${LOCALBASE}/share/eawpats/acbass.pat:${PORTSDIR}/audio/eawpats
+CONFIGURE_ARGS+=--enable-midi
.else
CONFIGURE_ARGS+=--disable-midi
.endif
.if ${PORT_OPTIONS:MVORBIS}
LIB_DEPENDS+= vorbis:${PORTSDIR}/audio/libvorbis
+CONFIGURE_ARGS+=--enable-ogg
.else
CONFIGURE_ARGS+=--disable-ogg
.endif
diff -ruN sdl_sound.orig/files/patch-decoders-timidity-options.h sdl_sound/files/patch-decoders-timidity-options.h
--- sdl_sound.orig/files/patch-decoders-timidity-options.h 2012-12-28 15:57:33.000000000 +0400
+++ sdl_sound/files/patch-decoders-timidity-options.h 2013-03-15 00:30:45.000000000 +0400
@@ -5,7 +5,7 @@
/* The TiMidity configuration file */
-#define CONFIG_FILE "timidity.cfg"
-+#define CONFIG_FILE "%%PREFIX%%/share/timidity/timidity.cfg"
++#define CONFIG_FILE "%%PREFIX%%/share/timidity/timidity.cfg-eawpats"
/* These affect general volume */
#define GUARD_BITS 3
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list