summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjmmv <jmmv@pkgsrc.org>2003-07-26 23:06:11 +0000
committerjmmv <jmmv@pkgsrc.org>2003-07-26 23:06:11 +0000
commit887ecd02ae69787aa53ddc20aea6e46f8bb19f9e (patch)
tree4daa8aed8cf301a60d770e29a07c19276823c97a
parent8652d9835b9f4abbbb749c85fe088a31fb891853 (diff)
downloadpkgsrc-887ecd02ae69787aa53ddc20aea6e46f8bb19f9e.tar.gz
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).
-rw-r--r--audio/SDL-nas/DESCR2
-rw-r--r--audio/SDL-nas/MESSAGE13
-rw-r--r--audio/SDL-nas/Makefile25
-rw-r--r--audio/SDL-nas/PLIST5
4 files changed, 45 insertions, 0 deletions
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