From 8d9b2950874f57231c4551556caca7a6e9bbb521 Mon Sep 17 00:00:00 2001 From: jmmv Date: Sat, 26 Jul 2003 23:06:11 +0000 Subject: Initial import of SDL-nas, version 1.2.5: SDL-nas is a plugin for the SDL library that allows it to output sound using the Network Audio System (NAS). --- audio/SDL-nas/DESCR | 2 ++ audio/SDL-nas/MESSAGE | 13 +++++++++++++ audio/SDL-nas/Makefile | 25 +++++++++++++++++++++++++ audio/SDL-nas/PLIST | 5 +++++ 4 files changed, 45 insertions(+) create mode 100644 audio/SDL-nas/DESCR create mode 100644 audio/SDL-nas/MESSAGE create mode 100644 audio/SDL-nas/Makefile create mode 100644 audio/SDL-nas/PLIST (limited to 'audio') diff --git a/audio/SDL-nas/DESCR b/audio/SDL-nas/DESCR new file mode 100644 index 00000000000..a2423fbacb4 --- /dev/null +++ b/audio/SDL-nas/DESCR @@ -0,0 +1,2 @@ +SDL-nas is a plugin for the SDL library that allows it to output sound +using the Network Audio System (NAS). diff --git a/audio/SDL-nas/MESSAGE b/audio/SDL-nas/MESSAGE new file mode 100644 index 00000000000..85baded7759 --- /dev/null +++ b/audio/SDL-nas/MESSAGE @@ -0,0 +1,13 @@ +=========================================================================== +$NetBSD: MESSAGE,v 1.1.1.1 2003/07/26 23:06:11 jmmv Exp $ + +In order to make sure that SDL uses the NAS system to output sound, you +must set the environmental variable SDL_AUDIO_PLUGIN to `nas'. This can +be done with the following command: + + export SDL_AUDIO_PLUGIN="nas" + +WARNING: Loadable audio plugins are a pkgsrc extension and will not work if +you use an SDL library coming from anywhere else. + +=========================================================================== diff --git a/audio/SDL-nas/Makefile b/audio/SDL-nas/Makefile new file mode 100644 index 00000000000..8e972957692 --- /dev/null +++ b/audio/SDL-nas/Makefile @@ -0,0 +1,25 @@ +# $NetBSD: Makefile,v 1.1.1.1 2003/07/26 23:06:11 jmmv Exp $ +# + +.include "../../devel/SDL/Makefile.common" + +PKGNAME= ${DISTNAME:S/SDL/SDL-nas/} +CATEGORIES+= audio + +COMMENT= SDL plugin to output sound through the Network Audio System + +CONFIGURE_ARGS+= --enable-nas + +SHLIBTOOL_OVERRIDE= ${WRKSRC}/libtool + +BUILD_DIRS= ${WRKSRC}/src/audio/nas + +do-install: + cd ${WRKSRC}/src/audio/nas && ${SHLIBTOOL} --mode=install \ + ${INSTALL} libaudio_nas.la ${PREFIX}/lib + +BUILDLINK_DEPENDS.SDL= SDL>=1.2.5nb6 + +.include "../../audio/nas/buildlink2.mk" +.include "../../devel/SDL/buildlink2.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/audio/SDL-nas/PLIST b/audio/SDL-nas/PLIST new file mode 100644 index 00000000000..d29594130ce --- /dev/null +++ b/audio/SDL-nas/PLIST @@ -0,0 +1,5 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2003/07/26 23:06:11 jmmv Exp $ +lib/libaudio_nas.la +lib/libaudio_nas.so +lib/libaudio_nas.so.0 +lib/libaudio_nas.so.0.5 -- cgit v1.2.3