diff options
author | Jeremy Huddleston <eradicator@gentoo.org> | 2004-08-23 21:45:19 +0000 |
---|---|---|
committer | Jeremy Huddleston <eradicator@gentoo.org> | 2004-08-23 21:45:19 +0000 |
commit | d530e539d5117f971cace9e25ce863440fb83513 (patch) | |
tree | 4c33c2d622dbc9eed3c0be3d9bf44e8a049a0b20 /media-sound/alsa-driver | |
parent | Clean up (Manifest recommit) (diff) | |
download | gentoo-2-d530e539d5117f971cace9e25ce863440fb83513.tar.gz gentoo-2-d530e539d5117f971cace9e25ce863440fb83513.tar.bz2 gentoo-2-d530e539d5117f971cace9e25ce863440fb83513.zip |
Version bump.
Diffstat (limited to 'media-sound/alsa-driver')
-rw-r--r-- | media-sound/alsa-driver/ChangeLog | 8 | ||||
-rw-r--r-- | media-sound/alsa-driver/Manifest | 2 | ||||
-rw-r--r-- | media-sound/alsa-driver/alsa-driver-1.0.6a.ebuild | 126 | ||||
-rw-r--r-- | media-sound/alsa-driver/files/digest-alsa-driver-1.0.6a | 1 |
4 files changed, 136 insertions, 1 deletions
diff --git a/media-sound/alsa-driver/ChangeLog b/media-sound/alsa-driver/ChangeLog index 807fcbe43a36..59f9459dbcfc 100644 --- a/media-sound/alsa-driver/ChangeLog +++ b/media-sound/alsa-driver/ChangeLog @@ -1,6 +1,12 @@ # 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.92 2004/07/24 05:44:34 eradicator Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-sound/alsa-driver/ChangeLog,v 1.93 2004/08/23 21:44:53 eradicator Exp $ + +*alsa-driver-1.0.6a (23 Aug 2004) + + 23 Aug 2004; Jeremy Huddleston <eradicator@gentoo.org> + +alsa-driver-1.0.6a.ebuild: + Version bump. 23 Jul 2004; Jeremy Huddleston <eradicator@gentoo.org> -alsa-driver-1.0.2c.ebuild, -alsa-driver-1.0.4-r1.ebuild, diff --git a/media-sound/alsa-driver/Manifest b/media-sound/alsa-driver/Manifest index 0adfe333eef9..af036f86efa4 100644 --- a/media-sound/alsa-driver/Manifest +++ b/media-sound/alsa-driver/Manifest @@ -6,6 +6,7 @@ MD5 d388a1b0706024ddccccc99045b976f9 alsa-driver-0.9.8.ebuild 2341 MD5 e5de43659b629d1e9f0ee8d3f1864840 alsa-driver-1.0.3.ebuild 3363 MD5 a1eaeb2ae801daeb712c90c060e922dc metadata.xml 158 MD5 9f0283e4e9611766ad3110532d4976d7 alsa-driver-1.0.5a.ebuild 3603 +MD5 9f0283e4e9611766ad3110532d4976d7 alsa-driver-1.0.6a.ebuild 3603 MD5 038c19b8373300acfa319a0e6c73fb52 files/alsasound 4611 MD5 45f2cf526eaa8ff274ac6876f15302d1 files/alsa 518 MD5 87448a6155eb013f2b14e4a531ffc25a files/alsa-driver-0.9.0rc1-ppc.patch 358 @@ -18,6 +19,7 @@ MD5 ac8c1852768868cb9c61a07e6baddc3a files/digest-alsa-driver-0.5.12a 72 MD5 e3912a14a13dae85c5ee17f351733bae files/digest-alsa-driver-0.9.0_rc2 74 MD5 5283280b5f72b9ea25f3e1e1adcde464 files/digest-alsa-driver-0.9.2 71 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 27ccbe36406f145c1d63725a53517233 files/makefile.patch 1122 MD5 deb0bfd8e2cfe0ba434fb5a820294502 files/digest-alsa-driver-1.0.5a 72 diff --git a/media-sound/alsa-driver/alsa-driver-1.0.6a.ebuild b/media-sound/alsa-driver/alsa-driver-1.0.6a.ebuild new file mode 100644 index 000000000000..6cd1aad1dcd9 --- /dev/null +++ b/media-sound/alsa-driver/alsa-driver-1.0.6a.ebuild @@ -0,0 +1,126 @@ +# 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.1 2004/08/23 21:44:53 eradicator Exp $ + +inherit kernel-mod flag-o-matic eutils + +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 + +IUSE="oss" + +RDEPEND="virtual/modutils + ~media-sound/alsa-headers-${PV}" + +DEPEND="${RDEPEND} + virtual/linux-sources + sys-devel/autoconf + sys-apps/debianutils" + +PROVIDE="virtual/alsa" + +SLOT="${KV}" +KEYWORDS="~x86 ~ppc -sparc ~amd64 ~alpha ~ia64" + +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} + +src_unpack() { + unpack ${A} + + cd ${S} + epatch ${FILESDIR}/${PN}-1.0.5-devfix.patch + + epatch ${FILESDIR}/${PN}-1.0.5a-cs46xx-passthrough.patch + + if [ "${PROFILE_ARCH}" == "xbox" ]; then + epatch ${FILESDIR}/${PN}-1.0.5a-xbox-ac97.patch + fi + + if kernel-mod_is_2_6_kernel || kernel-mod_is_2_5_kernel; then + FULL_KERNEL_PATH="${ROOT}/usr/src/${KV_DIR}" + + if ! [ -d "${FULL_KERNEL_PATH}" ]; then + eerror "An error seems to have occurred. We looked in ${FULL_KERNEL_PATH} for your kernel sources, but we didn't see them." + die "ALSA driver configuration failure." + fi + + einfo "A 2.5 or 2.6 kernel was detected. We are copying the kernel source tree from" + einfo "${FULL_KERNEL_PATH} to ${T}/linux" + einfo "because the alsa-driver build process overwrites files in the 2.6.x kernel tree." + + # Copy everything over to our tmp dir... + cp -a ${FULL_KERNEL_PATH} ${T}/linux + fi +} + +src_compile() { + # Default ARCH & kernel path to set in compilation and make + KER_ARCH=${ARCH} + KER_DIR=${KERNEL_DIR} + + # If we're using a 2.5 or 2.6 kernel, use our copied kernel tree. + if [ -d "${T}/linux" ]; then + KER_DIR="${T}/linux" + + # Set the kernel ARCH + use x86 && KER_ARCH="i386" + use amd64 && KER_ARCH="x86_64" + fi + + econf `use_with oss` \ + --with-kernel="${KER_DIR}" \ + --with-isapnp=yes \ + --with-sequencer=yes \ + --with-cards="${ALSA_CARDS}" || die "econf failed" + + # Should fix bug #46901 + is-flag "-malign-double" && filter-flags "-fomit-frame-pointer" + + emake ARCH="${KER_ARCH}" || die "Parallel Make Failed" +} + + +src_install() { + dodir /usr/include/sound + make DESTDIR=${D} install || die + + # Provided by alsa-headers now + rm -rf ${D}/usr/include/sound + + # We have our own scripts in alsa-utils + test -e ${D}/etc/init.d/alsasound && rm ${D}/etc/init.d/alsasound + test -e ${D}/etc/rc.d/init.d/alsasound && rm ${D}/etc/rc.d/init.d/alsasound + + rm doc/Makefile + dodoc CARDS-STATUS COPYING FAQ INSTALL README WARNING TODO doc/* +} + +pkg_postinst() { + if [ "${ROOT}" = / ] + then + [ -x /usr/sbin/update-modules ] && /usr/sbin/update-modules + fi + + einfo + einfo "The alsasound initscript and modules.d/alsa have now moved to alsa-utils" + einfo + einfo "Also, remember that all mixer channels will be MUTED by default." + einfo "Use the 'alsamixer' program to unmute them." + einfo + einfo "Version 1.0.3 and above should work with version 2.6 kernels." + einfo "If you experience problems, please report bugs to http://bugs.gentoo.org." + einfo +} diff --git a/media-sound/alsa-driver/files/digest-alsa-driver-1.0.6a b/media-sound/alsa-driver/files/digest-alsa-driver-1.0.6a new file mode 100644 index 000000000000..2137a42d5511 --- /dev/null +++ b/media-sound/alsa-driver/files/digest-alsa-driver-1.0.6a @@ -0,0 +1 @@ +MD5 e5baf4561d250c2bdee62332b216c5fc alsa-driver-1.0.6a.tar.bz2 1790858 |