aboutsummaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2006-05-09 00:07:31 +0800
committerpav <pav@FreeBSD.org>2006-05-09 00:07:31 +0800
commitb95b1de74eca2e3b1e823ff3071b17abdcd82112 (patch)
treeb8bd42137522e7afe67e375296b6a83a60b849aa /audio
parenta341c7d32b5917d4c2c3d63d6943531ea2238a1a (diff)
downloadfreebsd-ports-gnome-b95b1de74eca2e3b1e823ff3071b17abdcd82112.tar.gz
freebsd-ports-gnome-b95b1de74eca2e3b1e823ff3071b17abdcd82112.tar.zst
freebsd-ports-gnome-b95b1de74eca2e3b1e823ff3071b17abdcd82112.zip
This plugin enables xmms to playback sound via the JACK audio server. The
plugin is actually a port of the xmms OSS sound ouput plugin to JACK, using libjackasyn. WWW: http://gige.xdv.org/libjackasyn/xmms.php PR: ports/94292 Submitted by: Jose Alonso Cardenas Marquez <acardenas@bsd.org.pe>
Diffstat (limited to 'audio')
-rw-r--r--audio/Makefile1
-rw-r--r--audio/xmms-jackasyn/Makefile44
-rw-r--r--audio/xmms-jackasyn/distinfo3
-rw-r--r--audio/xmms-jackasyn/files/patch-jack.h11
-rw-r--r--audio/xmms-jackasyn/files/pkg-message.in5
-rw-r--r--audio/xmms-jackasyn/pkg-descr5
6 files changed, 69 insertions, 0 deletions
diff --git a/audio/Makefile b/audio/Makefile
index 9d9837a76a4d..586b9af609e8 100644
--- a/audio/Makefile
+++ b/audio/Makefile
@@ -605,6 +605,7 @@
SUBDIR += xmms-imms
SUBDIR += xmms-infopipe
SUBDIR += xmms-jack
+ SUBDIR += xmms-jackasyn
SUBDIR += xmms-kde
SUBDIR += xmms-kj
SUBDIR += xmms-ladspa
diff --git a/audio/xmms-jackasyn/Makefile b/audio/xmms-jackasyn/Makefile
new file mode 100644
index 000000000000..61b43c17c352
--- /dev/null
+++ b/audio/xmms-jackasyn/Makefile
@@ -0,0 +1,44 @@
+# New ports collection makefile for: xmms-jackasyn
+# Date created: 2006-03-09
+# Whom: Jose Alonso Cardenas Marquez <acardenas@bsd.org.pe>
+#
+# $FreeBSD$
+#
+
+PORTNAME= jackasyn
+PORTVERSION= 0.3
+CATEGORIES= audio
+MASTER_SITES= http://gige.xdv.org/libjackasyn/download/
+PKGNAMEPREFIX= xmms-
+DISTNAME= ${PKGNAMEPREFIX}${PORTNAME}-${PORTVERSION}
+
+MAINTAINER= acardenas@bsd.org.pe
+COMMENT= XMMS plugin for jack using libjackasyn
+
+LIB_DEPENDS= xmms.4:${PORTSDIR}/multimedia/xmms \
+ jackasyn.0:${PORTSDIR}/audio/libjackasyn
+
+USE_X_PREFIX= yes
+USE_GNOME= gtk12 gnometarget
+USE_GMAKE= yes
+GNU_CONFIGURE= yes
+
+LDFLAGS+= -L${LOCALBASE}/lib -L${X11BASE}/lib ${PTHREAD_LIBS}
+CXXFLAGS+= -I${LOCALBASE}/include -I${X11BASE}/include
+CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
+CONFIGURE_ENV+= LDFLAGS="${LDFLAGS}" CPPFLAGS="${CXXFLAGS}"
+
+SUB_FILES= pkg-message
+PLIST_FILES= lib/xmms/Output/libjackxmms.so
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|OSS Driver configuration|Jackasyn Driver configuration|g' ${WRKSRC}/configure.c
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/.libs/libjackxmms.so \
+ ${PREFIX}/lib/xmms/Output/libjackxmms.so
+
+post-install:
+ @${CAT} ${PKGMESSAGE}
+
+.include <bsd.port.mk>
diff --git a/audio/xmms-jackasyn/distinfo b/audio/xmms-jackasyn/distinfo
new file mode 100644
index 000000000000..505d42faadbe
--- /dev/null
+++ b/audio/xmms-jackasyn/distinfo
@@ -0,0 +1,3 @@
+MD5 (xmms-jackasyn-0.3.tar.gz) = 5a068b370a0cda4423e7a57988a97da8
+SHA256 (xmms-jackasyn-0.3.tar.gz) = 5e3a8869bb5f775f3e5245b227f2506c82b1a0f0665c2653c7043976f64be01d
+SIZE (xmms-jackasyn-0.3.tar.gz) = 311968
diff --git a/audio/xmms-jackasyn/files/patch-jack.h b/audio/xmms-jackasyn/files/patch-jack.h
new file mode 100644
index 000000000000..95f5a0b2ed44
--- /dev/null
+++ b/audio/xmms-jackasyn/files/patch-jack.h
@@ -0,0 +1,11 @@
+--- jack.h Thu Apr 6 12:12:30 2006
++++ jack.h Thu Apr 6 12:13:02 2006
+@@ -18,6 +18,8 @@
+ #ifndef JACK_H
+ #define JACK_H
+
++#define HAVE_NEWPCM
++
+ #include "config.h"
+
+ #include <gtk/gtk.h>
diff --git a/audio/xmms-jackasyn/files/pkg-message.in b/audio/xmms-jackasyn/files/pkg-message.in
new file mode 100644
index 000000000000..7c00d29f156b
--- /dev/null
+++ b/audio/xmms-jackasyn/files/pkg-message.in
@@ -0,0 +1,5 @@
+###############################################################################
+
+1) Please, read information from audio/libjackasyn/files/pkg-message.in file
+
+###############################################################################
diff --git a/audio/xmms-jackasyn/pkg-descr b/audio/xmms-jackasyn/pkg-descr
new file mode 100644
index 000000000000..e09d980d955e
--- /dev/null
+++ b/audio/xmms-jackasyn/pkg-descr
@@ -0,0 +1,5 @@
+This plugin enables xmms to playback sound via the JACK audio server. The
+plugin is actually a port of the xmms OSS sound ouput plugin to JACK, using
+libjackasyn.
+
+WWW: http://gige.xdv.org/libjackasyn/xmms.php