summaryrefslogtreecommitdiff
path: root/audio/mpg123-esound
diff options
context:
space:
mode:
authorkent <kent>2002-06-22 17:56:37 +0000
committerkent <kent>2002-06-22 17:56:37 +0000
commit0ea920b86b5eb188c54161e7dc30ad41e8242910 (patch)
treec7c64c16d66d64adc12c8b4e381f8d43c2cc60b1 /audio/mpg123-esound
parentba35e8808dbd99eaf4dd3b478e7b7c09d268f90b (diff)
downloadpkgsrc-0ea920b86b5eb188c54161e7dc30ad41e8242910.tar.gz
Add mpg123 with EsounD. All modifications required for EsounD are merged to
mpg123/patches/*. This closes PR pkg/12059.
Diffstat (limited to 'audio/mpg123-esound')
-rw-r--r--audio/mpg123-esound/DESCR4
-rw-r--r--audio/mpg123-esound/Makefile66
-rw-r--r--audio/mpg123-esound/PLIST2
-rw-r--r--audio/mpg123-esound/distinfo21
4 files changed, 93 insertions, 0 deletions
diff --git a/audio/mpg123-esound/DESCR b/audio/mpg123-esound/DESCR
new file mode 100644
index 00000000000..23e1d559a36
--- /dev/null
+++ b/audio/mpg123-esound/DESCR
@@ -0,0 +1,4 @@
+mpg123-esound reads one or more files (or standard input if
+``-'' is specified) or URLs and plays them on the EsounD
+(default) or outputs them to stdout. file/URL is assumed to be
+an MPEG-1/2 audio bit stream.
diff --git a/audio/mpg123-esound/Makefile b/audio/mpg123-esound/Makefile
new file mode 100644
index 00000000000..3c228157676
--- /dev/null
+++ b/audio/mpg123-esound/Makefile
@@ -0,0 +1,66 @@
+# $NetBSD: Makefile,v 1.1 2002/06/22 17:56:38 kent Exp $
+
+DISTNAME= mpg123-0.59r
+PKGNAME= mpg123-esound-0.59.18
+CATEGORIES= audio
+MASTER_SITES= http://www.mpg123.de/mpg123/ \
+ http://www-ti.informatik.uni-tuebingen.de/~hippm/mpg123/
+
+PATCH_SITES= ftp://ftp.kame.net/pub/kame/misc/
+PATCHFILES= mpg123-059r-v6-20000713b.diff.gz
+
+MAINTAINER= packages@netbsd.org
+HOMEPAGE= http://www.mpg123.de/
+COMMENT= Command-line player for mpeg layer 1, 2 and 3 audio with EsounD
+
+BUILD_DEFS+= USE_INET6
+DIST_SUBDIR= mpg123
+
+PATCHDIR= ../mpg123/patches
+FILESDIR= ../mpg123/files
+
+USE_BUILDLINK_ONLY= # defined
+
+# for OBJECT_FMT
+.include "../../mk/bsd.prefs.mk"
+
+.if (${MACHINE_ARCH} == "i386")
+.if (${OBJECT_FMT} == "ELF")
+ALL_TARGET= netbsd-i386-elf-esd
+.else
+ALL_TARGET= netbsd-i386-esd
+.endif
+.elif (${MACHINE_ARCH} == "arm" || ${MACHINE_ARCH} == "arm32")
+ALL_TARGET= netbsd-arm-esd
+.elif (${MACHINE_ARCH} == "m68k")
+ALL_TARGET= netbsd-m68k-esd
+.else
+ALL_TARGET= ${LOWER_OPSYS}-esd
+.endif
+
+.if ${OPSYS} == "SunOS"
+ALL_TARGET= solaris-gcc-esd
+.endif
+
+.if defined(USE_INET6) && ${USE_INET6} == "YES"
+CPPFLAGS+= -DINET6
+.endif
+
+MAKE_FLAGS+= PREFIX="${PREFIX}"
+
+pre-patch:
+ ${LN} -s . ${WRKSRC}/mpg123
+
+post-patch:
+ ${RM} -f ${WRKSRC}/mpg123
+ ${CP} ${FILESDIR}/decode_i586_.s ${WRKSRC}/
+ cd ${WRKSRC} ; ${MV} decode_i586.s decode_i586.s.orig ;\
+ ${SED} \
+ -e 's@^/@#/@g' \
+ <decode_i586.s.orig >decode_i586.s
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/mpg123 ${PREFIX}/bin/mpg123-esound
+
+.include "../esound/buildlink.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/audio/mpg123-esound/PLIST b/audio/mpg123-esound/PLIST
new file mode 100644
index 00000000000..cedc6c80cf7
--- /dev/null
+++ b/audio/mpg123-esound/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1 2002/06/22 17:56:38 kent Exp $
+bin/mpg123-esound
diff --git a/audio/mpg123-esound/distinfo b/audio/mpg123-esound/distinfo
new file mode 100644
index 00000000000..babdf0beb55
--- /dev/null
+++ b/audio/mpg123-esound/distinfo
@@ -0,0 +1,21 @@
+$NetBSD: distinfo,v 1.1 2002/06/22 17:56:38 kent Exp $
+
+SHA1 (mpg123/mpg123-0.59r.tar.gz) = c32fe242f4506d218bd19a51a4034da9fdc79493
+Size (mpg123/mpg123-0.59r.tar.gz) = 159028 bytes
+SHA1 (mpg123/mpg123-059r-v6-20000713b.diff.gz) = fab11489b6a1ab79d6c29787161f1c05e492dc0b
+Size (mpg123/mpg123-059r-v6-20000713b.diff.gz) = 5600 bytes
+SHA1 (patch-aa) = c64e0173e1aaaab7e741c3b52aeac9c0c72d0a00
+SHA1 (patch-ab) = ffc387d93f0f2832e49796c80be26e908defa3a7
+SHA1 (patch-ac) = 06a5037e27ddd4cc34e5348c09e702f9740173c5
+SHA1 (patch-ad) = e9b2b874a95a67139c7d48e74492eb64dfa815f0
+SHA1 (patch-ae) = 9ac13c978bdf498cbd5e9fa0777a51559fdb2403
+SHA1 (patch-af) = 309075bc6fd4b689b711f0ae84f2e5c829609452
+SHA1 (patch-ag) = c27b6a441573939dc23268a6937905d038d6a66b
+SHA1 (patch-ah) = e1419bc6d25360d0825041028b6b3f485bcf5f43
+SHA1 (patch-ai) = 021c5bb2baa56327d486bf134b537ac5c6aa8fba
+SHA1 (patch-aj) = 910b2834c34e617c492a3c72e4d2185d3eb53ecc
+SHA1 (patch-ak) = b30898cff26859eca0d23ea8cfdd461920b978a8
+SHA1 (patch-al) = 88dec640d40e6a3f1828096a4ff7b5a4dbd0a222
+SHA1 (patch-am) = 661c1f95f65145f4e08706eb3f6fe975118a2822
+SHA1 (patch-an) = 08917e1825adcfd870bb2c61ae865339da7c45ef
+SHA1 (patch-ao) = 40961a43cc3dbebf71deee1c240907896d297304