aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormarino <marino@FreeBSD.org>2014-11-26 01:55:01 +0800
committermarino <marino@FreeBSD.org>2014-11-26 01:55:01 +0800
commita897de3186986e606003a96ba7ac601ab639a239 (patch)
tree2259e2f78d39964a33c0af0bbb15aa009a78e07a
parent9e93ac5f677a7cacb59db530cebd0c22bbab1f35 (diff)
downloadfreebsd-ports-gnome-a897de3186986e606003a96ba7ac601ab639a239.tar.gz
freebsd-ports-gnome-a897de3186986e606003a96ba7ac601ab639a239.tar.zst
freebsd-ports-gnome-a897de3186986e606003a96ba7ac601ab639a239.zip
audio/linux-f10-pulseaudio-libs: Note depends, use @sample conf
PR: 193861 Submitted by: Jan Beich Approved by: maintainer timeout (4 months)
-rw-r--r--audio/linux-f10-pulseaudio-libs/Makefile8
-rw-r--r--audio/linux-f10-pulseaudio-libs/files/patch-etc_pulse_client.conf.sample (renamed from audio/linux-f10-pulseaudio-libs/files/patch-etc_pulse_client.conf-dist)4
-rw-r--r--audio/linux-f10-pulseaudio-libs/pkg-plist4
3 files changed, 7 insertions, 9 deletions
diff --git a/audio/linux-f10-pulseaudio-libs/Makefile b/audio/linux-f10-pulseaudio-libs/Makefile
index 050be32b258d..fc7c74f4a7b0 100644
--- a/audio/linux-f10-pulseaudio-libs/Makefile
+++ b/audio/linux-f10-pulseaudio-libs/Makefile
@@ -8,20 +8,20 @@ MASTER_SITES= LOCAL
MASTER_SITE_SUBDIR= netchild/rpms/${LINUX_DIST}${LINUX_DIST_VER}
MAINTAINER= emulation@FreeBSD.org
-COMMENT= Libraries for PulseAudio clients
+COMMENT= Libraries for PulseAudio clients (Linux Fedora 10)
ONLY_FOR_ARCHS= i386 amd64
USE_LINUX= f10
USE_LINUX_RPM= yes
+USE_LINUX_APPS= libasyncns xorglibs
RPMVERSION= 4.fc10
SRC_DISTFILES= ${PORTNAME:S/-libs//}-${PORTVERSION}-${RPMVERSION}${SRC_SUFX}
USE_LDCONFIG= yes
-CONF_FILE= etc/pulse/client.conf
-
pre-patch:
- @${MV} ${WRKSRC}/${CONF_FILE} ${WRKSRC}/${CONF_FILE}-dist
+ @(cd ${WRKSRC}/etc/pulse && ${MV} client.conf client.conf.sample)
+
post-patch:
@${FIND} ${WRKSRC} -name "*.orig" -delete
diff --git a/audio/linux-f10-pulseaudio-libs/files/patch-etc_pulse_client.conf-dist b/audio/linux-f10-pulseaudio-libs/files/patch-etc_pulse_client.conf.sample
index 1ac209b0fa49..6271d209888e 100644
--- a/audio/linux-f10-pulseaudio-libs/files/patch-etc_pulse_client.conf-dist
+++ b/audio/linux-f10-pulseaudio-libs/files/patch-etc_pulse_client.conf.sample
@@ -1,5 +1,5 @@
---- etc/pulse/client.conf-dist.orig 2011-04-01 15:42:58.548733177 +0300
-+++ etc/pulse/client.conf-dist 2011-04-01 15:53:03.306719164 +0300
+--- etc/pulse/client.conf.sample.orig 2011-04-01 15:42:58.548733177 +0300
++++ etc/pulse/client.conf.sample 2011-04-01 15:53:03.306719164 +0300
@@ -23,11 +23,11 @@
; default-source =
; default-server =
diff --git a/audio/linux-f10-pulseaudio-libs/pkg-plist b/audio/linux-f10-pulseaudio-libs/pkg-plist
index 8c7b66fa1128..e91b591ffa9a 100644
--- a/audio/linux-f10-pulseaudio-libs/pkg-plist
+++ b/audio/linux-f10-pulseaudio-libs/pkg-plist
@@ -1,6 +1,4 @@
-@unexec if cmp -s %D/etc/pulse/client.conf-dist %D/etc/pulse/client.conf; then rm -f %D/etc/pulse/client.conf; fi
-etc/pulse/client.conf-dist
-@exec if [ ! -f %D/etc/pulse/client.conf ] ; then cp -p %D/%F %B/client.conf; fi
+@sample etc/pulse/client.conf.sample
usr/lib/libpulse-simple.so.0
usr/lib/libpulse-simple.so.0.0.2
usr/lib/libpulse.so.0