diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2006-04-19 23:27:38 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2006-04-19 23:27:38 +0000 |
commit | 6d9aad54f6f91164581f101d809a7ccc34844393 (patch) | |
tree | a9466d6bc058b3d749de24a61e37e0a096239651 /media-sound | |
parent | Version bump. This version will replace all the old release candidates. (diff) | |
download | gentoo-2-6d9aad54f6f91164581f101d809a7ccc34844393.tar.gz gentoo-2-6d9aad54f6f91164581f101d809a7ccc34844393.tar.bz2 gentoo-2-6d9aad54f6f91164581f101d809a7ccc34844393.zip |
Version bump. This version will replace all the old release candidates.
(Portage version: 2.1_pre7-r5)
Diffstat (limited to 'media-sound')
-rw-r--r-- | media-sound/alsa-driver/ChangeLog | 8 | ||||
-rw-r--r-- | media-sound/alsa-driver/Manifest | 16 | ||||
-rw-r--r-- | media-sound/alsa-driver/alsa-driver-1.0.11.ebuild | 167 | ||||
-rw-r--r-- | media-sound/alsa-driver/files/digest-alsa-driver-1.0.11 | 3 |
4 files changed, 183 insertions, 11 deletions
diff --git a/media-sound/alsa-driver/ChangeLog b/media-sound/alsa-driver/ChangeLog index 4773fb52aa01..abcfc60645e3 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-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/alsa-driver/ChangeLog,v 1.204 2006/04/18 20:44:26 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-sound/alsa-driver/ChangeLog,v 1.205 2006/04/19 23:27:38 flameeyes Exp $ + +*alsa-driver-1.0.11 (19 Apr 2006) + + 19 Apr 2006; Diego Pettenò <flameeyes@gentoo.org> + +alsa-driver-1.0.11.ebuild: + Version bump. This version will replace all the old release candidates. 18 Apr 2006; Diego Pettenò <flameeyes@gentoo.org> +files/alsa-driver-1.0.11_rc5-powermac.patch, diff --git a/media-sound/alsa-driver/Manifest b/media-sound/alsa-driver/Manifest index 82747936663d..9e75606eb264 100644 --- a/media-sound/alsa-driver/Manifest +++ b/media-sound/alsa-driver/Manifest @@ -1,12 +1,12 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - MD5 4dcf9501dbe6d2412345e77e51a93b64 ChangeLog 35144 RMD160 5ced94b171556347ee59a2e1eadd8ceaa0c4dfaf ChangeLog 35144 SHA256 66d30fced6e268b474eb7e1c95b680ee3ec53c3a3de1165f1636a496d34ab6e7 ChangeLog 35144 MD5 9916e84eeec916e6f6ec0f3aeffccb6a alsa-driver-1.0.10-r2.ebuild 4791 RMD160 4940a1d64edb487b93b0d29f48d937fa2563c3cc alsa-driver-1.0.10-r2.ebuild 4791 SHA256 ed09529fa8e9c98adc6dc3671ca6e61e79fb40095fd62fb0e06177ed20bf0ca7 alsa-driver-1.0.10-r2.ebuild 4791 +MD5 c58ef85722445047ed50637d2b757abc alsa-driver-1.0.11.ebuild 4805 +RMD160 4e5bab0948a79c35cba2e6f856817f972d247267 alsa-driver-1.0.11.ebuild 4805 +SHA256 f55fdb0c13510d195a4469de16309484ebe9c771263a87e606f27d9c5dc814fb alsa-driver-1.0.11.ebuild 4805 MD5 92b347c5f047c41ce94593621464e00b alsa-driver-1.0.11_rc3.ebuild 4683 RMD160 e3b23ab4972fc2e84ff06f9408b7a510ffebd24f alsa-driver-1.0.11_rc3.ebuild 4683 SHA256 bf5ede710428f340a046aca1e8448e0c0363ac25346323d3d5ac3338de4cd09e alsa-driver-1.0.11_rc3.ebuild 4683 @@ -31,6 +31,9 @@ SHA256 52a31e573b3d92d7dc3048ec872349ffeff17960647a3a0468c3f917186fa7ad files/al MD5 5474546fa4977a1fa63fbab0a155fd15 files/digest-alsa-driver-1.0.10-r2 72 RMD160 4bd20e9c6e23de3d2647cb707b5f446ce11323c4 files/digest-alsa-driver-1.0.10-r2 72 SHA256 cef008f05a44e097d4881973af7b5147fd9ab893efe4bbc8ee16c35d8edac386 files/digest-alsa-driver-1.0.10-r2 72 +MD5 22644311058526795f233aaa7a6fc155 files/digest-alsa-driver-1.0.11 262 +RMD160 daeedeaa4b2d5bfa3dd386358fc231486bc0f895 files/digest-alsa-driver-1.0.11 262 +SHA256 685909b916bf91fe04291a0f9dcb11865ed4efb588efb3b876ec3e367fede2ad files/digest-alsa-driver-1.0.11 262 MD5 bad9db801cc32a096f6afb03f6f48439 files/digest-alsa-driver-1.0.11_rc3 271 RMD160 4a657d4d7679a5dd64a241a0d963cc1cf4f35e90 files/digest-alsa-driver-1.0.11_rc3 271 SHA256 53dc683ef507689fecbe33ff0615deb88adf131799241ee655ac281a1978c20b files/digest-alsa-driver-1.0.11_rc3 271 @@ -43,10 +46,3 @@ SHA256 40cf5da27580788064d53a1e8572c0039f436aa133e2de97ffea684ca20d7a77 files/di MD5 a1eaeb2ae801daeb712c90c060e922dc metadata.xml 158 RMD160 6842e2189a50bd8a98e84802c38180ac1421c00e metadata.xml 158 SHA256 dfb5b47e6836db39fb187301dfcff1c2605e91d13d21db160806a563d8c75f9b metadata.xml 158 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.2.2 (GNU/Linux) - -iD8DBQFERU8EAiZjviIA2XgRAjhiAJ9p7hYvDKZNlmFgTBtRdpqMDU+xAwCcD/gf -a70kqZ57yKg2S/ta0GrS3BU= -=X06M ------END PGP SIGNATURE----- diff --git a/media-sound/alsa-driver/alsa-driver-1.0.11.ebuild b/media-sound/alsa-driver/alsa-driver-1.0.11.ebuild new file mode 100644 index 000000000000..60ccad5c2ea3 --- /dev/null +++ b/media-sound/alsa-driver/alsa-driver-1.0.11.ebuild @@ -0,0 +1,167 @@ +# Copyright 1999-2006 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.11.ebuild,v 1.1 2006/04/19 23:27:38 flameeyes Exp $ + +inherit linux-mod flag-o-matic eutils multilib + +MY_P="${P/_rc/rc}" +S="${WORKDIR}/${MY_P}" + +DESCRIPTION="Advanced Linux Sound Architecture kernel modules" +HOMEPAGE="http://www.alsa-project.org/" +SRC_URI="mirror://alsaproject/driver/${MY_P}.tar.bz2" + +LICENSE="GPL-2 LGPL-2.1" +SLOT="0" + +KEYWORDS="~alpha ~amd64 ~ia64 ~mips ~ppc ~ppc64 ~x86" +IUSE="oss doc debug" + +RDEPEND="virtual/modutils + ~media-sound/alsa-headers-${PV}" +DEPEND="${RDEPEND} + virtual/linux-sources + sparc? ( >=sys-devel/autoconf-2.50 ) + sys-apps/debianutils" + +PROVIDE="virtual/alsa" + +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 + # + ALSA_CARDS=${ALSA_CARDS:-all} + + # Which drivers need PNP + local PNP_DRIVERS="interwave interwave-stb" + + CONFIG_CHECK="SOUND" + 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." + PNP_ERROR="Some of the drivers you selected require PNP in your kernel (${PNP_DRIVERS}). Either enable PNP in your kernel or trim which drivers get compiled using ALSA_CARDS in /etc/make.conf." + + if [[ "${ALSA_CARDS}" == "all" ]]; then + + # Ignore PNP checks for ppc architecture, as PNP can't be enabled there. + if [[ ${ARCH} != "ppc" ]]; then + CONFIG_CHECK="${CONFIG_CHECK} PNP" + fi + else + for pnpdriver in ${PNP_DRIVERS}; do + hasq ${pnpdriver} ${ALSA_CARDS} && CONFIG_CHECK="${CONFIG_CHECK} PNP" + done + fi + + linux-mod_pkg_setup + + if [[ ${PROFILE_ARCH} == "sparc64" ]] ; then + export CBUILD=${CBUILD-${CHOST}} + export CHOST="sparc64-unknown-linux-gnu" + fi +} + +src_unpack() { + unpack ${A} + + cd ${S} + + epatch "${FILESDIR}"/${PN}-1.0.10_rc1-include.patch + + convert_to_m ${S}/Makefile + sed -i -e 's:\(.*depmod\):#\1:' ${S}/Makefile +} + +src_compile() { + local myABI=${ABI:-${DEFAULT_ABI}} + + # Should fix bug #46901 + is-flag "-malign-double" && filter-flags "-fomit-frame-pointer" + append-flags "-I${KV_DIR}/arch/$(tc-arch-kernel)/include" + + econf $(use_with oss) \ + $(use_with debug debug full) \ + --with-kernel="${KV_DIR}" \ + --with-build="${KV_OUT_DIR}" \ + --with-isapnp=yes \ + --with-sequencer=yes \ + --with-cards="${ALSA_CARDS}" || die "econf failed" + + # linux-mod_src_compile doesn't work well with alsa + + ARCH=$(tc-arch-kernel) + ABI=${KERNEL_ABI} + # -j1 : see bug #71028 + emake -j1 HOSTCC=$(tc-getBUILD_CC) CC=$(tc-getCC) || die "Make Failed" + ARCH=$(tc-arch) + ABI=${myABI} + + if use doc; + then + ebegin "Building Documentation" + cd ${S}/scripts + emake || die Failed making docs in ${S}/scripts + + cd ${S}/doc/DocBook + emake || die Failed making docs in ${S}/doc/DocBook + eend $? + fi +} + + +src_install() { + make DESTDIR=${D} install-modules || die "make install failed" + + dodoc CARDS-STATUS FAQ README WARNING TODO + + if use doc; then + docinto doc + dodoc doc/* + rm ${D}/usr/share/doc/${PF}/doc/Makefile.gz + + docinto DocBook + dodoc doc/DocBook/* + rm ${D}/usr/share/doc/${PF}/DocBook/Makefile.gz + + docinto Documentation + dodoc sound/Documentation/* + fi + + if kernel_is 2 6; then + # mv the drivers somewhere they won't be killed by the kernel's make modules_install + mv ${D}/lib/modules/${KV_FULL}/kernel/sound ${D}/lib/modules/${KV_FULL}/${PN} + rmdir ${D}/lib/modules/${KV_FULL}/kernel &> /dev/null + fi +} + +pkg_postinst() { + 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 + + linux-mod_pkg_postinst + + einfo "Check out the ALSA installation guide availible at the following URL:" + einfo "http://www.gentoo.org/doc/en/alsa-guide.xml" + + if kernel_is 2 6 && [ -e ${ROOT}/lib/modules/${KV_FULL}/kernel/sound ]; then + # Cleanup if they had older alsa installed + for file in $(find ${ROOT}/lib/modules/${KV_FULL}/${PN} -type f); do + rm -f ${file//${KV_FULL}\/${PN}/${KV_FULL}\/kernel\/sound} + done + + for dir in $(find ${ROOT}/lib/modules/${KV_FULL}/kernel/sound -type d | tac); do + rmdir ${dir} &> /dev/null + done + fi +} diff --git a/media-sound/alsa-driver/files/digest-alsa-driver-1.0.11 b/media-sound/alsa-driver/files/digest-alsa-driver-1.0.11 new file mode 100644 index 000000000000..f7189caea4a5 --- /dev/null +++ b/media-sound/alsa-driver/files/digest-alsa-driver-1.0.11 @@ -0,0 +1,3 @@ +MD5 57534e4297cd683371402220e3753885 alsa-driver-1.0.11.tar.bz2 2343130 +RMD160 8f6d0d1f61bcf8d62fa5ca1df13accf0cec54650 alsa-driver-1.0.11.tar.bz2 2343130 +SHA256 c717b8a237e38e17a2c71f3fcde6a89907accd175f8bac4f09c054444e14069f alsa-driver-1.0.11.tar.bz2 2343130 |