diff options
author | Jeremy Huddleston <eradicator@gentoo.org> | 2004-09-22 09:32:22 +0000 |
---|---|---|
committer | Jeremy Huddleston <eradicator@gentoo.org> | 2004-09-22 09:32:22 +0000 |
commit | ce7d4849b98b98fa409366a92ed78fab68c30f39 (patch) | |
tree | e95994262b3a126c83e0e892e99500428915ee22 /media-sound/alsa-driver | |
parent | Stable amd64, x86. (Manifest recommit) (diff) | |
download | gentoo-2-ce7d4849b98b98fa409366a92ed78fab68c30f39.tar.gz gentoo-2-ce7d4849b98b98fa409366a92ed78fab68c30f39.tar.bz2 gentoo-2-ce7d4849b98b98fa409366a92ed78fab68c30f39.zip |
Stable amd64, x86. Fixed build process to work on newer 2.6 kernels without needing to copy over the kernel source tree.
Diffstat (limited to 'media-sound/alsa-driver')
-rw-r--r-- | media-sound/alsa-driver/ChangeLog | 6 | ||||
-rw-r--r-- | media-sound/alsa-driver/Manifest | 2 | ||||
-rw-r--r-- | media-sound/alsa-driver/alsa-driver-1.0.6a.ebuild | 18 | ||||
-rw-r--r-- | media-sound/alsa-driver/files/alsa-driver-1.0.6a-kbuild.patch | 12 |
4 files changed, 27 insertions, 11 deletions
diff --git a/media-sound/alsa-driver/ChangeLog b/media-sound/alsa-driver/ChangeLog index 59f9459dbcfc..54723699b8ce 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.93 2004/08/23 21:44:53 eradicator Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-sound/alsa-driver/ChangeLog,v 1.94 2004/09/22 09:32:22 eradicator Exp $ + + 22 Sep 2004; Jeremy Huddleston <eradicator@gentoo.org> : + Stable amd64, x86. Fixed build process to work on newer 2.6 kernels without + needing to copy over the kernel source tree. *alsa-driver-1.0.6a (23 Aug 2004) diff --git a/media-sound/alsa-driver/Manifest b/media-sound/alsa-driver/Manifest index ea71ce06afe1..d7b3a5359e1b 100644 --- a/media-sound/alsa-driver/Manifest +++ b/media-sound/alsa-driver/Manifest @@ -7,6 +7,7 @@ MD5 87851d35260feae60bf8c93050966c03 ChangeLog 16232 MD5 a1eaeb2ae801daeb712c90c060e922dc metadata.xml 158 MD5 9f0283e4e9611766ad3110532d4976d7 alsa-driver-1.0.5a.ebuild 3603 MD5 f72c3ee48d93c2db232bf11d32916377 alsa-driver-1.0.6a.ebuild 3627 +MD5 9eb21db11689f6c96428aead0a7f9589 alsa-driver-1.0.6a-r1.ebuild 2678 MD5 038c19b8373300acfa319a0e6c73fb52 files/alsasound 4611 MD5 45f2cf526eaa8ff274ac6876f15302d1 files/alsa 518 MD5 87448a6155eb013f2b14e4a531ffc25a files/alsa-driver-0.9.0rc1-ppc.patch 358 @@ -21,6 +22,7 @@ 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 e1b13905eac70fe728dcb85fcaac27a9 files/digest-alsa-driver-1.0.6a-r1 72 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 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 6cd1aad1dcd9..8dc23b92433f 100644 --- a/media-sound/alsa-driver/alsa-driver-1.0.6a.ebuild +++ b/media-sound/alsa-driver/alsa-driver-1.0.6a.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.6a.ebuild,v 1.1 2004/08/23 21:44:53 eradicator Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-sound/alsa-driver/alsa-driver-1.0.6a.ebuild,v 1.2 2004/09/22 09:32:22 eradicator Exp $ inherit kernel-mod flag-o-matic eutils @@ -30,7 +30,7 @@ DEPEND="${RDEPEND} PROVIDE="virtual/alsa" SLOT="${KV}" -KEYWORDS="~x86 ~ppc -sparc ~amd64 ~alpha ~ia64" +KEYWORDS="x86 ~ppc -sparc amd64 ~alpha ~ia64" MY_P=${P/_rc/rc} SRC_URI="mirror://alsaproject/driver/${P}.tar.bz2" @@ -42,14 +42,16 @@ src_unpack() { cd ${S} epatch ${FILESDIR}/${PN}-1.0.5-devfix.patch - epatch ${FILESDIR}/${PN}-1.0.5a-cs46xx-passthrough.patch + # SUBDIRS -> M + epatch ${FILESDIR}/${P}-kbuild.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 + if kernel-mod_is_2_5_kernel || (kernel-mod_is_2_6_kernel && [ ${KV_PATCH} -lt 6 ]); then FULL_KERNEL_PATH="${ROOT}/usr/src/${KV_DIR}" if ! [ -d "${FULL_KERNEL_PATH}" ]; then @@ -68,16 +70,11 @@ src_unpack() { 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` \ @@ -89,7 +86,8 @@ src_compile() { # Should fix bug #46901 is-flag "-malign-double" && filter-flags "-fomit-frame-pointer" - emake ARCH="${KER_ARCH}" || die "Parallel Make Failed" + unset ARCH + emake || die "Parallel Make Failed" } diff --git a/media-sound/alsa-driver/files/alsa-driver-1.0.6a-kbuild.patch b/media-sound/alsa-driver/files/alsa-driver-1.0.6a-kbuild.patch new file mode 100644 index 000000000000..a85165a5dbcd --- /dev/null +++ b/media-sound/alsa-driver/files/alsa-driver-1.0.6a-kbuild.patch @@ -0,0 +1,12 @@ +diff -Naur alsa-driver-1.0.6a.orig/Makefile alsa-driver-1.0.6a/Makefile +--- alsa-driver-1.0.6a.orig/Makefile 2004-06-09 10:33:47.000000000 -0700 ++++ alsa-driver-1.0.6a/Makefile 2004-09-22 02:23:58.924678651 -0700 +@@ -103,7 +103,7 @@ + .PHONY: compile + compile: include/sound/version.h include/sndversions.h + ifdef NEW_KBUILD +- $(MAKE) -C $(CONFIG_SND_KERNELDIR) SUBDIRS=$(MAINSRCDIR)/kbuild $(MAKE_ADDS) modules ++ $(MAKE) -C $(CONFIG_SND_KERNELDIR) M=$(MAINSRCDIR)/kbuild $(MAKE_ADDS) modules + else + @for d in $(SUBDIRS); do if ! $(MAKE) -C $$d; then exit 1; fi; done + endif |