blob: 9e15c8425ef320d2acef44054bb5968cb7aef97d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
PORTNAME= pulseaudio-module-xrdp
DISTVERSIONPREFIX= v
DISTVERSION= 0.6
CATEGORIES= audio
DIST_SUBDIR= xrdp
PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/
MAINTAINER= meta@FreeBSD.org
COMMENT= PulseAudio module which enables xrdp to use audio redirection
WWW= https://github.com/neutrinolabs/pulseaudio-module-xrdp
LICENSE= LGPL21
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${NONEXISTENT}:audio/pulseaudio:configure
LIB_DEPENDS= libpulse.so:audio/pulseaudio
USES= autoreconf:build compiler:c11 libtool localbase pkgconfig
USE_GITHUB= yes
GNU_CONFIGURE= yes
GH_ACCOUNT= neutrinolabs
PLIST_FILES= `${PULSE_MODDIR}`/module-xrdp-sink.so \
`${PULSE_MODDIR}`/module-xrdp-source.so \
etc/xdg/autostart/pulseaudio-xrdp.desktop \
libexec/pulseaudio-module-xrdp/load_pa_modules.sh
CONFIGURE_ARGS= PULSE_DIR=${WRKDIR}/pulseaudio-`${PULSE_VERSION}` \
--with-xdgautostart-dir=${PREFIX}/etc/xdg/autostart
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
@${CP} -r "`${PULSE_WRKSRC}`" ${WRKDIR}
.include <bsd.port.mk>
|