summaryrefslogtreecommitdiff
path: root/audio/mpg123-oss
diff options
context:
space:
mode:
authormartin <martin@pkgsrc.org>2010-03-14 14:19:19 +0000
committermartin <martin@pkgsrc.org>2010-03-14 14:19:19 +0000
commit3a808e01bd240a9737204e294267ec0485558d90 (patch)
treed842a983d056e53fbe4e950e7ec64aabd722e1d2 /audio/mpg123-oss
parentcfdead3e3f00a644e5e730aa492d48a09bcc6fd1 (diff)
downloadpkgsrc-3a808e01bd240a9737204e294267ec0485558d90.tar.gz
Update mpg123 to version 1.10.1.
Thanks to <wiz> for answering lots of stupid questions and general guidance.
Diffstat (limited to 'audio/mpg123-oss')
-rw-r--r--audio/mpg123-oss/DESCR1
-rw-r--r--audio/mpg123-oss/Makefile19
-rw-r--r--audio/mpg123-oss/PLIST2
3 files changed, 22 insertions, 0 deletions
diff --git a/audio/mpg123-oss/DESCR b/audio/mpg123-oss/DESCR
new file mode 100644
index 00000000000..15d1254ff6d
--- /dev/null
+++ b/audio/mpg123-oss/DESCR
@@ -0,0 +1 @@
+OSS output module for the mpg123 audio player.
diff --git a/audio/mpg123-oss/Makefile b/audio/mpg123-oss/Makefile
new file mode 100644
index 00000000000..01b62541832
--- /dev/null
+++ b/audio/mpg123-oss/Makefile
@@ -0,0 +1,19 @@
+# $NetBSD: Makefile,v 1.1 2010/03/14 14:19:19 martin Exp $
+#
+
+MPG123_MODULE= oss
+# this is builtin with ../mpg123 on all other architectures
+ONLY_FOR_PLATFORM+= NetBSD-*-* FreeBSD-*-* OpenBSD-*-* SunOS-*-*
+ONLY_FOR_PLATFORM+= DragonFly-*-*
+
+.include "${.CURDIR}/../../audio/mpg123/Makefile.common"
+
+LIBS+= -lossaudio
+CPPFLAGS+= -DDEVOSSAUDIO="\"${DEVOSSAUDIO}\""
+CPPFLAGS+= -DDEVOSSSOUND="\"${DEVOSSSOUND}\""
+
+.include "../../mk/oss.buildlink3.mk"
+
+.include "../../audio/mpg123/buildlink3.mk"
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/audio/mpg123-oss/PLIST b/audio/mpg123-oss/PLIST
new file mode 100644
index 00000000000..98c57978f6e
--- /dev/null
+++ b/audio/mpg123-oss/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1 2010/03/14 14:19:19 martin Exp $
+lib/mpg123/output_oss.la