aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfjoe <fjoe@FreeBSD.org>2003-11-12 08:14:40 +0800
committerfjoe <fjoe@FreeBSD.org>2003-11-12 08:14:40 +0800
commit0f02cbd9189b0c13fbf74658f5529b631209d9b3 (patch)
tree26e745170ad7d48b9891d830538783849de5bfba
parentc758710d2ccd569eded8c36de7d730b3aac2e987 (diff)
downloadfreebsd-ports-gnome-0f02cbd9189b0c13fbf74658f5529b631209d9b3.tar.gz
freebsd-ports-gnome-0f02cbd9189b0c13fbf74658f5529b631209d9b3.tar.zst
freebsd-ports-gnome-0f02cbd9189b0c13fbf74658f5529b631209d9b3.zip
Add one more XMMS aRts output plugin.
-rw-r--r--audio/Makefile1
-rw-r--r--audio/xmms-arts/Makefile9
-rw-r--r--audio/xmms-arts/distinfo2
-rw-r--r--audio/xmms-arts/files/patch-ltmain.sh9
-rw-r--r--audio/xmms-arts/pkg-descr4
-rw-r--r--audio/xmms-arts/pkg-plist7
-rw-r--r--audio/xmms-arts_output/Makefile32
-rw-r--r--audio/xmms-arts_output/distinfo1
-rw-r--r--audio/xmms-arts_output/files/patch-ltmain.sh25
-rw-r--r--audio/xmms-arts_output/files/pkg-message.in16
-rw-r--r--audio/xmms-arts_output/pkg-descr5
-rw-r--r--audio/xmms-arts_output/pkg-plist3
12 files changed, 96 insertions, 18 deletions
diff --git a/audio/Makefile b/audio/Makefile
index c0c8913c1aca..d4f3bc67c017 100644
--- a/audio/Makefile
+++ b/audio/Makefile
@@ -360,6 +360,7 @@
SUBDIR += xmmix
SUBDIR += xmms-a52dec
SUBDIR += xmms-arts
+ SUBDIR += xmms-arts_output
SUBDIR += xmms-audiofile
SUBDIR += xmms-bonk
SUBDIR += xmms-cdparanoia
diff --git a/audio/xmms-arts/Makefile b/audio/xmms-arts/Makefile
index 00ad9b91f708..e70f1b1c9dbb 100644
--- a/audio/xmms-arts/Makefile
+++ b/audio/xmms-arts/Makefile
@@ -6,10 +6,10 @@
#
PORTNAME= xmms-arts
-PORTVERSION= 0.6.0
+PORTVERSION= 0.4
CATEGORIES= audio
-MASTER_SITES= http://havardk.xmms.org/plugins/arts_output/
-DISTNAME= arts_output-${PORTVERSION}
+MASTER_SITES= http://stukach.com/hosted/m.i.a/xmmsarts/
+DISTNAME= ${PORTNAME:S/-//}-${PORTVERSION}
MAINTAINER= fjoe@FreeBSD.org
COMMENT= aRts output plugin for XMMS.
@@ -18,10 +18,13 @@ LIB_DEPENDS= xmms.4:${PORTSDIR}/multimedia/xmms \
artsc.0:${PORTSDIR}/audio/arts
USE_X_PREFIX= yes
+USE_BZIP2= yes
USE_GNOME= gtk12
GNU_CONFIGURE= yes
INSTALLS_SHLIB= yes
CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
+CONFIGURE_ENV= CFLAGS="${CFLAGS} -I${X11BASE}/include"
+WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
PKGMESSAGE= ${WRKDIR}/pkg-message
post-install:
diff --git a/audio/xmms-arts/distinfo b/audio/xmms-arts/distinfo
index 77233619b400..d4e12b606356 100644
--- a/audio/xmms-arts/distinfo
+++ b/audio/xmms-arts/distinfo
@@ -1 +1 @@
-MD5 (arts_output-0.6.0.tar.gz) = 6539123bd1dbebcf57073392da13d992
+MD5 (xmmsarts-0.4.tar.bz2) = 1e38bf93f7d2fac6dcdb681f6538491a
diff --git a/audio/xmms-arts/files/patch-ltmain.sh b/audio/xmms-arts/files/patch-ltmain.sh
index f9b9343c2295..8b4c238a1165 100644
--- a/audio/xmms-arts/files/patch-ltmain.sh
+++ b/audio/xmms-arts/files/patch-ltmain.sh
@@ -1,14 +1,5 @@
--- ltmain.sh.orig Wed Aug 6 19:13:39 2003
+++ ltmain.sh Tue Nov 11 22:47:49 2003
-@@ -1075,7 +1075,7 @@
- esac
- elif test "X$arg" = "X-lc_r"; then
- case $host in
-- *-*-openbsd* | *-*-freebsd*)
-+ *-*-openbsd*)
- # Do not include libc_r directly, use -pthread flag.
- continue
- ;;
@@ -1084,6 +1084,13 @@
deplibs="$deplibs $arg"
continue
diff --git a/audio/xmms-arts/pkg-descr b/audio/xmms-arts/pkg-descr
index 14f12124d05b..54934fd6d426 100644
--- a/audio/xmms-arts/pkg-descr
+++ b/audio/xmms-arts/pkg-descr
@@ -1,5 +1,5 @@
-Xmms-arts is an aRts output plugin for XMMS (www.xmms.org).
+aRts output plugin for XMMS (www.xmms.org).
-Author: Håvard Kvålen <havardk@xmms.org>
+Author: Heath Robinson <bheathr@mail.com>
WWW: http://www.xmms.org/plugins.php?category=output
diff --git a/audio/xmms-arts/pkg-plist b/audio/xmms-arts/pkg-plist
index 11e315bb9cb9..3f82f6099a41 100644
--- a/audio/xmms-arts/pkg-plist
+++ b/audio/xmms-arts/pkg-plist
@@ -1,3 +1,4 @@
-lib/xmms/Output/libarts.a
-lib/xmms/Output/libarts.la
-lib/xmms/Output/libarts.so
+lib/xmms/Output/libartsout.a
+lib/xmms/Output/libartsout.la
+lib/xmms/Output/libartsout.so
+lib/xmms/Output/libartsout.so.0
diff --git a/audio/xmms-arts_output/Makefile b/audio/xmms-arts_output/Makefile
new file mode 100644
index 000000000000..431a099b2fa8
--- /dev/null
+++ b/audio/xmms-arts_output/Makefile
@@ -0,0 +1,32 @@
+# New ports collection makefile for: xmms-arts_output
+# Date created: 12 Nov 2003
+# Whom: Max Khon <fjoe@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PKGNAMEPREFIX= xmms-
+PORTNAME= arts_output
+PORTVERSION= 0.6.0
+CATEGORIES= audio
+MASTER_SITES= http://havardk.xmms.org/plugins/arts_output/
+
+MAINTAINER= fjoe@FreeBSD.org
+COMMENT= aRts output plugin for XMMS.
+
+LIB_DEPENDS= xmms.4:${PORTSDIR}/multimedia/xmms \
+ artsc.0:${PORTSDIR}/audio/arts
+
+USE_X_PREFIX= yes
+USE_GNOME= gtk12
+GNU_CONFIGURE= yes
+INSTALLS_SHLIB= yes
+CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
+PKGMESSAGE= ${WRKDIR}/pkg-message
+
+post-install:
+ @${SED} -e 's,%%PREFIX%%,${PREFIX},g' \
+ <${FILESDIR}/pkg-message.in >${PKGMESSAGE}
+ @${CAT} ${PKGMESSAGE}
+
+.include <bsd.port.mk>
diff --git a/audio/xmms-arts_output/distinfo b/audio/xmms-arts_output/distinfo
new file mode 100644
index 000000000000..77233619b400
--- /dev/null
+++ b/audio/xmms-arts_output/distinfo
@@ -0,0 +1 @@
+MD5 (arts_output-0.6.0.tar.gz) = 6539123bd1dbebcf57073392da13d992
diff --git a/audio/xmms-arts_output/files/patch-ltmain.sh b/audio/xmms-arts_output/files/patch-ltmain.sh
new file mode 100644
index 000000000000..f9b9343c2295
--- /dev/null
+++ b/audio/xmms-arts_output/files/patch-ltmain.sh
@@ -0,0 +1,25 @@
+--- ltmain.sh.orig Wed Aug 6 19:13:39 2003
++++ ltmain.sh Tue Nov 11 22:47:49 2003
+@@ -1075,7 +1075,7 @@
+ esac
+ elif test "X$arg" = "X-lc_r"; then
+ case $host in
+- *-*-openbsd* | *-*-freebsd*)
++ *-*-openbsd*)
+ # Do not include libc_r directly, use -pthread flag.
+ continue
+ ;;
+@@ -1084,6 +1084,13 @@
+ deplibs="$deplibs $arg"
+ continue
+ ;;
++
++ -pthread)
++ compile_command="$compile_command -pthread"
++ finalize_command="$finalize_command -pthread"
++ compiler_flags="$compiler_flags -pthread"
++ continue
++ ;;
+
+ -module)
+ module=yes
diff --git a/audio/xmms-arts_output/files/pkg-message.in b/audio/xmms-arts_output/files/pkg-message.in
new file mode 100644
index 000000000000..7293221d73b0
--- /dev/null
+++ b/audio/xmms-arts_output/files/pkg-message.in
@@ -0,0 +1,16 @@
+In order to use aRts plugin on FreeBSD you must to do the following:
+
+1) Move xmms binary to xmms.bin:
+
+cd %%PREFIX%%/bin && mv xmms xmms.bin
+
+2) Write custom xmms script:
+
+--- cut here ---
+#!/bin/sh
+LD_PRELOAD=/usr/lib/libstdc++.so exec %%PREFIX%%/bin/xmms.bin "$@"
+--- cut here ---
+
+and put it to %%PREFIX%%/bin
+
+/fjoe
diff --git a/audio/xmms-arts_output/pkg-descr b/audio/xmms-arts_output/pkg-descr
new file mode 100644
index 000000000000..437391976a66
--- /dev/null
+++ b/audio/xmms-arts_output/pkg-descr
@@ -0,0 +1,5 @@
+aRts output plugin for XMMS (www.xmms.org).
+
+Author: Håvard Kvålen <havardk@xmms.org>
+
+WWW: http://www.xmms.org/plugins.php?category=output
diff --git a/audio/xmms-arts_output/pkg-plist b/audio/xmms-arts_output/pkg-plist
new file mode 100644
index 000000000000..11e315bb9cb9
--- /dev/null
+++ b/audio/xmms-arts_output/pkg-plist
@@ -0,0 +1,3 @@
+lib/xmms/Output/libarts.a
+lib/xmms/Output/libarts.la
+lib/xmms/Output/libarts.so