summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2013-04-16 05:15:47 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2013-04-16 05:15:47 +0000
commit6bb3aa94781bc8d82940b73d0f510c417b14f561 (patch)
treeadc8e4ea317f8a9c16b9bf6df11c19f5d899e1a1 /sys-firmware
parentMove from media-sound category. (diff)
downloadhistorical-6bb3aa94781bc8d82940b73d0f510c417b14f561.tar.gz
historical-6bb3aa94781bc8d82940b73d0f510c417b14f561.tar.bz2
historical-6bb3aa94781bc8d82940b73d0f510c417b14f561.zip
Move from media-sound category.
Package-Manager: portage-2.2.0_alpha172/cvs/Linux x86_64 RepoMan-Options: --force Manifest-Sign-Key: 0x4868F14D
Diffstat (limited to 'sys-firmware')
-rw-r--r--sys-firmware/alsa-firmware/Manifest18
-rw-r--r--sys-firmware/alsa-firmware/alsa-firmware-1.0.24.1.ebuild76
-rw-r--r--sys-firmware/alsa-firmware/files/52-usx2yaudio.rules7
-rw-r--r--sys-firmware/alsa-firmware/metadata.xml8
4 files changed, 107 insertions, 2 deletions
diff --git a/sys-firmware/alsa-firmware/Manifest b/sys-firmware/alsa-firmware/Manifest
index 81d84c5421d4..6ea05c1fe0ea 100644
--- a/sys-firmware/alsa-firmware/Manifest
+++ b/sys-firmware/alsa-firmware/Manifest
@@ -1,5 +1,19 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA256
+
AUX 52-usx2yaudio.rules 971 SHA256 a25a327b2c491d0d1464bdf282d99cee29d6c687b3bbc60a06bb40219d7d7e71 SHA512 5c3ac0e03a496384ea58f6da479c932cb2d2f91f110703d71d0bea60329ebfba8a1a0e78eb951c9854b7fe0dcc9943d10f436fe9acd04848ea780e90ac274f17 WHIRLPOOL bede72d2effef3296213ab55cdc007b1126f5c2138ab041568524033a3b4ab1b96f55da294cb478d3ba9a8d5c249e42d6f366ee7d6675a9e05a0413d188f1d13
DIST alsa-firmware-1.0.24.1.tar.bz2 3845175 SHA256 fe9d8b4c0ff57b882875b2fe0b5a985e0ba63534b6a3eb868619c90d6a04bf14 SHA512 e45d74e50c626fa4d09b62c2ca777710234d66fab58e51ed3f1c083fe41fb61b99fb4557be10da2ff0289b4c6fccc062e2d7f9c818fdd95072a77d699badf1f8 WHIRLPOOL 4ae2bc5eba36543df5fa59590b9bc19f0a32e5d38d835f176dc52100a8c6dcffb22b00d696a84869780de1ca4173d2e7db4aa74668bb03c9e44fd73ac44f4d58
-EBUILD alsa-firmware-1.0.24.1.ebuild 3001 SHA256 c71b879d0aa19b68f48adc3d1de0bc16495f4a8c3022d4170bcb001fb8b8471e SHA512 df64800542b0c425ac4c1b3bbca1b93b5a47e95e03a75d25c82b4bcb5d17a25fd777baa86b76819c2a38bc6142344df06bbb9176f878aaaa63fb13f12c1d0066 WHIRLPOOL 5f9ffc5a676f0d52cec0ff175a79cc5e7a2753fa265822d5d0203fd2b692a01e1b9d1b4d6f24e7bdeacb149a706af7c2e284fe1962e51ab787a5e5d113d16766
-MISC ChangeLog 16020 SHA256 a49bcdc912a3c3cc8d3f14b45499f41fc7e921e25a3274a8430ac1a88a127e92 SHA512 b7335018ed9d7014dc6c0d64074c60d7e6416be4185c1817cb6a660c51d43191cfc329b8d905721130444358d9c54d9113416bdaab5655dd7484559a4fcbd9fe WHIRLPOOL cda89f23adf0f67c3c41e4cdbb94dca47eb6554d075132b7e2e36e9ba3eff36431159a0b4138a5fae4cd227d50a59279d9a2462bca9f5fa74f7b1362129c8d2c
+EBUILD alsa-firmware-1.0.24.1.ebuild 3002 SHA256 3e1e35521ba1d70d8d6797dd3a66e48c0ba4510cc8414c97d7c4ecad20627457 SHA512 f08b87cd8e7199ea2560d90b2237d198f12e1db9e2827f48abb54922d1d7322cd51c7b433c61a65af67a7d7f040eef0828978253fda59462860fb5b8d9c5ff56 WHIRLPOOL 45ac971d39bc056b65503932981e86886858fd5c86a89832b159b65e313475c3c098882e213c7b0b6632ad83782f44f796164e37428551f0d533b220f2806325
+MISC ChangeLog 16019 SHA256 e818d93e9237c719b09a138f2d0e199135e425ae368c478aaf8826e628997708 SHA512 f7c7953039ceab4346c344e8bf792554ca0159e708d9774d580ee565898b95de031e1fd292f2211f6910ba262098e06d783db74f34fef23dcb3a54b9b1b6486f WHIRLPOOL 2e2d9ff8077f2e154ba1c7cf013d3d1cfea7080b3c160bf3143fd80f427c57d6a144f58d5b2d65008e9cb5932ea07f3b120270a900cf9199f750563d6a46cc37
MISC metadata.xml 220 SHA256 8570ef11cd59b0d8edb71e78eecaec423616836b10eacb86bee0de941f0ae054 SHA512 bfa2051cacad9c45a63629f41143d807230d2c6470275bcfc1e96a16dfaa885905054ab76eedbb11a6b2414fb0ca1996ba8222913a8c6fd7d8219e48adb90fac WHIRLPOOL 38c7fa4c2a63df86caebb43afa06ed95650a09dec9cd676738d8074fc699820ca66a9b8a7f00d64747ab2adf4e348efa1249aaab6f6778b045be7d2372e27b42
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.19 (GNU/Linux)
+
+iQEcBAEBCAAGBQJRbN5XAAoJEEdUh39IaPFNvIYH+gODTEyQIhmOfEzrTheU/OIb
+HRpxEMH5JgYga+ubHGMtPKNNmnz5rfUO1CxmnQ+hDUx0+zMxILp50PDUvwFHKUeE
+twrgRIWOoFqGbwp9z5wD2pRn0dNC4jFgU50R5gIumM+G3PBoD1K23H1QXIqoBCEW
+tVVM9zvGHVlAm7/dd/PlRPQ29FsQg/hqzhKggqsRQNJL2BTrPnDjSxU/b+vJO5Ci
+w+bg0F0hOLKqztuGkATgOwdnwpL9IqDIzWKW5O+8l8It7bLY9TnIUSGQK0PPEy88
+bHvhb/P1jwcPAc4bZIM7v/Gb+JFq3L6K43yzWzWpFphk9RAPga25QVTTQDtRfd0=
+=viIQ
+-----END PGP SIGNATURE-----
diff --git a/sys-firmware/alsa-firmware/alsa-firmware-1.0.24.1.ebuild b/sys-firmware/alsa-firmware/alsa-firmware-1.0.24.1.ebuild
new file mode 100644
index 000000000000..1d6a6b3e267d
--- /dev/null
+++ b/sys-firmware/alsa-firmware/alsa-firmware-1.0.24.1.ebuild
@@ -0,0 +1,76 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-firmware/alsa-firmware/alsa-firmware-1.0.24.1.ebuild,v 1.1 2013/04/16 05:15:36 ssuominen Exp $
+
+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_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_emi26
+alsa_cards_ymfpci alsa_cards_wavefront alsa_cards_msnd-pinnacle
+alsa_cards_aica ${ECHOAUDIO_CARDS} ${EMU_CARDS}"
+
+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? ( || ( virtual/udev media-sound/alsa-tools ) )
+ alsa_cards_vx222? ( || ( virtual/udev media-sound/alsa-tools ) )
+ alsa_cards_pcxhr? ( || ( virtual/udev 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_emi26 || rm -rf "${ED}"/lib/firmware/emagic
+ 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
+
+ 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>