summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-sound/alsa-driver/alsa-driver-1.0.6a.ebuild')
-rw-r--r--media-sound/alsa-driver/alsa-driver-1.0.6a.ebuild44
1 files changed, 21 insertions, 23 deletions
diff --git a/media-sound/alsa-driver/alsa-driver-1.0.6a.ebuild b/media-sound/alsa-driver/alsa-driver-1.0.6a.ebuild
index 0c158c8eff18..67cdfd2c20c6 100644
--- a/media-sound/alsa-driver/alsa-driver-1.0.6a.ebuild
+++ b/media-sound/alsa-driver/alsa-driver-1.0.6a.ebuild
@@ -1,23 +1,21 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/alsa-driver/alsa-driver-1.0.6a.ebuild,v 1.4 2004/11/04 01:47:06 geoman Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/alsa-driver/alsa-driver-1.0.6a.ebuild,v 1.5 2004/11/12 10:41:43 eradicator Exp $
+
+IUSE="oss"
inherit kernel-mod flag-o-matic eutils
+MY_P=${P/_rc/rc}
+S=${WORKDIR}/${MY_P}
+
DESCRIPTION="Advanced Linux Sound Architecture kernel modules"
HOMEPAGE="http://www.alsa-project.org/"
-LICENSE="GPL-2 LGPL-2.1"
-
-# By default, drivers for all supported cards will be compiled.
-# If you want to only compile for specific card(s), set ALSA_CARDS
-# environment to a space-separated list of drivers that you want to build.
-# For example:
-#
-# env ALSA_CARDS='emu10k1 intel8x0 ens1370' emerge alsa-driver
-#
-[ -z "${ALSA_CARDS}" ] && ALSA_CARDS=all
+SRC_URI="mirror://alsaproject/driver/${P}.tar.bz2"
-IUSE="oss"
+LICENSE="GPL-2 LGPL-2.1"
+SLOT="${KV}"
+KEYWORDS="~alpha amd64 ~ia64 ~mips ~ppc -sparc x86"
RDEPEND="virtual/modutils
~media-sound/alsa-headers-${PV}"
@@ -29,13 +27,14 @@ DEPEND="${RDEPEND}
PROVIDE="virtual/alsa"
-SLOT="${KV}"
-KEYWORDS="x86 ~ppc -sparc amd64 ~alpha ~ia64 ~mips"
-
-MY_P=${P/_rc/rc}
-SRC_URI="mirror://alsaproject/driver/${P}.tar.bz2"
-# nouserpriv is neccessary for 2.6.x kernels... Hopefully the ALSA guys will figure out another way to do this...
-S=${WORKDIR}/${MY_P}
+# By default, drivers for all supported cards will be compiled.
+# If you want to only compile for specific card(s), set ALSA_CARDS
+# environment to a space-separated list of drivers that you want to build.
+# For example:
+#
+# env ALSA_CARDS='emu10k1 intel8x0 ens1370' emerge alsa-driver
+#
+[ -z "${ALSA_CARDS}" ] && ALSA_CARDS=all
src_unpack() {
unpack ${A}
@@ -43,10 +42,6 @@ src_unpack() {
cd ${S}
epatch ${FILESDIR}/${PN}-1.0.5-devfix.patch
epatch ${FILESDIR}/${PN}-1.0.5a-cs46xx-passthrough.patch
- epatch ${FILESDIR}/${PN}-1.0.6a-emu10k1-passthrough.patch
-
- # SUBDIRS -> M
- epatch ${FILESDIR}/${P}-kbuild.patch
if [ "${PROFILE_ARCH}" == "xbox" ]; then
epatch ${FILESDIR}/${PN}-1.0.5a-xbox-ac97.patch
@@ -66,6 +61,9 @@ src_unpack() {
# Copy everything over to our tmp dir...
cp -a ${FULL_KERNEL_PATH} ${T}/linux
+ else
+ # SUBDIRS -> M
+ epatch ${FILESDIR}/${PN}-1.0.6a-kbuild.patch
fi
}