summaryrefslogtreecommitdiff
path: root/audio/SDL_sound
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2003-03-26 22:48:26 +0000
committerwiz <wiz@pkgsrc.org>2003-03-26 22:48:26 +0000
commit1db9caa6fe02a8f4eb58cee0ddb808e9ebbf66e4 (patch)
tree30ae1447cc11e180066e202b467203fdabf41e4f /audio/SDL_sound
parenteb8b1b42241b9a38929aa6c06ca187bfee42af4b (diff)
downloadpkgsrc-1db9caa6fe02a8f4eb58cee0ddb808e9ebbf66e4.tar.gz
Initial import of SDL_sound, provided by Quentin Garnier in PR 20565.
From the DESCR: SDL_sound is a library that handles the decoding of several popular sound file formats, such as .WAV and .MP3. 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.
Diffstat (limited to 'audio/SDL_sound')
-rw-r--r--audio/SDL_sound/DESCR11
-rw-r--r--audio/SDL_sound/Makefile23
-rw-r--r--audio/SDL_sound/PLIST9
-rw-r--r--audio/SDL_sound/buildlink2.mk25
-rw-r--r--audio/SDL_sound/distinfo4
5 files changed, 72 insertions, 0 deletions
diff --git a/audio/SDL_sound/DESCR b/audio/SDL_sound/DESCR
new file mode 100644
index 00000000000..b9bd948a878
--- /dev/null
+++ b/audio/SDL_sound/DESCR
@@ -0,0 +1,11 @@
+SDL_sound is a library that handles the decoding of several popular
+sound file formats, such as .WAV and .MP3. 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.
diff --git a/audio/SDL_sound/Makefile b/audio/SDL_sound/Makefile
new file mode 100644
index 00000000000..dbb68f5b080
--- /dev/null
+++ b/audio/SDL_sound/Makefile
@@ -0,0 +1,23 @@
+# $NetBSD: Makefile,v 1.1.1.1 2003/03/26 22:48:26 wiz Exp $
+#
+
+DISTNAME= SDL_sound-1.0.0
+CATEGORIES= audio
+MASTER_SITES= http://icculus.org/SDL_sound/downloads/
+
+MAINTAINER= cube@cubidou.net
+HOMEPAGE= http://icculus.org/SDL_sound/
+COMMENT= SDL library to handle the decoding of different file formats
+
+GNU_CONFIGURE= YES
+USE_X11= YES
+USE_LIBTOOL= YES
+LIBTOOL_OVERRIDE= ${WRKSRC}/libtool
+
+USE_BUILDLINK2= YES
+
+.include "../../audio/libmikmod/buildlink2.mk"
+.include "../../audio/libvorbis/buildlink2.mk"
+.include "../../devel/SDL/buildlink2.mk"
+.include "../../devel/smpeg/buildlink2.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/audio/SDL_sound/PLIST b/audio/SDL_sound/PLIST
new file mode 100644
index 00000000000..6f1a95c7315
--- /dev/null
+++ b/audio/SDL_sound/PLIST
@@ -0,0 +1,9 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2003/03/26 22:48:26 wiz Exp $
+bin/playsound
+include/SDL/SDL_sound.h
+lib/libSDL_sound-1.0.so
+lib/libSDL_sound-1.0.so.0
+lib/libSDL_sound-1.0.so.0.0
+lib/libSDL_sound.a
+lib/libSDL_sound.la
+lib/libSDL_sound.so
diff --git a/audio/SDL_sound/buildlink2.mk b/audio/SDL_sound/buildlink2.mk
new file mode 100644
index 00000000000..0f4391f8268
--- /dev/null
+++ b/audio/SDL_sound/buildlink2.mk
@@ -0,0 +1,25 @@
+# $NetBSD: buildlink2.mk,v 1.1.1.1 2003/03/26 22:48:26 wiz Exp $
+
+.if !defined(SDL_SOUND_BUILDLINK2_MK)
+SDL_SOUND_BUILDLINK2_MK= # defined
+
+BUILDLINK_PACKAGES+= SDL_sound
+BUILDLINK_DEPENDS.SDL_sound?= SDL_sound>=1.0.0
+BUILDLINK_PKGSRCDIR.SDL_sound?= ../../audio/SDL_sound
+
+EVAL_PREFIX+= BUILDLINK_PREFIX.SDL_sound=SDL_sound
+BUILDLINK_PREFIX.SDL_sound_DEFAULT= ${LOCALBASE}
+BUILDLINK_FILES.SDL_sound= include/SDL/SDL_sound.h
+BUILDLINK_FILES.SDL_sound+= lib/libSDL_sound-*
+BUILDLINK_FILES.SDL_sound+= lib/libSDL_sound.*
+
+.include "../../audio/libmikmod/buildlink2.mk"
+.include "../../audio/libvorbis/buildlink2.mk"
+.include "../../devel/SDL/buildlink2.mk"
+.include "../../devel/smpeg/buildlink2.mk"
+
+BUILDLINK_TARGETS+= SDL_sound-buildlink
+
+SDL_sound-buildlink: _BUILDLINK_USE
+
+.endif # SDL_SOUND_BUILDLINK2_MK
diff --git a/audio/SDL_sound/distinfo b/audio/SDL_sound/distinfo
new file mode 100644
index 00000000000..1aee55cddf7
--- /dev/null
+++ b/audio/SDL_sound/distinfo
@@ -0,0 +1,4 @@
+$NetBSD: distinfo,v 1.1.1.1 2003/03/26 22:48:26 wiz Exp $
+
+SHA1 (SDL_sound-1.0.0.tar.gz) = ec0651919b1d5337dc69a70f181e2827be24dde7
+Size (SDL_sound-1.0.0.tar.gz) = 952534 bytes