From 0dda7c5ee34e0d39421d6727407a8888f49d3885 Mon Sep 17 00:00:00 2001 From: Daniel Drake Date: Fri, 27 Apr 2007 00:15:50 +0000 Subject: [PATCH] Add echo3g support thanks to chriskoe in bug #168209 Package-Manager: portage-2.1.2.4 --- media-sound/alsa-firmware/ChangeLog | 8 ++- media-sound/alsa-firmware/Manifest | 15 +++-- .../alsa-firmware-1.0.14_rc3-r1.ebuild | 67 +++++++++++++++++++ .../files/digest-alsa-firmware-1.0.14_rc3-r1 | 3 + 4 files changed, 88 insertions(+), 5 deletions(-) create mode 100644 media-sound/alsa-firmware/alsa-firmware-1.0.14_rc3-r1.ebuild create mode 100644 media-sound/alsa-firmware/files/digest-alsa-firmware-1.0.14_rc3-r1 diff --git a/media-sound/alsa-firmware/ChangeLog b/media-sound/alsa-firmware/ChangeLog index d25d0dc0e2fc..f8e6ac1cad1c 100644 --- a/media-sound/alsa-firmware/ChangeLog +++ b/media-sound/alsa-firmware/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for media-sound/alsa-firmware # Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/alsa-firmware/ChangeLog,v 1.64 2007/04/26 19:04:49 beandog Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-sound/alsa-firmware/ChangeLog,v 1.65 2007/04/27 00:15:50 dsd Exp $ + +*alsa-firmware-1.0.14_rc3-r1 (27 Apr 2007) + + 27 Apr 2007; Daniel Drake + +alsa-firmware-1.0.14_rc3-r1.ebuild: + Add echo3g support thanks to chriskoe in bug #168209 26 Apr 2007; Steve Dibb alsa-firmware-1.0.14_rc2-r1.ebuild: diff --git a/media-sound/alsa-firmware/Manifest b/media-sound/alsa-firmware/Manifest index fc2dddf2b6ce..d648d704c3cd 100644 --- a/media-sound/alsa-firmware/Manifest +++ b/media-sound/alsa-firmware/Manifest @@ -27,14 +27,18 @@ EBUILD alsa-firmware-1.0.14_rc2.ebuild 748 RMD160 a89d358065a26aaa398217748c3a92 MD5 856e93b24f8bafdd735d58a636c90a03 alsa-firmware-1.0.14_rc2.ebuild 748 RMD160 a89d358065a26aaa398217748c3a92b7d632cc02 alsa-firmware-1.0.14_rc2.ebuild 748 SHA256 091fd842820bde96aa0d50e86c991f7b4488d6352d0ea69a03620017596f8c5d alsa-firmware-1.0.14_rc2.ebuild 748 +EBUILD alsa-firmware-1.0.14_rc3-r1.ebuild 2516 RMD160 afec3a301566c4c80283eb20db41fcdfbb51fe0c SHA1 2c8a48d52cfccaf0d040dd63f0032a11512a74f5 SHA256 2152e8f33e5bd18dbb937355b21fffb1328586f0e27a1328e88fec076bbdcb3b +MD5 f1571b0d3daabaef8ce3dc2cdb02b873 alsa-firmware-1.0.14_rc3-r1.ebuild 2516 +RMD160 afec3a301566c4c80283eb20db41fcdfbb51fe0c alsa-firmware-1.0.14_rc3-r1.ebuild 2516 +SHA256 2152e8f33e5bd18dbb937355b21fffb1328586f0e27a1328e88fec076bbdcb3b alsa-firmware-1.0.14_rc3-r1.ebuild 2516 EBUILD alsa-firmware-1.0.14_rc3.ebuild 2499 RMD160 59945640c860c78acf493fe7a91099658fad4ee2 SHA1 88d7b3b2bd41c79a4ab6577cc199067b4a2799b5 SHA256 a6937ab1085caa8ad64c3d6701e1253d3130b344d98a4ffeaefbcd3519e7921e MD5 61bfb19db7fdc103f849f5a3b91f87ed alsa-firmware-1.0.14_rc3.ebuild 2499 RMD160 59945640c860c78acf493fe7a91099658fad4ee2 alsa-firmware-1.0.14_rc3.ebuild 2499 SHA256 a6937ab1085caa8ad64c3d6701e1253d3130b344d98a4ffeaefbcd3519e7921e alsa-firmware-1.0.14_rc3.ebuild 2499 -MISC ChangeLog 9502 RMD160 8e9b7e5376aa027ccd78542857069fa6fb8ba940 SHA1 41b1207354d0b0fd1400137f9fc77b5932892df7 SHA256 2f00e1587ddd45762ff0c2823401f5fe7d743bf9bb58865144e58a6736a90273 -MD5 4c1c3026fea77641426a02abc4f05bf9 ChangeLog 9502 -RMD160 8e9b7e5376aa027ccd78542857069fa6fb8ba940 ChangeLog 9502 -SHA256 2f00e1587ddd45762ff0c2823401f5fe7d743bf9bb58865144e58a6736a90273 ChangeLog 9502 +MISC ChangeLog 9682 RMD160 4b9bee7854c506a33fcf8ad286c41c1765185388 SHA1 17ee39dc8d01945b3b20b379a17f20bb7be2e227 SHA256 1e06795a5e501b8330361989fdb3ab057005788873f5aeeb55c5a7e4ce2cbffb +MD5 2d73b37acf43437958eb13d2fb546e67 ChangeLog 9682 +RMD160 4b9bee7854c506a33fcf8ad286c41c1765185388 ChangeLog 9682 +SHA256 1e06795a5e501b8330361989fdb3ab057005788873f5aeeb55c5a7e4ce2cbffb ChangeLog 9682 MISC metadata.xml 220 RMD160 e49f8bb330d1798cd2c8ee5335cef1784f0d7ccb SHA1 1b895fe6cae4b8eab08ba1a6a1212baf4b4b4105 SHA256 8570ef11cd59b0d8edb71e78eecaec423616836b10eacb86bee0de941f0ae054 MD5 7c52acc7d4fe40bac97d3198a43dcbd6 metadata.xml 220 RMD160 e49f8bb330d1798cd2c8ee5335cef1784f0d7ccb metadata.xml 220 @@ -57,3 +61,6 @@ SHA256 28a0de262a871b5195ba3bd8ad6f2c7ae0b5b517a545d0810f20727461adcdd5 files/di MD5 872c8b89f2c481e4e05352434914c4fe files/digest-alsa-firmware-1.0.14_rc3 277 RMD160 a890f62e64d0ae2bf9f44642caf6a0602f76458a files/digest-alsa-firmware-1.0.14_rc3 277 SHA256 a4b76cc0e38604ba5b71d7a9afab14c918bd0ae7620a8cb4d3a181ab86674ef1 files/digest-alsa-firmware-1.0.14_rc3 277 +MD5 872c8b89f2c481e4e05352434914c4fe files/digest-alsa-firmware-1.0.14_rc3-r1 277 +RMD160 a890f62e64d0ae2bf9f44642caf6a0602f76458a files/digest-alsa-firmware-1.0.14_rc3-r1 277 +SHA256 a4b76cc0e38604ba5b71d7a9afab14c918bd0ae7620a8cb4d3a181ab86674ef1 files/digest-alsa-firmware-1.0.14_rc3-r1 277 diff --git a/media-sound/alsa-firmware/alsa-firmware-1.0.14_rc3-r1.ebuild b/media-sound/alsa-firmware/alsa-firmware-1.0.14_rc3-r1.ebuild new file mode 100644 index 000000000000..092784460afb --- /dev/null +++ b/media-sound/alsa-firmware/alsa-firmware-1.0.14_rc3-r1.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-sound/alsa-firmware/alsa-firmware-1.0.14_rc3-r1.ebuild,v 1.1 2007/04/27 00:15:50 dsd Exp $ + +MY_P="${P/_rc/rc}" + +DESCRIPTION="Advanced Linux Sound Architecture firmware" +HOMEPAGE="http://www.alsa-project.org/" +SRC_URI="mirror://alsaproject/firmware/${MY_P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86" + +ECHOAUDIO_CARDS="alsa_cards_darla20 alsa_cards_gina20 +alsa_cards_layla20 alsa_cards_darla24 alsa_cards_gina24 +alsa_cards_layla24 alsa_cards_mona alsa_cards_mia alsa_cards_indigo +alsa_cards_indigoio alsa_cards_echo3g" + +IUSE="alsa_cards_pcxhr alsa_cards_vx222 alsa_cards_usb-usx2y +alsa_cards_hdsp alsa_cards_hdspm alsa_cards_mixart alsa_cards_asihpi +alsa_cards_sb16 alsa_cards_korg1212 alsa_cards_maestro3 +${ECHOAUDIO_CARDS}" + +S="${WORKDIR}/${MY_P}" + +DEPEND="" +RDEPEND="alsa_cards_usb-usx2y? ( sys-apps/fxload ) + alsa_cards_hdsp? ( media-sound/alsa-tools ) + alsa_cards_hdspm? ( media-sound/alsa-tools ) + alsa_cards_mixart? ( || ( >=sys-fs/udev-096 media-sound/alsa-tools ) ) + alsa_cards_vx222? ( || ( >=sys-fs/udev-096 media-sound/alsa-tools ) ) + alsa_cards_pcxhr? ( || ( >=sys-fs/udev-096 >=media-sound/alsa-tools-1.0.14_rc1-r1 ) )" + +src_compile() { + econf \ + --with-hotplug-dir=/lib/firmware \ + || die "configure failed" + + emake || die "make failed" +} + +src_install () { + emake DESTDIR="${D}" install || die "make install failed" + + use alsa_cards_pcxhr || rm -rf "${D}/usr/share/alsa/firmware/pcxhrloader" "${D}/lib/firmware/pcxhr" + use alsa_cards_vx222 || rm -rf "${D}/usr/share/alsa/firmware/vxloader" "${D}/lib/firmware/vx" + use alsa_cards_usb-usx2y || rm -rf "${D}/usr/share/alsa/firmware/usx2yloader" "${D}/lib/firmware/vx" + use alsa_cards_mixart || rm -rf "${D}/usr/share/alsa/firmware/mixartloader" "${D}/lib/firmware/mixart" + use alsa_cards_hdsp || use alsa_cards_hdspm || rm -rf "${D}/usr/share/alsa/firmware/hdsploader" + use alsa_cards_asihpi || rm -rf "${D}/lib/firmware/asihpi" + use alsa_cards_sb16 || rm -rf "${D}/lib/firmware/sb16" + use alsa_cards_korg1212 || rm -rf "${D}/lib/firmware/korg" + use alsa_cards_maestro3 || rm -rf "${D}/lib/firmware/ess" + + local ea="no" + for card in ${ECHOAUDIO_CARDS}; do + use ${card} && ea="yes" && break + done + + [[ ${ea} == "no" ]] && rm -rf "${D}/lib/firmware/ea" + + insinto /etc/udev/rules.d + use alsa_cards_usb-usx2y && doins "${FILESDIR}/52-usx2yaudio.rules" + + dodoc README +} diff --git a/media-sound/alsa-firmware/files/digest-alsa-firmware-1.0.14_rc3-r1 b/media-sound/alsa-firmware/files/digest-alsa-firmware-1.0.14_rc3-r1 new file mode 100644 index 000000000000..e3b536e08fef --- /dev/null +++ b/media-sound/alsa-firmware/files/digest-alsa-firmware-1.0.14_rc3-r1 @@ -0,0 +1,3 @@ +MD5 3afce47b4277e64c224411fa29ea150c alsa-firmware-1.0.14rc3.tar.bz2 3084751 +RMD160 95215d31513b32e3827f7a31e7d9b299198892c8 alsa-firmware-1.0.14rc3.tar.bz2 3084751 +SHA256 fb06386f2af507511f0ae20a2cc37b726d53c61c423de2ec3714386699cff7aa alsa-firmware-1.0.14rc3.tar.bz2 3084751 -- 2.26.2