summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Huddleston <eradicator@gentoo.org>2004-12-08 09:54:15 +0000
committerJeremy Huddleston <eradicator@gentoo.org>2004-12-08 09:54:15 +0000
commit17ef428afd2a9bcd035cf2bd99a9dc90659c0fdb (patch)
tree4e0729386b9e7ebfd56a52b5fcd3dced89538d98 /media-sound/alsa-driver
parentgcc34 patch from Marco Squarcina via bug #73763 (diff)
downloadhistorical-17ef428afd2a9bcd035cf2bd99a9dc90659c0fdb.tar.gz
historical-17ef428afd2a9bcd035cf2bd99a9dc90659c0fdb.tar.bz2
historical-17ef428afd2a9bcd035cf2bd99a9dc90659c0fdb.zip
Make sure the user isn't using OSS Drivers in the kernel.
Diffstat (limited to 'media-sound/alsa-driver')
-rw-r--r--media-sound/alsa-driver/ChangeLog6
-rw-r--r--media-sound/alsa-driver/Manifest34
-rw-r--r--media-sound/alsa-driver/alsa-driver-1.0.7-r3.ebuild47
3 files changed, 46 insertions, 41 deletions
diff --git a/media-sound/alsa-driver/ChangeLog b/media-sound/alsa-driver/ChangeLog
index 50788a9d37d0..74e810ee7862 100644
--- a/media-sound/alsa-driver/ChangeLog
+++ b/media-sound/alsa-driver/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for media-sound/alsa-driver
# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/alsa-driver/ChangeLog,v 1.117 2004/12/04 10:12:26 eradicator Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/alsa-driver/ChangeLog,v 1.118 2004/12/08 09:54:15 eradicator Exp $
+
+ 08 Dec 2004; Jeremy Huddleston <eradicator@gentoo.org>
+ alsa-driver-1.0.7-r3.ebuild:
+ Make sure the user isn't using OSS Drivers in the kernel.
04 Dec 2004; Jeremy Huddleston <eradicator@gentoo.org>
files/alsa-driver-1.0.7-configure.patch:
diff --git a/media-sound/alsa-driver/Manifest b/media-sound/alsa-driver/Manifest
index 5e4535be2819..fcad83fde0fc 100644
--- a/media-sound/alsa-driver/Manifest
+++ b/media-sound/alsa-driver/Manifest
@@ -1,33 +1,33 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
-MD5 61abb6196f55fddfaf68b45fecd62178 alsa-driver-1.0.7-r3.ebuild 3529
-MD5 9f0283e4e9611766ad3110532d4976d7 alsa-driver-1.0.5a.ebuild 3603
+MD5 0fe4a5d190b60a7696af2e553d1a356e ChangeLog 20486
+MD5 d388a1b0706024ddccccc99045b976f9 alsa-driver-0.9.8.ebuild 2341
+MD5 d97bd9215a401af2d4d9f5576be94a01 alsa-driver-1.0.7-r3.ebuild 3673
MD5 e5de43659b629d1e9f0ee8d3f1864840 alsa-driver-1.0.3.ebuild 3363
-MD5 2e589555c3a7b2e097179e311218e7f3 ChangeLog 20337
MD5 a1eaeb2ae801daeb712c90c060e922dc metadata.xml 158
+MD5 9f0283e4e9611766ad3110532d4976d7 alsa-driver-1.0.5a.ebuild 3603
MD5 45f95cf50aad5f544f0fa05dcf94d1ad alsa-driver-1.0.6a.ebuild 3501
-MD5 d388a1b0706024ddccccc99045b976f9 alsa-driver-0.9.8.ebuild 2341
-MD5 deb0bfd8e2cfe0ba434fb5a820294502 files/digest-alsa-driver-1.0.5a 72
-MD5 e1b13905eac70fe728dcb85fcaac27a9 files/digest-alsa-driver-1.0.6a 72
-MD5 8bb31a005a1db2e306c51d017fd44e70 files/alsa-driver-1.0.5a-xbox-ac97.patch 721
-MD5 27ccbe36406f145c1d63725a53517233 files/makefile.patch 1122
-MD5 27684bd356b1a43809d3f8c847a6abce files/alsa-driver-1.0.6a-kbuild.patch 575
+MD5 bc0105e64f35a41aa0602c43e7f09733 files/alsa-driver-1.0.7-configure.patch 21924
+MD5 8c120f7730b91118d0a8148d2deb3a43 files/alsa-driver-0.9.8-au-fix.patch 1267
+MD5 1d70561326ef89e94179634d92782610 files/alsa-driver-1.0.4-devfix.patch 2756
MD5 08af7cfec9cd33819c62880d6219f3a5 files/alsa-driver-1.0.5-devfix.patch 763
-MD5 f9d35aa6adca1137e05b1cb8852ff672 files/alsa-driver-1.0.6a-emu10k1-passthrough.patch 658
+MD5 831a1a1097613c2444cc3e512ff09a01 files/alsa-driver-1.0.7-audigy71.patch 643
MD5 439dab13c036317c9b308b234ecf7290 files/digest-alsa-driver-0.9.8 71
+MD5 e1b13905eac70fe728dcb85fcaac27a9 files/digest-alsa-driver-1.0.6a 72
MD5 938a2ee36c54416322d1acd47b249c99 files/digest-alsa-driver-1.0.3 71
+MD5 27684bd356b1a43809d3f8c847a6abce files/alsa-driver-1.0.6a-kbuild.patch 575
+MD5 f9d35aa6adca1137e05b1cb8852ff672 files/alsa-driver-1.0.6a-emu10k1-passthrough.patch 658
+MD5 27ccbe36406f145c1d63725a53517233 files/makefile.patch 1122
+MD5 deb0bfd8e2cfe0ba434fb5a820294502 files/digest-alsa-driver-1.0.5a 72
MD5 a2ee6fa920bbac70835b4a58e5759e8c files/alsa-driver-1.0.5a-cs46xx-passthrough.patch 446
-MD5 831a1a1097613c2444cc3e512ff09a01 files/alsa-driver-1.0.7-audigy71.patch 643
-MD5 1d70561326ef89e94179634d92782610 files/alsa-driver-1.0.4-devfix.patch 2756
-MD5 8c120f7730b91118d0a8148d2deb3a43 files/alsa-driver-0.9.8-au-fix.patch 1267
+MD5 8bb31a005a1db2e306c51d017fd44e70 files/alsa-driver-1.0.5a-xbox-ac97.patch 721
MD5 4d7c4de4eaa3007e13360d7434ecb284 files/alsa-driver-1.0.7-ioctl32.patch-r2 44165
MD5 479ee887025f4ce7944adee1e4a6fdf3 files/digest-alsa-driver-1.0.7-r3 71
-MD5 bc0105e64f35a41aa0602c43e7f09733 files/alsa-driver-1.0.7-configure.patch 21924
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)
-iD8DBQFBswLRKiUX0BdHiZkRAqcpAJ9Man8BfI9NV8PfbDrrp2UnjIGU0gCfSIeF
-0It6w/zovWObST1hWVdF4kM=
-=BM3d
+iD8DBQFBts+DArHZZzCEUG0RAhSgAJ9Zg1NzlZQce1W50qtr9LnovwxiywCfebKZ
+jJMt3+z/KEfE8Rgc3YZJ9OE=
+=fJBU
-----END PGP SIGNATURE-----
diff --git a/media-sound/alsa-driver/alsa-driver-1.0.7-r3.ebuild b/media-sound/alsa-driver/alsa-driver-1.0.7-r3.ebuild
index 7f005c84cc6d..859025bb538e 100644
--- a/media-sound/alsa-driver/alsa-driver-1.0.7-r3.ebuild
+++ b/media-sound/alsa-driver/alsa-driver-1.0.7-r3.ebuild
@@ -1,6 +1,6 @@
# 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.7-r3.ebuild,v 1.4 2004/12/05 12:44:55 johnm Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/alsa-driver/alsa-driver-1.0.7-r3.ebuild,v 1.5 2004/12/08 09:54:15 eradicator Exp $
IUSE="oss doc"
inherit linux-mod flag-o-matic eutils
@@ -17,16 +17,34 @@ SLOT="0"
KEYWORDS="~alpha ~amd64 ~ia64 ~mips ~ppc ~sparc ~x86"
RDEPEND="virtual/modutils
- ~media-sound/alsa-headers-${PV}"
+ ~media-sound/alsa-headers-${PV}"
DEPEND="${RDEPEND}
- sys-devel/patch
- virtual/linux-sources
- >=sys-devel/autoconf-2.50
- sys-apps/debianutils"
+ sys-devel/patch
+ virtual/linux-sources
+ >=sys-devel/autoconf-2.50
+ sys-apps/debianutils"
PROVIDE="virtual/alsa"
+pkg_setup() {
+ CONFIG_CHECK="SOUND !SND !SOUND_PRIME"
+ SND_ERROR="ALSA is already compiled into the kernel."
+ SOUND_ERROR="Your kernel doesn't have sound support enabled."
+ SOUND_PRIME_ERROR="Your kernel is configured to use the deprecated OSS drivers. Please disable them and re-emerge alsa-driver."
+
+ linux-mod_pkg_setup
+
+ # 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}
@@ -107,23 +125,6 @@ src_install() {
fi
}
-pkg_setup() {
- CONFIG_CHECK="SOUND !SND"
- SND_ERROR="ALSA is already compiled into the kernel."
- SOUND_ERROR="Your kernel doesn't have sound support enabled."
-
- linux-mod_pkg_setup
-
- # 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
-}
-
pkg_postinst() {
einfo
einfo "The alsasound initscript and modules.d/alsa have now moved to alsa-utils"