summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2002-11-06 04:35:50 +0000
committerMike Frysinger <vapier@gentoo.org>2002-11-06 04:35:50 +0000
commit71d62afacbfb7a46b12a1fa884e5edcda6e46d76 (patch)
treed0f9aefc2e09739897a9fa62aa32ac8c685460b7 /media-sound
parentFixed guile dep (#10306) (diff)
downloadhistorical-71d62afacbfb7a46b12a1fa884e5edcda6e46d76.tar.gz
historical-71d62afacbfb7a46b12a1fa884e5edcda6e46d76.tar.bz2
historical-71d62afacbfb7a46b12a1fa884e5edcda6e46d76.zip
enable more things by default
Diffstat (limited to 'media-sound')
-rw-r--r--media-sound/emu10k1/ChangeLog7
-rw-r--r--media-sound/emu10k1/emu10k1-0.20a-r1.ebuild64
-rw-r--r--media-sound/emu10k1/files/digest-emu10k1-0.20a-r11
3 files changed, 71 insertions, 1 deletions
diff --git a/media-sound/emu10k1/ChangeLog b/media-sound/emu10k1/ChangeLog
index d4dd6807674f..80c2169af943 100644
--- a/media-sound/emu10k1/ChangeLog
+++ b/media-sound/emu10k1/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for media-sound/emu10k1
# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/emu10k1/ChangeLog,v 1.1 2002/11/05 18:03:24 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/emu10k1/ChangeLog,v 1.2 2002/11/06 04:35:50 vapier Exp $
+
+*emu10k1-0.20a-r1 (05 Nov 2002)
+
+ 05 Nov 2002; Mike Frysinger <vapier@gentoo.org> :
+ Made default .conf have more options enabled.
*emu10k1-0.20a (05 Nov 2002)
diff --git a/media-sound/emu10k1/emu10k1-0.20a-r1.ebuild b/media-sound/emu10k1/emu10k1-0.20a-r1.ebuild
new file mode 100644
index 000000000000..f2f7f5687f6d
--- /dev/null
+++ b/media-sound/emu10k1/emu10k1-0.20a-r1.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/emu10k1/emu10k1-0.20a-r1.ebuild,v 1.1 2002/11/06 04:35:50 vapier Exp $
+
+MY_P="${P/-/-v}"
+DESCRIPTION="Drivers, utilities, and effects for Sound Blaster cards (SBLive!, SB512, Audigy)"
+SRC_URI="mirror://sourceforge/emu10k1/${MY_P}.tar.bz2"
+HOMEPAGE="http://www.sourceforge.net/projects/emu10k1/"
+
+DEPEND="virtual/linux-sources"
+RDEPEND="media-sound/aumix"
+
+KEYWORDS="x86 -ppc -sparc -sparc64 -alpha"
+SLOT="${KV}"
+LICENSE="GPL-2"
+
+S="${WORKDIR}/${MY_P}"
+
+pkg_setup() {
+ [ -z "$KV" ] && die "Couldn't detect kernel version. Does /usr/src/linux exist?"
+ return 0
+}
+
+src_compile() {
+ echo "SEQUENCER_SUPPORT := y" > config
+ echo "DBGEMU := n" >> config
+
+ export KERNEL_SOURCE=/usr/src/linux
+ make || die "make failed"
+ make all || die "make all failed"
+ make tools || die "make tools failed"
+}
+
+src_install() {
+ insinto /etc/modules.d
+ newins ${FILESDIR}/modules-emu10k1 emu10k1
+
+ # first install the main parts
+ make DESTDIR=${D} install || die "could not install"
+
+ # now fix up the script so it'll install into /usr and not /usr/local
+ for f in ${S}/utils/{Makefile.config,scripts/{audigy,emu}-script} ; do
+ cp ${f} ${f}.old
+ sed -e 's:/usr/local:/usr:g' ${f}.old > ${f}
+ done
+ make DESTDIR=${D} install-tools || die "could not install tools"
+
+ # clean up the /usr/etc directory
+ cd ${D}/usr/etc
+ mv `find -type f -perm +1` ../bin/
+ mv * ${D}/etc/
+ cd ${D}
+ rm -rf ${D}/usr/etc
+
+ # clean up the scripts
+ dosed 's:$BASE_PATH/etc:/etc:g' /usr/bin/emu-script
+ dosed 's:/bin/aumix-minimal:/usr/bin/aumix:g' /usr/bin/audigy-script
+ dosed 's:/etc/.aumixrc:/etc/aumixrc:g' /usr/bin/audigy-script
+
+ # change default settings
+ dosed 's:AC3PASSTHROUGH=no:AC3PASSTHROUGH=yes:' /etc/emu10k1.conf
+ dosed 's:ANALOG_FRONT_BOOST=no:ANALOG_FRONT_BOOST=yes:' /etc/emu10k1.conf
+ dosed 's:SURROUND=no:SURROUND=yes:' /etc/emu10k1.conf
+}
diff --git a/media-sound/emu10k1/files/digest-emu10k1-0.20a-r1 b/media-sound/emu10k1/files/digest-emu10k1-0.20a-r1
new file mode 100644
index 000000000000..c5afcbd75a1f
--- /dev/null
+++ b/media-sound/emu10k1/files/digest-emu10k1-0.20a-r1
@@ -0,0 +1 @@
+MD5 ffeab46e1b5ff9fd834dc78e240edf4b emu10k1-v0.20a.tar.bz2 286000