diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-11-18 10:15:03 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-11-18 10:15:03 +0000 |
commit | b284a3168fa91a038925d2ecf5e4791011ea5e7d (patch) | |
tree | 16fe44748708acacd909d4e2e160a09a7f6d936a /sys-firmware/alsa-firmware | |
parent | 77398e424e45d9e98c1cef3c43bdadb9d56e81ef (diff) |
gentoo resync : 18.11.2019
Diffstat (limited to 'sys-firmware/alsa-firmware')
-rw-r--r-- | sys-firmware/alsa-firmware/Manifest | 2 | ||||
-rw-r--r-- | sys-firmware/alsa-firmware/alsa-firmware-1.2.1.ebuild | 71 |
2 files changed, 73 insertions, 0 deletions
diff --git a/sys-firmware/alsa-firmware/Manifest b/sys-firmware/alsa-firmware/Manifest index a3466e381f4e..0642832d157d 100644 --- a/sys-firmware/alsa-firmware/Manifest +++ b/sys-firmware/alsa-firmware/Manifest @@ -1,4 +1,6 @@ AUX 52-usx2yaudio.rules 971 BLAKE2B 1a8b0bf26b61694c95cbfd50e20096255dc0cf8c77b4f5bcf155ae6d163aaa1b6e8a658c864fc2391f5743b8f3a2702e7c03f1fcd7cab12877c5a5d607a42d56 SHA512 5c3ac0e03a496384ea58f6da479c932cb2d2f91f110703d71d0bea60329ebfba8a1a0e78eb951c9854b7fe0dcc9943d10f436fe9acd04848ea780e90ac274f17 DIST alsa-firmware-1.0.29.tar.bz2 4996942 BLAKE2B cee20bda58653548c8f88ec83657d30a19cad93df25db2f5f982b673d02da28dd9f623d6981b70da97e8f882fdd20b37f2d4c401c36ad977a67503f548e36186 SHA512 f4307c33fb6f401c86e88b82878b8300447ac97bbbe06e83bd69a38cbdd7b4a0ba6faa4f20081f11167805de65c66b7db643483f8669eae3284bc1c4da8d44a4 +DIST alsa-firmware-1.2.1.tar.bz2 5146513 BLAKE2B c3d6047f484e78b3ddcfb23c30aaeb583088e025e4fae47e1a94cf987414524c1324b327f6679a0a8abc24e5c90b0c9454520714045bdaef11c5a01522803c81 SHA512 573bb13d47309253afa7d4d04ef13a7a5e4d18d8f89b1339630266f0ef6638cbb9381b3efce2604ea63fc9cf90a55ecaecf8eb2cccd58da04d0d283a245618b1 EBUILD alsa-firmware-1.0.29.ebuild 2766 BLAKE2B 89233d9c3afc7f7f1a2b47ad8c47961da63175c3d185c89f7ad1ab9f8a05c9f7f53be565a65ae0a52f1c236554a1a0a4724345e67fb1f527320343e9cd431aa6 SHA512 875a31c3859bcb8f3e08b418b61a8283a2e0caae6fc1669b81620c586cbd1b20a8a85cf18a393c88976b1b4d7b27c5e32eb5a5a32a7aca3374a061376d4cb226 +EBUILD alsa-firmware-1.2.1.ebuild 2767 BLAKE2B 73eef5805463d47ae0cadd4af7c3085f4fffcb952f6bea6ef67968da8e504c7102695dd258f7c7f3424857f72857bd2cbdcefc33ad801f2fc5e0565853027df9 SHA512 c2fb4961c887fdaf64438e0e22fa761b2f0e7e7ddfda6bbecda2eb1b0d3b0b1c024514f2f891e5873d3c9259a38d65ca6a274fdf81e649138e3ec88f336f9792 MISC metadata.xml 217 BLAKE2B ee5131ede673a41d69ab787db1d05f6d64afc4d625294c8314d0db362124dddca5b31ff6d29cc41ebb3f464f4665e2bc9bccfac84f69231ebe819d262e8ed7c7 SHA512 783364e33af22e28ba41661e2380968c95f6464ae9ebb300d542ca159a54c4e53cf5e8b1053a72e75902f433e90fa26f6456fa127fca6daa44542bda57779e5a diff --git a/sys-firmware/alsa-firmware/alsa-firmware-1.2.1.ebuild b/sys-firmware/alsa-firmware/alsa-firmware-1.2.1.ebuild new file mode 100644 index 000000000000..ea61da5b2c93 --- /dev/null +++ b/sys-firmware/alsa-firmware/alsa-firmware-1.2.1.ebuild @@ -0,0 +1,71 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +inherit udev + +DESCRIPTION="Advanced Linux Sound Architecture firmware" +HOMEPAGE="https://alsa-project.org/" +SRC_URI="https://www.alsa-project.org/files/pub/firmware/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~ppc64 ~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" + +EMU_CARDS="alsa_cards_emu1212 alsa_cards_emu1616 alsa_cards_emu1820 +alsa_cards_emu10k1" + +IUSE="alsa_cards_cs46xx 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 alsa_cards_ymfpci alsa_cards_wavefront +alsa_cards_msnd-pinnacle alsa_cards_aica alsa_cards_ca0132 ${ECHOAUDIO_CARDS} +${EMU_CARDS}" + +RDEPEND="alsa_cards_usb-usx2y? ( sys-apps/fxload ) + alsa_cards_hdsp? ( media-sound/alsa-tools ) + alsa_cards_hdspm? ( media-sound/alsa-tools )" + +DOCS="README" + +src_configure() { + econf --with-hotplug-dir=/lib/firmware +} + +src_install() { + default + + use alsa_cards_pcxhr || rm -rf "${ED}"/usr/share/alsa/firmware/pcxhrloader "${ED}"/lib/firmware/pcxhr + use alsa_cards_vx222 || rm -rf "${ED}"/usr/share/alsa/firmware/vxloader "${ED}"/lib/firmware/vx + use alsa_cards_usb-usx2y || rm -rf "${ED}"/usr/share/alsa/firmware/usx2yloader "${ED}"/lib/firmware/vx + use alsa_cards_mixart || rm -rf "${ED}"/usr/share/alsa/firmware/mixartloader "${ED}"/lib/firmware/mixart + use alsa_cards_hdsp || use alsa_cards_hdspm || rm -rf "${ED}"/usr/share/alsa/firmware/hdsploader + use alsa_cards_asihpi || rm -rf "${ED}"/lib/firmware/asihpi + use alsa_cards_sb16 || rm -rf "${ED}"/lib/firmware/sb16 + use alsa_cards_korg1212 || rm -rf "${ED}"/lib/firmware/korg + use alsa_cards_maestro3 || rm -rf "${ED}"/lib/firmware/ess + use alsa_cards_ymfpci || rm -rf "${ED}"/lib/firmware/yamaha + use alsa_cards_wavefront || rm -rf "${ED}"/lib/firmware/wavefront + use alsa_cards_msnd-pinnacle || rm -rf "${ED}"/lib/firmware/turtlebeach + use alsa_cards_aica || rm -rf "${ED}"/lib/firmware/aica_firmware.bin + use alsa_cards_ca0132 || rm -rf "${ED}"/lib/firmware/c{tefx,tspeq}.bin + use alsa_cards_cs46xx || rm -rf "${ED}"/lib/firmware/cs46xx + + local ea="no" + for card in ${ECHOAUDIO_CARDS}; do + use ${card} && ea="yes" && break + done + + local emu="no" + for card in ${EMU_CARDS}; do + use ${card} && emu="yes" && break + done + + [[ ${ea} == "no" ]] && rm -rf "${ED}"/lib/firmware/ea + [[ ${emu} == "no" ]] && rm -rf "${ED}"/lib/firmware/emu + + use alsa_cards_usb-usx2y && udev_dorules "${FILESDIR}"/52-usx2yaudio.rules +} |