diff options
author | Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> | 2003-02-20 03:50:02 +0000 |
---|---|---|
committer | Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> | 2003-02-20 03:50:02 +0000 |
commit | be6d48096ac2749d5b9d22ddb75b477f5e99e5b0 (patch) | |
tree | fcc5595fc5d12bd8b247861f34238fb902591c53 /audio/sdl_sound | |
parent | ad91537e0d6e2032a178061f91aca3616b343524 (diff) | |
download | ports-be6d48096ac2749d5b9d22ddb75b477f5e99e5b0.tar.gz ports-be6d48096ac2749d5b9d22ddb75b477f5e99e5b0.zip |
Notes
Diffstat (limited to 'audio/sdl_sound')
-rw-r--r-- | audio/sdl_sound/Makefile | 85 | ||||
-rw-r--r-- | audio/sdl_sound/distinfo | 1 | ||||
-rw-r--r-- | audio/sdl_sound/pkg-descr | 22 | ||||
-rw-r--r-- | audio/sdl_sound/pkg-plist | 6 |
4 files changed, 114 insertions, 0 deletions
diff --git a/audio/sdl_sound/Makefile b/audio/sdl_sound/Makefile new file mode 100644 index 000000000000..73a5f02ec60a --- /dev/null +++ b/audio/sdl_sound/Makefile @@ -0,0 +1,85 @@ +# New ports collection makefile for: sdl_sound +# Date created: 6 Feb 2003 +# Whom: David Yeske <dyeske@yahoo.com> +# +# $FreeBSD$ +# + +PORTNAME= sdl_sound +PORTVERSION= 1.0.0 +CATEGORIES= audio +MASTER_SITES= http://www.icculus.org/SDL_sound/downloads/ +DISTNAME= SDL_sound-1.0.0 + +MAINTAINER= dyeske@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_REINPLACE= yes +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) +LIB_DEPENDS+= FLAC.4:${PORTSDIR}/audio/flac +.else +CONFIGURE_ARGS+= --disable-flac +.endif + +.if !defined(WITHOUT_MIKMOD) +LIB_DEPENDS+= mikmod.2:${PORTSDIR}/audio/libmikmod +.else +CONFIGURE_ARGS+= --disable-mikmod +.endif + +.if !defined(WITHOUT_SMPEG) +LIB_DEPENDS+= smpeg.1:${PORTSDIR}/graphics/smpeg +.else +CONFIGURE_ARGS+= --disable-smpeg +.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 +.else +CONFIGURE_ARGS+= --disable-midi +.endif + +.if !defined(WITHOUT_VORBIS) +LIB_DEPENDS+= vorbis.2:${PORTSDIR}/audio/libvorbis +.else +CONFIGURE_ARGS+= --disable-ogg +.endif + +pre-extract: +.if !defined(WITHOUT_FLAC) + @${ECHO_MSG} "You can disable support for flac by defining WITHOUT_FLAC." +.endif +.if !defined(WITHOUT_MIKMOD) + @${ECHO_MSG} "You can disable support for mikmod by defining WITHOUT_MIKMOD." +.endif +.if !defined(WITHOUT_SMPEG) + @${ECHO_MSG} "You can disable support for smpeg by defining WITHOUT_SMPEG." +.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 + +.include <bsd.port.post.mk> diff --git a/audio/sdl_sound/distinfo b/audio/sdl_sound/distinfo new file mode 100644 index 000000000000..919789766b31 --- /dev/null +++ b/audio/sdl_sound/distinfo @@ -0,0 +1 @@ +MD5 (SDL_sound-1.0.0.tar.gz) = 864a3b6e899d9a3aba45ce19ceba2ae2 diff --git a/audio/sdl_sound/pkg-descr b/audio/sdl_sound/pkg-descr new file mode 100644 index 000000000000..dd65fdcc5331 --- /dev/null +++ b/audio/sdl_sound/pkg-descr @@ -0,0 +1,22 @@ +SDL_sound is a library that handles the decoding of several popular +sound file formats, such as raw, wav, mp3, flac, ogg, voc, shn, +aiff, au, and some others. + +It is meant to make the programmer's sound playback tasks simpler. +The programmer gives SDL_sound a filename, or feeds it data directly +from one of many sources, and then reads the decoded waveform data +back at her leisure. + +If resource constraints are a concern, SDL_sound can process sound +data in programmer-specified blocks. Alternately, SDL_sound can +decode a whole sound file and hand back a single pointer to the +whole waveform. + +SDL_sound can also handle sample rate, audio format, and channel +conversion on-the-fly and behind-the-scenes, if the programmer +desires. + +WWW: http://www.icculus.org/SDL_sound/ + +- David +dyeske@yahoo.com diff --git a/audio/sdl_sound/pkg-plist b/audio/sdl_sound/pkg-plist new file mode 100644 index 000000000000..04aea5dea00f --- /dev/null +++ b/audio/sdl_sound/pkg-plist @@ -0,0 +1,6 @@ +bin/playsound +include/SDL11/SDL_sound.h +lib/libSDL_sound-1.0.so.0 +lib/libSDL_sound.a +lib/libSDL_sound.so +@unexec rmdir %D/include/SDL11 2>/dev/null || true |