summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorhubertf <hubertf>2000-12-28 01:25:40 +0000
committerhubertf <hubertf>2000-12-28 01:25:40 +0000
commit2a3469cd0b6d73cd5ebcff403ad35b9454dcc2c6 (patch)
treeddfd06a4ad6fc8ba165cc10b16a26aa009c8d752 /audio
parent4b8becb394427354bf33b083e4b3811bba36640b (diff)
downloadpkgsrc-2a3469cd0b6d73cd5ebcff403ad35b9454dcc2c6.tar.gz
Added xmp-2.0.2:
This is the Extended Module Player, an open source module player for UNIX distributed under the terms of the GNU GPL. xmp currently runs on several platforms, including ALSA, OSS (for Linux on i386 and Alpha and FreeBSD), BSD, SunOS, Solaris, S/Linux and HP-UX. On PC class machines with GUS or AWE cards xmp takes advantage of the OSS sequencer to play modules with virtually no system load. Using software mixing, xmp plays at rates up to 48 kHz in mono or stereo, 8 or 16 bits, signed or unsigned, little or big endian samples with 32 bit linear interpolation. The current version of xmp supports many Amiga and PC module formats (including packed, Powerpacked and SQSHed modules) -- currently 47 known formats. Submitted by Rui-Xiang Guo <rxg@ms25.url.com.tw> in PR 11026.
Diffstat (limited to 'audio')
-rw-r--r--audio/xmp/Makefile22
-rw-r--r--audio/xmp/files/md53
-rw-r--r--audio/xmp/files/patch-sum6
-rw-r--r--audio/xmp/patches/patch-aa23
-rw-r--r--audio/xmp/patches/patch-ab22
-rw-r--r--audio/xmp/patches/patch-ac13
-rw-r--r--audio/xmp/patches/patch-ad13
-rw-r--r--audio/xmp/pkg/COMMENT1
-rw-r--r--audio/xmp/pkg/DESCR12
-rw-r--r--audio/xmp/pkg/PLIST7
10 files changed, 122 insertions, 0 deletions
diff --git a/audio/xmp/Makefile b/audio/xmp/Makefile
new file mode 100644
index 00000000000..1a9df8daf16
--- /dev/null
+++ b/audio/xmp/Makefile
@@ -0,0 +1,22 @@
+# $NetBSD: Makefile,v 1.1.1.1 2000/12/28 01:25:40 hubertf Exp $
+# FreeBSD: ports/audio/xmp/Makefile,v 1.5 2000/04/08 21:24:59 mharo Exp
+#
+
+DISTNAME= xmp-2.0.2
+CATEGORIES= audio
+MASTER_SITES= http://xmp.helllabs.org/pkg/2.0.2/ \
+ http://xmp.linuxbox.com/pkg/2.0.2/
+EXTRACT_SUFX= .tar.bz2
+
+MAINTAINER= rxg@ms25.url.com.tw
+HOMEPAGE= http://xmp.helllabs.org/
+
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS+=--disable-alsa \
+ --disable-oss \
+ --disable-xmms
+
+USE_X11= yes
+USE_GMAKE= yes
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/audio/xmp/files/md5 b/audio/xmp/files/md5
new file mode 100644
index 00000000000..de6341bf3d7
--- /dev/null
+++ b/audio/xmp/files/md5
@@ -0,0 +1,3 @@
+$NetBSD: md5,v 1.1.1.1 2000/12/28 01:25:40 hubertf Exp $
+
+MD5 (xmp-2.0.2.tar.bz2) = 4680cdf3de9482b42055807f64b99e13
diff --git a/audio/xmp/files/patch-sum b/audio/xmp/files/patch-sum
new file mode 100644
index 00000000000..730975543a9
--- /dev/null
+++ b/audio/xmp/files/patch-sum
@@ -0,0 +1,6 @@
+$NetBSD: patch-sum,v 1.1.1.1 2000/12/28 01:25:40 hubertf Exp $
+
+MD5 (patch-aa) = 32b25668ae080cfde57309b5604ca7f5
+MD5 (patch-ab) = cb7481895278eb1416449748c0d62980
+MD5 (patch-ac) = 106b005f85b7cc0f54970cd9b1eab221
+MD5 (patch-ad) = 7a22a857872c5f416641363fbee38659
diff --git a/audio/xmp/patches/patch-aa b/audio/xmp/patches/patch-aa
new file mode 100644
index 00000000000..bb52322f4a0
--- /dev/null
+++ b/audio/xmp/patches/patch-aa
@@ -0,0 +1,23 @@
+$NetBSD: patch-aa,v 1.1.1.1 2000/12/28 01:25:40 hubertf Exp $
+
+--- Makefile.orig Sat Sep 16 01:24:09 2000
++++ Makefile Sat Sep 16 01:25:45 2000
+@@ -15,6 +15,7 @@
+ DDIRS = lib docs etc src scripts debian
+ CFILES =
+ DCFILES = Makefile.rules.old config.log config.status config.cache
++ETCDIR = ${PREFIX}/etc
+
+ all: xmp
+
+@@ -42,8 +43,8 @@
+
+ install::
+ @echo
+- @echo " Installation complete. To customize, copy /etc/xmp.conf to"
+- @echo " \$$HOME/.xmp/xmp.conf and /etc/xmp-modules.conf to \$$HOME/.xmp/modules.conf"
++ @echo " Installation complete. To customize, copy ${PREFIX}/etc/xmp.conf to"
++ @echo " \$$HOME/.xmp/xmp.conf and ${PREFIX}/etc/xmp-modules.conf to \$$HOME/.xmp/modules.conf"
+ @echo
+ @echo " Please report bugs to xmp-bugs@helllabs.org."
+ @echo
diff --git a/audio/xmp/patches/patch-ab b/audio/xmp/patches/patch-ab
new file mode 100644
index 00000000000..576d39d2306
--- /dev/null
+++ b/audio/xmp/patches/patch-ab
@@ -0,0 +1,22 @@
+$NetBSD: patch-ab,v 1.1.1.1 2000/12/28 01:25:40 hubertf Exp $
+
+--- src/player/readrc.c.orig Sat Sep 16 01:35:21 2000
++++ src/player/readrc.c Sat Sep 16 01:38:24 2000
+@@ -56,7 +56,7 @@
+ if ((rc = fopen (myrc2, "r")) == NULL) {
+ if ((rc = fopen (myrc, "r")) == NULL) {
+ #ifndef __EMX__
+- if ((rc = fopen ("/etc/xmp.conf", "r")) == NULL) {
++ if ((rc = fopen ("ETCDIR/xmp.conf", "r")) == NULL) {
+ #else
+ if ((rc = fopen ("xmp.conf", "r")) == NULL) {
+ #endif
+@@ -202,7 +202,7 @@
+ myrc = malloc ((home ? strlen (home) : 0) + 20);
+ #ifndef __EMX__
+ sprintf (myrc, "%s/.xmp/modules.conf", home);
+- parse_modconf (ctl, "/etc/xmp-modules.conf", crc, size);
++ parse_modconf (ctl, "ETCDIR/xmp-modules.conf", crc, size);
+ #else
+ sprintf (myrc, "%s\\.xmp\\modules.conf", home);
+ parse_modconf (ctl, "xmp-modules.conf", crc, size);
diff --git a/audio/xmp/patches/patch-ac b/audio/xmp/patches/patch-ac
new file mode 100644
index 00000000000..fe87be9956c
--- /dev/null
+++ b/audio/xmp/patches/patch-ac
@@ -0,0 +1,13 @@
+$NetBSD: patch-ac,v 1.1.1.1 2000/12/28 01:25:40 hubertf Exp $
+
+--- etc/Makefile.orig Wed Feb 2 21:20:34 2000
++++ etc/Makefile Fri Sep 15 23:22:03 2000
+@@ -21,7 +21,7 @@
+ @if [ -f /etc/xmp-modules.conf ]; then \
+ mv -f /etc/xmp-modules.conf /etc/xmp-modules.conf.old; \
+ fi
+- $(INSTALL) -m644 xmp.conf xmp-modules.conf /etc
++ $(INSTALL) -m644 xmp.conf xmp-modules.conf ${PREFIX}/etc
+
+ xmp.spec: xmp.spec.in ../Makefile.rules
+ cat $@.in | sed 's/@VERSION@/$(VERSION)/g' > $@
diff --git a/audio/xmp/patches/patch-ad b/audio/xmp/patches/patch-ad
new file mode 100644
index 00000000000..8d7344f87b2
--- /dev/null
+++ b/audio/xmp/patches/patch-ad
@@ -0,0 +1,13 @@
+$NetBSD: patch-ad,v 1.1.1.1 2000/12/28 01:25:40 hubertf Exp $
+
+--- src/main/Makefile.orig Fri Sep 15 23:17:25 2000
++++ src/main/Makefile Fri Sep 15 23:20:30 2000
+@@ -6,7 +6,7 @@
+ XDEPS =
+ BINS = xmp $(X_XMP)
+ XLIBS = -L../../lib -lxmp #-lefence
+-X11LIBS = -lX11 -lXext
++X11LIBS = -lX11 -lXext -Wl,-R${X11BASE}/lib
+ XPMS = bg1.xpm bg2.xpm bg3.xpm
+ DFILES = Makefile $(OBJS:.o=.c) $(X11OBJS:.o=.c) main.c xpanel.h $(XPMS) \
+ simple.c
diff --git a/audio/xmp/pkg/COMMENT b/audio/xmp/pkg/COMMENT
new file mode 100644
index 00000000000..43a42576ac8
--- /dev/null
+++ b/audio/xmp/pkg/COMMENT
@@ -0,0 +1 @@
+Player for many different Amiga and PC module formats.
diff --git a/audio/xmp/pkg/DESCR b/audio/xmp/pkg/DESCR
new file mode 100644
index 00000000000..e5e75631bfc
--- /dev/null
+++ b/audio/xmp/pkg/DESCR
@@ -0,0 +1,12 @@
+This is the Extended Module Player, an open source module player for UNIX
+distributed under the terms of the GNU GPL. xmp currently runs on several
+platforms, including ALSA, OSS (for Linux on i386 and Alpha and FreeBSD),
+BSD, SunOS, Solaris, S/Linux and HP-UX. On PC class machines with GUS or
+AWE cards xmp takes advantage of the OSS sequencer to play modules with
+virtually no system load. Using software mixing, xmp plays at rates up to
+48 kHz in mono or stereo, 8 or 16 bits, signed or unsigned, little or big
+endian samples with 32 bit linear interpolation.
+
+The current version of xmp supports many Amiga and PC module formats
+(including packed, Powerpacked and SQSHed modules) -- currently 47 known
+formats.
diff --git a/audio/xmp/pkg/PLIST b/audio/xmp/pkg/PLIST
new file mode 100644
index 00000000000..a3e9ad2a050
--- /dev/null
+++ b/audio/xmp/pkg/PLIST
@@ -0,0 +1,7 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2000/12/28 01:25:40 hubertf Exp $
+bin/xmp
+bin/xxmp
+etc/xmp-modules.conf
+etc/xmp.conf
+man/man1/xmp.1
+man/man1/xxmp.1