aboutsummaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authormeta <meta@FreeBSD.org>2018-08-16 09:51:04 +0800
committermeta <meta@FreeBSD.org>2018-08-16 09:51:04 +0800
commitbd034fc8b6a3cad74c807e4b34d8051d3c805003 (patch)
treec092f3f010d0dadf71aa8bd79c26d8a9c6252e0d /audio
parent0cda3a1f4a39129bc186a161cf7afc5135f04c1a (diff)
downloadfreebsd-ports-gnome-bd034fc8b6a3cad74c807e4b34d8051d3c805003.tar.gz
freebsd-ports-gnome-bd034fc8b6a3cad74c807e4b34d8051d3c805003.tar.zst
freebsd-ports-gnome-bd034fc8b6a3cad74c807e4b34d8051d3c805003.zip
New port: audio/pulseaudio-module-xrdp: separate PulseAudio modules from net/xrdp
This update separates PulseAudio modules from net/xrdp port. There're two reasons to separete them. The one is upstream now provides them as separated repositories. The another one is PulseAudio modules need to be rebuilt after the version of audio/pulseaudio changed but the most part of net/xrdp port doesn't need rebuild. This minimizes time for rebuilding. Approved by: hrs (mentor) Differential Revision: https://reviews.freebsd.org/D16621
Diffstat (limited to 'audio')
-rw-r--r--audio/Makefile1
-rw-r--r--audio/pulseaudio-module-xrdp/Makefile36
-rw-r--r--audio/pulseaudio-module-xrdp/distinfo3
-rw-r--r--audio/pulseaudio-module-xrdp/pkg-descr3
4 files changed, 43 insertions, 0 deletions
diff --git a/audio/Makefile b/audio/Makefile
index 6b00ccd6f6b5..3e7d676135ad 100644
--- a/audio/Makefile
+++ b/audio/Makefile
@@ -664,6 +664,7 @@
SUBDIR += puddletag
SUBDIR += pulseaudio
SUBDIR += pulseaudio-module-sndio
+ SUBDIR += pulseaudio-module-xrdp
SUBDIR += py-SoundFile
SUBDIR += py-al
SUBDIR += py-ao
diff --git a/audio/pulseaudio-module-xrdp/Makefile b/audio/pulseaudio-module-xrdp/Makefile
new file mode 100644
index 000000000000..647a089d2837
--- /dev/null
+++ b/audio/pulseaudio-module-xrdp/Makefile
@@ -0,0 +1,36 @@
+# $FreeBSD$
+
+PORTNAME= pulseaudio-module-xrdp
+PORTVERSION= 0.0.20180808
+CATEGORIES= audio
+
+MAINTAINER= meta@FreeBSD.org
+COMMENT= PulseAudio module which enables xrdp to use audio redirection
+
+LICENSE= APACHE20
+
+BUILD_DEPENDS= ${NONEXISTENT}:audio/pulseaudio:configure \
+ ${LOCALBASE}/include/xrdp_constants.h:net/xrdp
+LIB_DEPENDS= libpulse.so:audio/pulseaudio
+
+USES= autoreconf:build libtool pkgconfig
+GNU_CONFIGURE= yes
+USE_GITHUB= yes
+GH_ACCOUNT= neutrinolabs
+GH_PROJECT= pulseaudio-module-xrdp
+GH_TAGNAME= 0d80384
+
+PLIST_FILES= `${PULSE_MODDIR}`/module-xrdp-sink.so \
+ `${PULSE_MODDIR}`/module-xrdp-source.so
+
+CONFIGURE_ARGS= PULSE_DIR=${WRKDIR}/pulseaudio-`${PULSE_VERSION}`
+
+PULSE_VERSION= pkg-config --modversion libpulse
+PULSE_MODDIR= pkg-config --variable=modlibexecdir libpulse
+PULSE_WRKSRC= ${MAKE} -C ${PORTSDIR}/audio/pulseaudio -VWRKSRC
+
+pre-configure:
+ @cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} ./bootstrap.sh
+ @${CP} -r "`${PULSE_WRKSRC}`" ${WRKDIR}
+
+.include <bsd.port.mk>
diff --git a/audio/pulseaudio-module-xrdp/distinfo b/audio/pulseaudio-module-xrdp/distinfo
new file mode 100644
index 000000000000..2f489b96ce4d
--- /dev/null
+++ b/audio/pulseaudio-module-xrdp/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1533702829
+SHA256 (neutrinolabs-pulseaudio-module-xrdp-0.0.20180808-0d80384_GH0.tar.gz) = 9e3a4c1164c43e87c1f603589afc0134324ae95da138b60ea3c550358f9d3812
+SIZE (neutrinolabs-pulseaudio-module-xrdp-0.0.20180808-0d80384_GH0.tar.gz) = 10267
diff --git a/audio/pulseaudio-module-xrdp/pkg-descr b/audio/pulseaudio-module-xrdp/pkg-descr
new file mode 100644
index 000000000000..c0170cd44f5d
--- /dev/null
+++ b/audio/pulseaudio-module-xrdp/pkg-descr
@@ -0,0 +1,3 @@
+PulseAudio module which enables xrdp to use audio redirection
+
+WWW: https://github.com/neutrinolabs/pulseaudio-module-xrdp