diff options
author | ben <ben> | 2004-03-05 22:36:12 +0000 |
---|---|---|
committer | ben <ben> | 2004-03-05 22:36:12 +0000 |
commit | 58430bffdd4dec7bc971caab5fda580ddaf597a1 (patch) | |
tree | aef64e87e1ef85830832103dfdf238d12bec7d5d /audio | |
parent | f8812c71694e1b79efb8cae0ec778f2eab3ff1c7 (diff) | |
download | pkgsrc-58430bffdd4dec7bc971caab5fda580ddaf597a1.tar.gz |
Initial import of xmms-modplug-2.05, an XMMS plugin based on modplug.
Based on the ModPlug sound engine by Olivier Lapicque <olivierl@jps.net>
XMMS plugin by Kenton Varda <temporal@gauge3d.org>
Placed in the public domain in October, 2001
Diffstat (limited to 'audio')
-rw-r--r-- | audio/xmms-modplug/DESCR | 8 | ||||
-rw-r--r-- | audio/xmms-modplug/Makefile | 30 | ||||
-rw-r--r-- | audio/xmms-modplug/PLIST | 4 | ||||
-rw-r--r-- | audio/xmms-modplug/distinfo | 6 | ||||
-rw-r--r-- | audio/xmms-modplug/patches/patch-ac | 16 | ||||
-rw-r--r-- | audio/xmms-modplug/patches/patch-ad | 13 |
6 files changed, 77 insertions, 0 deletions
diff --git a/audio/xmms-modplug/DESCR b/audio/xmms-modplug/DESCR new file mode 100644 index 00000000000..55977c2fc72 --- /dev/null +++ b/audio/xmms-modplug/DESCR @@ -0,0 +1,8 @@ +Modplug Plugin for XMMS v2.0 + Based on the ModPlug sound engine by Olivier Lapicque <olivierl@jps.net> + XMMS plugin by Kenton Varda <temporal@gauge3d.org> + Placed in the public domain in October, 2001 + +Olivier Lapicque, author of Modplug, which is arguably the best quality +MOD-playing software available, has placed his sound rendering code in the +public domain. This plugin is based on that code. diff --git a/audio/xmms-modplug/Makefile b/audio/xmms-modplug/Makefile new file mode 100644 index 00000000000..4c7e19ae74f --- /dev/null +++ b/audio/xmms-modplug/Makefile @@ -0,0 +1,30 @@ +# $NetBSD: Makefile,v 1.1.1.1 2004/03/05 22:36:12 ben Exp $ +# + +DISTNAME= modplugxmms-2.05 +PKGNAME= xmms-modplug-2.05 +CATEGORIES= audio +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=modplug-xmms/} + +MAINTAINER= ben@NetBSD.org +HOMEPAGE= http://modplug-xmms.sourceforge.net/ +COMMENT= XMMS plugin based on modplug + +DEPENDS+= unzip-[0-9]*:../../archivers/unzip + +LDFLAGS+= -lm -lossaudio +USE_X11= yes +USE_BUILDLINK3= yes +GNU_CONFIGURE= yes +USE_LIBTOOL= yes +SHLIBTOOL_OVERRIDE= libtool-disable-static + +CFLAGS+= -DDEVICE_NAME="\"\\\"${DEVOSSSOUND}\\\"\"" + +PKG_INSTALLATION_TYPES= overwrite pkgviews + +.include "../../audio/libmodplug/buildlink3.mk" +.include "../../audio/xmms/buildlink3.mk" +.include "../../mk/ossaudio.buildlink3.mk" +.include "../../mk/pthread.buildlink3.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/audio/xmms-modplug/PLIST b/audio/xmms-modplug/PLIST new file mode 100644 index 00000000000..f09615b1c3d --- /dev/null +++ b/audio/xmms-modplug/PLIST @@ -0,0 +1,4 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2004/03/05 22:36:12 ben Exp $ +bin/modplugplay +lib/xmms/Input/libmodplugxmms.la +lib/xmms/Input/libmodplugxmms.so diff --git a/audio/xmms-modplug/distinfo b/audio/xmms-modplug/distinfo new file mode 100644 index 00000000000..3e515e59947 --- /dev/null +++ b/audio/xmms-modplug/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1.1.1 2004/03/05 22:36:12 ben Exp $ + +SHA1 (modplugxmms-2.05.tar.gz) = ccb307fc7490a94aad2aadb5dac4e4e96aa7892f +Size (modplugxmms-2.05.tar.gz) = 242595 bytes +SHA1 (patch-ac) = 8bfc9397308a6f7da2f1bf3c7db0ab6981b48141 +SHA1 (patch-ad) = 55fcd439905303d3666bf2b8676e3aeeede7ea0f diff --git a/audio/xmms-modplug/patches/patch-ac b/audio/xmms-modplug/patches/patch-ac new file mode 100644 index 00000000000..e79fa21176f --- /dev/null +++ b/audio/xmms-modplug/patches/patch-ac @@ -0,0 +1,16 @@ +$NetBSD: patch-ac,v 1.1.1.1 2004/03/05 22:36:12 ben Exp $ + +--- modplugplay/modplugplay.c.orig 2003-10-16 03:47:46.000000000 -0700 ++++ modplugplay/modplugplay.c +@@ -89,7 +89,11 @@ command line option handling + #define VERSION "1.0" + + #define BUF_SIZE 4096 ++#ifdef __NetBSD__ ++#define DEVICE_NAME "/dev/sound" ++#else + #define DEVICE_NAME "/dev/dsp" ++#endif + + static struct termios stored_settings; + int audio_fd, mixer_fd; diff --git a/audio/xmms-modplug/patches/patch-ad b/audio/xmms-modplug/patches/patch-ad new file mode 100644 index 00000000000..ff82a994f46 --- /dev/null +++ b/audio/xmms-modplug/patches/patch-ad @@ -0,0 +1,13 @@ +$NetBSD: patch-ad,v 1.1.1.1 2004/03/05 22:36:12 ben Exp $ + +--- modplugxmms/Makefile.in.orig 2003-10-15 20:30:45.000000000 -0700 ++++ modplugxmms/Makefile.in +@@ -119,7 +119,7 @@ plugindir = @plugindir@ + lib_LTLIBRARIES = libmodplugxmms.la + + INCLUDES = $(LIBMODPLUG_CFLAGS) -I.. -I../../.. +-libmodplugxmms_la_LDFLAGS = -module -avoid-version -lstdc++ ++libmodplugxmms_la_LDFLAGS = -module -avoid-version + libmodplugxmms_la_SOURCES = plugin.cpp modplugxmms.cpp + libmodplugxmms_la_LIBADD = ./archive/libarchive.la ./gui/libgui.la $(LIBMODPLUG_LIBS) + |