diff options
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.0.28.ebuild | 72 | ||||
-rw-r--r-- | sys-firmware/alsa-firmware/alsa-firmware-1.0.29.ebuild | 72 | ||||
-rw-r--r-- | sys-firmware/alsa-firmware/files/52-usx2yaudio.rules | 7 | ||||
-rw-r--r-- | sys-firmware/alsa-firmware/metadata.xml | 8 |
5 files changed, 161 insertions, 0 deletions
diff --git a/sys-firmware/alsa-firmware/Manifest b/sys-firmware/alsa-firmware/Manifest new file mode 100644 index 000000000000..03d2aa913c4f --- /dev/null +++ b/sys-firmware/alsa-firmware/Manifest @@ -0,0 +1,2 @@ +DIST alsa-firmware-1.0.28.tar.bz2 3931211 SHA256 f9dc0be0cc8825a7f0302f307dd04f8732855bad60ee3ab00e795bd353c03779 SHA512 47b20b59e4d7d78c3315761d5cc0a1f090c286cd97dc42c84585b0e7c66a17d994aed7c82d2f095c83cd436e3276be87860f9d68a13a60c39bbdd97c47bf22c9 WHIRLPOOL 867af28966c2cca99e644733cebbdda6caede1ff21155ffd74b3eb0c60971f14c26b55d0fdc243c3b7d6379e813c0d1b2919a926d4f78e8bd6495a88404c066a +DIST alsa-firmware-1.0.29.tar.bz2 4996942 SHA256 3c5ef17959e58831504d3a25e76d0a428bd9c52ebd330e06b07232ab8af4cc3d SHA512 f4307c33fb6f401c86e88b82878b8300447ac97bbbe06e83bd69a38cbdd7b4a0ba6faa4f20081f11167805de65c66b7db643483f8669eae3284bc1c4da8d44a4 WHIRLPOOL de590d136646050dd54c3ab35b16b1a87113a71bfc83c55dbc8ddc0f2a5fbbe6530a7ac71e22f4c6cbff7c1a0f0510fdd668aa324aefa3d022cd60fa81c28c44 diff --git a/sys-firmware/alsa-firmware/alsa-firmware-1.0.28.ebuild b/sys-firmware/alsa-firmware/alsa-firmware-1.0.28.ebuild new file mode 100644 index 000000000000..a17faf837b27 --- /dev/null +++ b/sys-firmware/alsa-firmware/alsa-firmware-1.0.28.ebuild @@ -0,0 +1,72 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit udev + +DESCRIPTION="Advanced Linux Sound Architecture firmware" +HOMEPAGE="http://www.alsa-project.org/" +SRC_URI="mirror://alsaproject/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 +} diff --git a/sys-firmware/alsa-firmware/alsa-firmware-1.0.29.ebuild b/sys-firmware/alsa-firmware/alsa-firmware-1.0.29.ebuild new file mode 100644 index 000000000000..fbebd7deb373 --- /dev/null +++ b/sys-firmware/alsa-firmware/alsa-firmware-1.0.29.ebuild @@ -0,0 +1,72 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit udev + +DESCRIPTION="Advanced Linux Sound Architecture firmware" +HOMEPAGE="http://www.alsa-project.org/" +SRC_URI="mirror://alsaproject/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 +} diff --git a/sys-firmware/alsa-firmware/files/52-usx2yaudio.rules b/sys-firmware/alsa-firmware/files/52-usx2yaudio.rules new file mode 100644 index 000000000000..988de4d36c4e --- /dev/null +++ b/sys-firmware/alsa-firmware/files/52-usx2yaudio.rules @@ -0,0 +1,7 @@ +# Load firmware via fxload + +SUBSYSTEM=="usb_device", ACTION=="add", ATTRS{idVendor}=="1604", ATTRS{idProduct}=="800[157]", RUN+="/usr/bin/usx2yloader" +SUBSYSTEM=="usb_device", ACTION=="add", ATTRS{idVendor}=="1604", ATTRS{idProduct}=="800[15]", RUN+="/sbin/startproc /usr/bin/us428control" +SUBSYSTEM=="usb_device", ACTION=="add", ATTRS{idVendor}=="1604", ATTRS{idProduct}=="8000", RUN+="/sbin/fxload -s /usr/share/alsa/firmware/usx2yloader/tascam_loader.ihx -I /usr/share/alsa/firmware/usx2yloader/us428fw.ihx -D %N" +SUBSYSTEM=="usb_device", ACTION=="add", ATTRS{idVendor}=="1604", ATTRS{idProduct}=="8004", RUN+="/sbin/fxload -s /usr/share/alsa/firmware/usx2yloader/tascam_loader.ihx -I /usr/share/alsa/firmware/usx2yloader/us224fw.ihx -D %N" +SUBSYSTEM=="usb_device", ACTION=="add", ATTRS{idVendor}=="1604", ATTRS{idProduct}=="8006", RUN+="/sbin/fxload -s /usr/share/alsa/firmware/usx2yloader/tascam_loader.ihx -I /usr/share/alsa/firmware/usx2yloader/us122fw.ihx -D %N" diff --git a/sys-firmware/alsa-firmware/metadata.xml b/sys-firmware/alsa-firmware/metadata.xml new file mode 100644 index 000000000000..8987e55f2c06 --- /dev/null +++ b/sys-firmware/alsa-firmware/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>alsa</herd> +<maintainer> +<email>alsa-bugs@gentoo.org</email> +</maintainer> +</pkgmetadata> |