summaryrefslogtreecommitdiff
path: root/audio/linux-f10-alsa-lib
diff options
context:
space:
mode:
authorJohn Marino <marino@FreeBSD.org>2014-11-25 18:20:28 +0000
committerJohn Marino <marino@FreeBSD.org>2014-11-25 18:20:28 +0000
commit1aaf3941aa56f0e7b4941067b1017c28d394f1cd (patch)
treea55ae77233061ba39a80a834c79c06c897460dfe /audio/linux-f10-alsa-lib
parentUpdate to 1.4.103 (diff)
audio/linux-f10-alsa-lib: Use OSS plugin by default
This patch makes alsa work by default with OSS plugin, similar to audio/alsa-lib. Uses system asound.conf now (f10 and c6), v1.1 - fixes aplay(1) from non-existent audio/linux-f10-alsa-utils - fixes HTML5 audio for www/linux-firefox (when USE_LINUX=f10) untested: - if non-existent "Open Sound System" plugin graciously falls back to default plugin if present in application configuration - if audio capture works the same in net-im/skype - if audio capture works the same in www/linux-*-flashplugin11 - webcam PR: 169896 Submitted by: Jan Beich Approved by: maintainer timeout (16 months?)
Notes
Notes: svn path=/head/; revision=373425
Diffstat (limited to 'audio/linux-f10-alsa-lib')
-rw-r--r--audio/linux-f10-alsa-lib/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/audio/linux-f10-alsa-lib/Makefile b/audio/linux-f10-alsa-lib/Makefile
index 856d7a0e3d39..c0bcdea33573 100644
--- a/audio/linux-f10-alsa-lib/Makefile
+++ b/audio/linux-f10-alsa-lib/Makefile
@@ -10,6 +10,8 @@ MASTER_SITES= CRITICAL/rpm/${LINUX_RPM_ARCH}/fedora/${LINUX_DIST_VER}
MAINTAINER= emulation@FreeBSD.org
COMMENT= Advanced Linux Sound Architecture libraries (Linux Fedora 10)
+RUN_DEPENDS= ${LOCALBASE}/etc/asound.conf:${PORTSDIR}/audio/alsa-lib
+
CONFLICTS= linux-alsa-lib-[0-9]* linux-f8-alsa-lib-[0-9]*
ONLY_FOR_ARCHS= i386 amd64
@@ -20,10 +22,15 @@ RPMVERSION= 2.fc10
BRANDELF_FILES= usr/bin/aserver
USE_LDCONFIG= yes
+# We will use native configuration file, so delete a linux one
+post-extract:
+ @${RM} -r ${WRKSRC}/etc
+
post-install:
+ @${MKDIR} ${STAGEDIR}${PREFIX}/etc
+ ${LN} -fs ${LOCALBASE}/etc/asound.conf ${STAGEDIR}${PREFIX}/etc
${RM} ${STAGEDIR}${PREFIX}/usr/lib/alsa-lib/smixer/smixer-ac97.la
${RM} ${STAGEDIR}${PREFIX}/usr/lib/alsa-lib/smixer/smixer-hda.la
${RM} ${STAGEDIR}${PREFIX}/usr/lib/alsa-lib/smixer/smixer-sbase.la
-
.include <bsd.port.mk>