diff options
author | naddy <naddy@FreeBSD.org> | 2002-08-12 05:04:30 +0800 |
---|---|---|
committer | naddy <naddy@FreeBSD.org> | 2002-08-12 05:04:30 +0800 |
commit | c90a5a81c1d197eeb4c5d0146550619e64261472 (patch) | |
tree | 1074efa7bf8d03c9bb7d3e6f1bfe317d8cf6d764 /audio/xmms-osssurround | |
parent | 668836cfd997dd2a71479e64240e18d5f9ac1bfc (diff) | |
download | freebsd-ports-graphics-c90a5a81c1d197eeb4c5d0146550619e64261472.tar.gz freebsd-ports-graphics-c90a5a81c1d197eeb4c5d0146550619e64261472.tar.zst freebsd-ports-graphics-c90a5a81c1d197eeb4c5d0146550619e64261472.zip |
Import XMMS OSSSurround plugin 0.1.
OSSSuround is an output plugin for XMMS included with xmms-a52dec.
(audio/xmms-a52dec). It provides surround sound capability to
xmms-a52dec and is fully compatible with all other input plugins.
It can be used as a dropin replacement for the original OSS plugin
distributed with XMMS.
PR: 40990
Submitted by: Amar Takhar <verm@drunkmonk.net>
Diffstat (limited to 'audio/xmms-osssurround')
-rw-r--r-- | audio/xmms-osssurround/Makefile | 28 | ||||
-rw-r--r-- | audio/xmms-osssurround/distinfo | 1 | ||||
-rw-r--r-- | audio/xmms-osssurround/files/patch-OSSSurround-0.1_Makefile | 50 | ||||
-rw-r--r-- | audio/xmms-osssurround/files/patch-OSSSurround-0.1_configure.c | 14 | ||||
-rw-r--r-- | audio/xmms-osssurround/pkg-comment | 1 | ||||
-rw-r--r-- | audio/xmms-osssurround/pkg-descr | 12 | ||||
-rw-r--r-- | audio/xmms-osssurround/pkg-plist | 2 |
7 files changed, 108 insertions, 0 deletions
diff --git a/audio/xmms-osssurround/Makefile b/audio/xmms-osssurround/Makefile new file mode 100644 index 00000000000..cf834114c58 --- /dev/null +++ b/audio/xmms-osssurround/Makefile @@ -0,0 +1,28 @@ +# New ports collection makefile for: xmms-surround +# Date created: 24 July 2002 +# Whom: Amar Takhar <verm@drunkmonk.net> +# +# $FreeBSD$ +# + +PORTNAME= xmms-osssurround +PORTVERSION= 0.1 +CATEGORIES= audio +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= xmms-a52dec +DISTNAME= xmms-a52dec-1.0 + +MAINTAINER= verm@drunkmonk.net + +LIB_DEPENDS= xmms.3:${PORTSDIR}/audio/xmms + +USE_BZIP2= yes +USE_X_PREFIX= yes + +BUILD_WRKSRC= ${WRKSRC}/OSSSurround-${PORTVERSION} + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/OSSSurround-0.1/libOSSSurround.so \ + ${PREFIX}/lib/xmms/Output/ + +.include <bsd.port.mk> diff --git a/audio/xmms-osssurround/distinfo b/audio/xmms-osssurround/distinfo new file mode 100644 index 00000000000..4b6cb48b633 --- /dev/null +++ b/audio/xmms-osssurround/distinfo @@ -0,0 +1 @@ +MD5 (xmms-a52dec-1.0.tar.bz2) = 35a49bcde8fcb32a6e899677198d424c diff --git a/audio/xmms-osssurround/files/patch-OSSSurround-0.1_Makefile b/audio/xmms-osssurround/files/patch-OSSSurround-0.1_Makefile new file mode 100644 index 00000000000..4d9b4a0b664 --- /dev/null +++ b/audio/xmms-osssurround/files/patch-OSSSurround-0.1_Makefile @@ -0,0 +1,50 @@ + +$FreeBSD$ + +--- OSSSurround-0.1/Makefile.orig Sun Mar 31 10:26:30 2002 ++++ OSSSurround-0.1/Makefile Thu Aug 1 19:16:46 2002 +@@ -1,34 +1,34 @@ +-CFLAGS = `gtk-config --cflags` ++CFLAGS += `xmms-config --cflags` + + all: libOSSSurround.so + + libOSSSurround.so: about.o audio.o configure.o convert.o init.o mixer.o OSS.o +- gcc -shared -olibOSSSurround.so about.o audio.o configure.o convert.o init.o mixer.o OSS.o ++ ${CC} -shared -olibOSSSurround.so about.o audio.o configure.o convert.o init.o mixer.o OSS.o + + about.o: about.c config.h i18n.h OSS.h +- gcc -c -oabout.o about.c ${CFLAGS} ++ ${CC} ${CFLAGS} -c -oabout.o about.c + + audio.o: audio.c config.h i18n.h OSS.h +- gcc -c -oaudio.o audio.c ${CFLAGS} ++ ${CC} ${CFLAGS} -c -oaudio.o audio.c + + configure.o: configure.c config.h i18n.h OSS.h +- gcc -c -oconfigure.o configure.c ${CFLAGS} ++ ${CC} ${CFLAGS} -c -oconfigure.o configure.c + + convert.o: convert.c config.h i18n.h OSS.h +- gcc -c -oconvert.o convert.c ${CFLAGS} ++ ${CC} ${CFLAGS} -c -oconvert.o convert.c + + init.o: init.c config.h i18n.h OSS.h +- gcc -c -oinit.o init.c ${CFLAGS} ++ ${CC} ${CFLAGS} -c -oinit.o init.c + + mixer.o: mixer.c config.h i18n.h OSS.h +- gcc -c -omixer.o mixer.c ${CFLAGS} ++ ${CC} ${CFLAGS} -c -omixer.o mixer.c + + OSS.o: OSS.c config.h i18n.h OSS.h +- gcc -c -oOSS.o OSS.c ${CFLAGS} ++ ${CC} ${CFLAGS} -c -oOSS.o OSS.c + + clean: + rm -f *.o libOSSSurround.so + + install: libOSSSurround.so + install -s -o root -g root -m 755 libOSSSurround.so "`xmms-config --output-plugin-dir`" +- echo `xmms-config --output-plugin-dir`/libOSSSurround.so >> ../installed.files ++ echo `xmms-config --output-plugin-dir`/libOSSSurround.so >> ../installed.files diff --git a/audio/xmms-osssurround/files/patch-OSSSurround-0.1_configure.c b/audio/xmms-osssurround/files/patch-OSSSurround-0.1_configure.c new file mode 100644 index 00000000000..34c4c4b7fcb --- /dev/null +++ b/audio/xmms-osssurround/files/patch-OSSSurround-0.1_configure.c @@ -0,0 +1,14 @@ + +$FreeBSD$ + +--- OSSSurround-0.1/configure.c.orig Sun Jan 6 14:36:17 2002 ++++ OSSSurround-0.1/configure.c Thu Aug 1 19:10:21 2002 +@@ -136,7 +136,7 @@ + } + else + item = gtk_menu_item_new_with_label(buffer); +- gtk_signal_connect(GTK_OBJECT(item), "activate", sigfunc, (gpointer) index++); ++ gtk_signal_connect(GTK_OBJECT(item), "activate", sigfunc, GINT_TO_POINTER(index++)); + gtk_widget_show(item); + gtk_menu_append(GTK_MENU(menu), item); + } diff --git a/audio/xmms-osssurround/pkg-comment b/audio/xmms-osssurround/pkg-comment new file mode 100644 index 00000000000..9a06eadb3dc --- /dev/null +++ b/audio/xmms-osssurround/pkg-comment @@ -0,0 +1 @@ +OSSSuround adds Surround Sound capabilities to XMMS diff --git a/audio/xmms-osssurround/pkg-descr b/audio/xmms-osssurround/pkg-descr new file mode 100644 index 00000000000..f9c9705ecdd --- /dev/null +++ b/audio/xmms-osssurround/pkg-descr @@ -0,0 +1,12 @@ +OSSSuround is an output plugin for XMMS included with xmms-a52dec. +(audio/xmms-a52dec). It provides surround sound capability to +xmms-a42dec and is fully compatible with all other input plugins. +It can be used as a dropin replacement for the original OSS plugin +distributed with XMMS. For developers, if you are interested in +using OSSSurround to provide surround sound support for your XMMS +input plugin, you can read the API document or contact the author +for help. + +For latest API info: http://xmms-a52dec.sourceforge.net/API + +WWW: http://xmms-a52dec.sourceforge.net/ diff --git a/audio/xmms-osssurround/pkg-plist b/audio/xmms-osssurround/pkg-plist new file mode 100644 index 00000000000..416d72388c8 --- /dev/null +++ b/audio/xmms-osssurround/pkg-plist @@ -0,0 +1,2 @@ +@comment $FreeBSD$ +lib/xmms/Output/libOSSSurround.so |