summaryrefslogtreecommitdiff
path: root/emulators
diff options
context:
space:
mode:
authorahoka <ahoka@pkgsrc.org>2011-02-08 20:17:14 +0000
committerahoka <ahoka@pkgsrc.org>2011-02-08 20:17:14 +0000
commit1c9a85762e4323958c01235f7f995aa6671ba08e (patch)
tree3e6bd8832644889e185d585345ca713d755ae9c4 /emulators
parentaa25a220629b7a8c8e0f9a742564d26795ab4dab (diff)
downloadpkgsrc-1c9a85762e4323958c01235f7f995aa6671ba08e.tar.gz
Make asound output to pulseaudio instead of alsa by default
this makes adobe Flash work out of the box. OSS was considered, but it makes Flash very slow for some reason...
Diffstat (limited to 'emulators')
-rw-r--r--emulators/suse113_alsa/Makefile10
-rw-r--r--emulators/suse113_alsa/PLIST2
2 files changed, 10 insertions, 2 deletions
diff --git a/emulators/suse113_alsa/Makefile b/emulators/suse113_alsa/Makefile
index 2d94f8771ee..f263c4e1bca 100644
--- a/emulators/suse113_alsa/Makefile
+++ b/emulators/suse113_alsa/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.2 2010/12/03 00:19:18 wiz Exp $
+# $NetBSD: Makefile,v 1.3 2011/02/08 20:17:14 ahoka Exp $
DISTNAME= suse_alsa-${SUSE_VERSION}
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= emulators
DISTFILES= alsa-1.0.23-2.12.${SUSE_ARCH}.rpm \
alsa-oss-1.0.17-29.2.${SUSE_ARCH}.rpm \
@@ -15,5 +15,11 @@ COMMENT= Linux compatibility package for ALSA
EMUL_MODULES.linux= base
+PLIST_SRC= ${PKGDIR}/PLIST ${RPM2PKG_PLIST}
+
+post-install:
+ ln -sf ${DESTDIR}${PREFIX}/${EMULSUBDIR}/etc/alsa-pulse.conf \
+ ${DESTDIR}${PREFIX}/${EMULSUBDIR}/etc/asound.conf
+
.include "../../emulators/suse113_linux/Makefile.common"
.include "../../mk/bsd.pkg.mk"
diff --git a/emulators/suse113_alsa/PLIST b/emulators/suse113_alsa/PLIST
new file mode 100644
index 00000000000..80e1b808163
--- /dev/null
+++ b/emulators/suse113_alsa/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1 2011/02/08 20:17:14 ahoka Exp $
+${EMULSUBDIRSLASH}etc/asound.conf