diff options
author | Steve Dibb <beandog@gentoo.org> | 2009-07-31 22:05:05 +0000 |
---|---|---|
committer | Steve Dibb <beandog@gentoo.org> | 2009-07-31 22:05:05 +0000 |
commit | e0dcfec3b7b175ed2ed7e0b431a8bcd45db3cf53 (patch) | |
tree | 241c682db5462d911c1697d45cf84f55bfe32c96 /media-sound | |
parent | remove old (diff) | |
download | gentoo-2-e0dcfec3b7b175ed2ed7e0b431a8bcd45db3cf53.tar.gz gentoo-2-e0dcfec3b7b175ed2ed7e0b431a8bcd45db3cf53.tar.bz2 gentoo-2-e0dcfec3b7b175ed2ed7e0b431a8bcd45db3cf53.zip |
remove old
(Portage version: 2.2_rc33/cvs/Linux x86_64)
Diffstat (limited to 'media-sound')
-rw-r--r-- | media-sound/alsa-driver/Manifest | 12 | ||||
-rw-r--r-- | media-sound/alsa-driver/alsa-driver-1.0.15-r1.ebuild | 181 | ||||
-rw-r--r-- | media-sound/alsa-driver/alsa-driver-1.0.16.ebuild | 181 | ||||
-rw-r--r-- | media-sound/alsa-driver/alsa-driver-1.0.17.ebuild | 184 | ||||
-rw-r--r-- | media-sound/alsa-driver/alsa-driver-1.0.18.ebuild | 182 | ||||
-rw-r--r-- | media-sound/alsa-driver/alsa-driver-1.0.18a.ebuild | 182 | ||||
-rw-r--r-- | media-sound/alsa-driver/alsa-driver-1.0.19.ebuild | 182 |
7 files changed, 0 insertions, 1104 deletions
diff --git a/media-sound/alsa-driver/Manifest b/media-sound/alsa-driver/Manifest index 95cd652018a7..b7c941236048 100644 --- a/media-sound/alsa-driver/Manifest +++ b/media-sound/alsa-driver/Manifest @@ -3,19 +3,7 @@ AUX alsa-driver-1.0.11-kernel-2.6.17.patch 953 RMD160 8790da12c78912a4dec53f2878 AUX alsa-driver-1.0.14-seq_file.patch 11129 RMD160 ac02481afc9d9b4cab1cb56a5c0cd8e11c32fd25 SHA1 5ffa287584464c57bbe3eee2fc512bccddcd749f SHA256 37f8020632147d89f2c97c9b6ea88abd2000efa2abafd2711652f22c8c6b20b0 AUX alsa-driver-1.0.14_rc2-tumbler-ppc.patch 1105 RMD160 ae270a067ba51e4e580373465d698dd8aa872c5f SHA1 c4dd46e302417272b1123fc435d742e89677ee8d SHA256 1c154e2235697383fae4b06a0d3ec9e5c437188481711e639a186d0d920aeb76 AUX alsa-driver-1.0.15-linux-2.4.patch 278 RMD160 13b53ecf56b11de3d6ae4683578b12b3fdc8c649 SHA1 4bfb7c3bf4980cbe26a33ef271f3ea3813c46d0f SHA256 e7584aedf46dcbfbc6ee5afaa998991e5adaea3057b69b747d2cd403dccac877 -DIST alsa-driver-1.0.15.tar.bz2 2677415 RMD160 f3cc3a1ad06b5a894fc6732f5261f5fc06c63421 SHA1 f68bb889538ba04b6d2ce7722d491f98dd00c144 SHA256 dd34ac303ac49b655f3a1a342fd4bafd90722ffd41ceb9af59821d5c13caa01d -DIST alsa-driver-1.0.16.tar.bz2 2725590 RMD160 936d57bd8c255539a6759756d52221963b4dbc5f SHA1 03cc55e6d23d8368d896e1582ce4588425ce00f9 SHA256 ec2a18fdd08e7678eae57e44f944061ebb256a3c5ce81674c74423a0555cf91d -DIST alsa-driver-1.0.17.tar.bz2 2725803 RMD160 e9e33ef8be8d808c66cc93e6bf124d16636c805c SHA1 82fc35333a43f834e5e4b16c425e3ee49d137ae8 SHA256 7695cc9c8c42b3d4fe4f918d24a751deb36b2fbb0ff2aaa2b1605c8ce11d4c9f -DIST alsa-driver-1.0.18.tar.bz2 2817277 RMD160 abcfa3258a2633f8b5fb466628f83f02d92392f8 SHA1 f1130e5c6cd1fecb403ea352cabd7135e1a61ac5 SHA256 46f0f8aa27920190c35cc276af4064e2bec55c867b590de91039ef455a7c8bfd -DIST alsa-driver-1.0.18a.tar.bz2 2833780 RMD160 c06c0b68999802da80becb58ea86596f031fa406 SHA1 c8ca0d2f9093f697ee519c45c13dd7d166f6fb2a SHA256 31148e6722da1ffbbc96504a106ef2f9a06cfcc0843c3306996d4379abaff833 -DIST alsa-driver-1.0.19.tar.bz2 2896328 RMD160 cd86ccf8477f8f8be7887c332d33a4e4cfef2d9a SHA1 93305af07e9855c0c7ec01653e54c3253970da3f SHA256 10fb9b456cc38cdf6f708aac11c173d681b7edea4bb260e8d24a22f07ac76f8e DIST alsa-driver-1.0.20.tar.bz2 2900799 RMD160 33aaed9ab466827b7e543d45f137a0b38ba7ff61 SHA1 b72678d625053bff3de922f211a969ae90544f66 SHA256 e831852f1e50b50e13667b126a65064282218e0ad130dce7fdeb614314cee626 -EBUILD alsa-driver-1.0.15-r1.ebuild 7036 RMD160 c9e9e9e0bfc25247e9c931639c85a9826892645e SHA1 02b7e17d93f89ee0ce8433999fba8281a6bc4f66 SHA256 96b9b2be6cde805f47e139dbdb9cf001435ec014bd71e5d812ff816ab2b08071 -EBUILD alsa-driver-1.0.16.ebuild 7042 RMD160 38a81c5ba89afd496de264e0ac5bcbca39bcf2de SHA1 87f7c44777009781a7da65bfb71fbfee7e730c8c SHA256 319b748dee347377f5f71efa1cad17fc609c963471763e089886e21362ec35ea -EBUILD alsa-driver-1.0.17.ebuild 7110 RMD160 3de35030eda848e639079906d6aa0b07e7792e2f SHA1 a5f6eec9c9e00f91330a896aa6319b03ac7c0f48 SHA256 c3b0c3dcab8df0561bd8ab8ffab5deb8761ed4b3b894156e3b15a9390a30b972 -EBUILD alsa-driver-1.0.18.ebuild 7045 RMD160 32ed68528d6d3825bc6c75cc7e00d9565883eac0 SHA1 393cb2b5f8c5e74cef251d0d4863bbfd852f8171 SHA256 a1fbbda9c4561d177f04aa4db4131ae4e022ca2e734fcb3060226b5663afed2c -EBUILD alsa-driver-1.0.18a.ebuild 7046 RMD160 b03d4b319c29cab5e0b474a3f3e30a7ac1fde682 SHA1 e3b3cc5975eb50d20b8eaa71ca795b5cfe15a1fb SHA256 0209bb82eedc0167790cca7b15526aca02cc7cb557640619806c06a3fb4a8653 -EBUILD alsa-driver-1.0.19.ebuild 7045 RMD160 bc139cd6c649df1982a3eea1f66454edf5142e67 SHA1 6fb8527971deb33034e4678a1e5dcfa73ad4c1c0 SHA256 4ce508264779351c4d0d42c5b90564a18a18ef1ce058ba9db580d3e6d62eac18 EBUILD alsa-driver-1.0.20.ebuild 7045 RMD160 2a2c41248450d75600634929471981cd79d949b8 SHA1 b4e81ecc14db98c411e8b3c3cbd3160858500944 SHA256 cfdb8a1380dc7a6b95d5722544eb71948a0f325570d73a2561e2071ca849beae EBUILD alsa-driver-9999.ebuild 6792 RMD160 569cf3fb314a4668fc7d99209b319492d5b7f893 SHA1 c25af9144fa42a5dd5f6a5c09db66a4d561bf4fa SHA256 36a1811a6461476d0fd6672ab729618f6baf52d9bb368a2975507c272bed823b MISC ChangeLog 51227 RMD160 c74296d82c0300762d2980306ad18e2c25f4aed8 SHA1 367975116d5a82a0ac95cdfda113a8785bdd1d6a SHA256 b8b75d6b0acfe8063fad3bb6be0bd8072c0334ac4af691aad889fae2881c2e1d diff --git a/media-sound/alsa-driver/alsa-driver-1.0.15-r1.ebuild b/media-sound/alsa-driver/alsa-driver-1.0.15-r1.ebuild deleted file mode 100644 index fda94d47a153..000000000000 --- a/media-sound/alsa-driver/alsa-driver-1.0.15-r1.ebuild +++ /dev/null @@ -1,181 +0,0 @@ -# Copyright 1999-2008 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.15-r1.ebuild,v 1.1 2008/04/14 02:54:39 beandog Exp $ - -inherit autotools linux-mod flag-o-matic eutils multilib linux-info - -MY_P="${P/_rc/rc}" -S="${WORKDIR}/${MY_P}" - -DESCRIPTION="Advanced Linux Sound Architecture kernel modules" -HOMEPAGE="http://www.alsa-project.org/" - -if [[ ${MY_P} == ${MY_P/_p*/} ]]; then - SRC_URI="mirror://alsaproject/driver/${MY_P}.tar.bz2" -else # Gentoo snapshots - SRC_URI="mirror://gentoo/${MY_P}.tar.bz2" -fi - -LICENSE="GPL-2 LGPL-2.1" -SLOT="0" - -KEYWORDS="~alpha ~amd64 ~mips ~ppc ~ppc64 ~x86" -IUSE="oss debug midi" - -IUSE_CARDS="seq-dummy dummy virmidi mtpav mts64 serial-u16550 mpu401 -loopback portman2x4 pcsp ad1848-lib adlib ad1816a ad1848 -als100 azt2320 cmi8330 cs4231 cs4232 cs4236 dt019x es968 es1688 es18xx -gusclassic gusextreme gusmax interwave interwave-stb opl3sa2 -opti92x-ad1848 opti92x-cs4231 opti93x miro sb8 sb16 sbawe sgalaxy -sscape wavefront pc98-cs4232 msnd-pinnacle ad1889 als300 als4000 -ali5451 atiixp atiixp-modem au8810 au8820 au8830 azt3328 bt87x ca0106 -cmipci cs4281 cs46xx cs5535audio darla20 gina20 layla20 darla24 gina24 -layla24 mona mia echo3g indigo indigoio indigodj emu10k1 emu10k1x -ens1370 ens1371 es1938 es1968 fm801 fm801-tea575x hda-intel hdsp hdspm -ice1712 ice1724 intel8x0 intel8x0m korg1212 maestro3 mixart nm256 -pcxhr riptide rme32 rme96 rme9652 sonicvibes trident via82xx -via82xx-modem vx222 ymfpci pdplus asihpi powermac aoa -aoa-fabric-layout aoa-onyx aoa-tas aoa-toonie aoa-soundbus -aoa-soundbus-i2s sa11xx-uda1341 armaaci s3c2410 pxa2xx-i2sound au1x00 -usb-audio usb-usx2y vxpocket pdaudiocf sun-amd7930 sun-cs4231 sun-dbri -harmony soc at91-soc at91-soc-eti-b1-wm8731 pxa2xx-soc -pxa2xx-soc-corgi pxa2xx-soc-spitz pxa2xx-soc-poodle pxa2xx-soc-tosa" - -for iuse_card in ${IUSE_CARDS}; do - IUSE="${IUSE} alsa_cards_${iuse_card}" -done - -RDEPEND="virtual/modutils - !media-sound/snd-aoa" -DEPEND="${RDEPEND} - >=media-sound/alsa-headers-1.0.15 - virtual/linux-sources - 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:-${IUSE_ALSA_CARDS}} - - local PNP_DRIVERS="interwave interwave-stb" - local PNP_ERROR="Some of the drivers you selected require PnP support in your kernel (${PNP_DRIVERS}). Either enable PnP in your kernel or trim which drivers get compiled using ALSA_CARDS in /etc/make.conf." - - local ISA_DRIVERS="cs4232 msnd-pinnacle adlib ad1816a ad1848 als100 azt2320 - cmi8330 cs4231 cs4236 dt019x es968 es1688 es18xx gusclassic gusextreme gusmax - interwave interwave-stb opl3sa2 opti92x-ad1848 opti92x-cs4231 opti93x miro sb8 - sb16 sbawe sb16_csp sgalaxy sscape wavefront" - local ISA_ERROR="Some of the drivers you selected require ISA support in your kernel ($(echo $ISA_DRIVERS)). Either enable ISA in your kernel or trim which drivers get compiled using ALSA_CARDS in /etc/make.conf." - - local FW_DRIVERS="darla20 gina20 layla20 darla24 gina24 layla24 mona mia echo3g indigo - indigoio indigodj emu10k1 korg1212 maestro3 riptide ymfpci asihpi" - local FW_LOADER_ERROR="Some of the drivers you selected require 'Userspace firmware loading support' in your kernel (${FW_DRIVERS}). Either enable that feature or trim which drivers get compiled using ALSA_CARDS in /etc/make.conf." - - local PARPORT_DRIVERS="portman2x4" - local PARPORT_ERROR="Some if the drivers you selected require Parallel Port support (${PARPORT_DRIVERS}). Either enable that feature or trim which drivers get compiled using ALSA_CARDS in /etc/make.conf." - - local TMP_ALSA_CARDS - local CHECK_PNP - local CHECK_ISA - local CHECK_FW - local CHECK_PARPORT - for card in ${ALSA_CARDS}; do - if has alsa_cards_${card} ${IUSE} && use alsa_cards_${card}; then - TMP_ALSA_CARDS="${TMP_ALSA_CARDS} ${card}" - has ${card} ${PNP_DRIVERS} && CHECK_PNP="PNP" - has ${card} ${ISA_DRIVERS} && CHECK_ISA="ISA" - has ${card} ${FW_DRIVERS} && CHECK_FW="FW_LOADER" - has ${card} ${PARPORT_DRIVERS} && CHECK_PARPORT="PARPORT" - fi - done - ALSA_CARDS="${TMP_ALSA_CARDS}" - - local CONFIG_CHECK="!SND SOUND ${CHECK_PNP} ${CHECK_ISA} ${CHECK_FW} ${CHECK_PARPORT}" - local SND_ERROR="ALSA is already compiled into the kernel. This is the recommended configuration, don't emerge alsa-driver." - local SOUND_ERROR="Your kernel doesn't have sound support enabled." - local SOUND_PRIME_ERROR="Your kernel is configured to use the deprecated OSS drivers. Please disable them and re-emerge alsa-driver." - - 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}" - - #kernel_is 2 4 && epatch "${FILESDIR}"/alsa-driver-1.0.15-linux-2.4.patch - - convert_to_m "${S}/Makefile" - sed -i -e 's:\(.*depmod\):#\1:' "${S}/Makefile" - eautoconf -} - -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 \ - $(use_with midi sequencer) \ - --with-cards="${ALSA_CARDS}" || die "econf failed" - - # linux-mod_src_compile doesn't work well with alsa - - ARCH=$(tc-arch-kernel) - ABI=${KERNEL_ABI} - emake LDFLAGS="$(raw-ldflags)" HOSTCC="$(tc-getBUILD_CC)" CC="$(tc-getCC)" || die "Make Failed" - ARCH=$(tc-arch) - ABI=${myABI} -} - -src_install() { - emake DESTDIR="${D}" install-modules || die "make install failed" - - dodoc CARDS-STATUS FAQ README WARNING TODO - - 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() { - elog - elog "Remember that all mixer channels will be MUTED by default." - elog "Use the 'alsamixer' program to unmute them, then save your" - elog "mixer settings with /etc/init.d/alsasound save" - elog - elog "If you experience problems, please try building the in-kernel" - elog "ALSA drivers instead. This ebuild is not recommended and is" - elog "likely to be removed from portage at a later date." - elog - - linux-mod_pkg_postinst - - 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 - - find "${ROOT}/lib/modules/${KV_FULL}/kernel/sound" -type d -print0 | xargs --null rmdir - fi -} diff --git a/media-sound/alsa-driver/alsa-driver-1.0.16.ebuild b/media-sound/alsa-driver/alsa-driver-1.0.16.ebuild deleted file mode 100644 index 6b7b46dd3eb8..000000000000 --- a/media-sound/alsa-driver/alsa-driver-1.0.16.ebuild +++ /dev/null @@ -1,181 +0,0 @@ -# Copyright 1999-2008 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.16.ebuild,v 1.1 2008/04/14 02:47:04 beandog Exp $ - -inherit autotools linux-mod flag-o-matic eutils multilib linux-info - -MY_P="${P/_rc/rc}" -S="${WORKDIR}/${MY_P}" - -DESCRIPTION="Advanced Linux Sound Architecture kernel modules" -HOMEPAGE="http://www.alsa-project.org/" - -if [[ ${MY_P} == ${MY_P/_p*/} ]]; then - SRC_URI="mirror://alsaproject/driver/${MY_P}.tar.bz2" -else # Gentoo snapshots - SRC_URI="mirror://gentoo/${MY_P}.tar.bz2" -fi - -LICENSE="GPL-2 LGPL-2.1" -SLOT="0" - -KEYWORDS="~alpha ~amd64 ~mips ~ppc ~ppc64 ~x86" -IUSE="oss debug midi" - -IUSE_CARDS="seq-dummy dummy virmidi mtpav mts64 serial-u16550 mpu401 -loopback portman2x4 pcsp ad1848-lib adlib ad1816a ad1848 -als100 azt2320 cmi8330 cs4231 cs4232 cs4236 dt019x es968 es1688 es18xx -gusclassic gusextreme gusmax interwave interwave-stb opl3sa2 -opti92x-ad1848 opti92x-cs4231 opti93x miro sb8 sb16 sbawe sgalaxy -sscape wavefront pc98-cs4232 msnd-pinnacle ad1889 als300 als4000 -ali5451 atiixp atiixp-modem au8810 au8820 au8830 azt3328 bt87x ca0106 -cmipci cs4281 cs46xx cs5535audio darla20 gina20 layla20 darla24 gina24 -layla24 mona mia echo3g indigo indigoio indigodj emu10k1 emu10k1x -ens1370 ens1371 es1938 es1968 fm801 fm801-tea575x hda-intel hdsp hdspm -ice1712 ice1724 intel8x0 intel8x0m korg1212 maestro3 mixart nm256 -pcxhr riptide rme32 rme96 rme9652 sonicvibes trident via82xx -via82xx-modem vx222 ymfpci pdplus asihpi powermac aoa -aoa-fabric-layout aoa-onyx aoa-tas aoa-toonie aoa-soundbus -aoa-soundbus-i2s sa11xx-uda1341 armaaci s3c2410 pxa2xx-i2sound au1x00 -usb-audio usb-usx2y vxpocket pdaudiocf sun-amd7930 sun-cs4231 sun-dbri -harmony soc at91-soc at91-soc-eti-b1-wm8731 pxa2xx-soc -pxa2xx-soc-corgi pxa2xx-soc-spitz pxa2xx-soc-poodle pxa2xx-soc-tosa hifier -ml403-ac97cr oxygen pxa2xx-soc-e800 sis7019 virtuoso" - -for iuse_card in ${IUSE_CARDS}; do - IUSE="${IUSE} alsa_cards_${iuse_card}" -done - -RDEPEND="virtual/modutils - !media-sound/snd-aoa" -DEPEND="${RDEPEND} - >=media-sound/alsa-headers-1.0.16 - virtual/linux-sources - 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:-${IUSE_ALSA_CARDS}} - - local PNP_DRIVERS="interwave interwave-stb" - local PNP_ERROR="Some of the drivers you selected require PnP support in your kernel (${PNP_DRIVERS}). Either enable PnP in your kernel or trim which drivers get compiled using ALSA_CARDS in /etc/make.conf." - - local ISA_DRIVERS="cs4232 msnd-pinnacle adlib ad1816a ad1848 als100 azt2320 - cmi8330 cs4231 cs4236 dt019x es968 es1688 es18xx gusclassic gusextreme gusmax - interwave interwave-stb opl3sa2 opti92x-ad1848 opti92x-cs4231 opti93x miro sb8 - sb16 sbawe sb16_csp sgalaxy sscape wavefront" - local ISA_ERROR="Some of the drivers you selected require ISA support in your kernel ($(echo $ISA_DRIVERS)). Either enable ISA in your kernel or trim which drivers get compiled using ALSA_CARDS in /etc/make.conf." - - local FW_DRIVERS="darla20 gina20 layla20 darla24 gina24 layla24 mona mia echo3g indigo - indigoio indigodj emu10k1 korg1212 maestro3 riptide ymfpci asihpi" - local FW_LOADER_ERROR="Some of the drivers you selected require 'Userspace firmware loading support' in your kernel (${FW_DRIVERS}). Either enable that feature or trim which drivers get compiled using ALSA_CARDS in /etc/make.conf." - - local PARPORT_DRIVERS="portman2x4" - local PARPORT_ERROR="Some if the drivers you selected require Parallel Port support (${PARPORT_DRIVERS}). Either enable that feature or trim which drivers get compiled using ALSA_CARDS in /etc/make.conf." - - local TMP_ALSA_CARDS - local CHECK_PNP - local CHECK_ISA - local CHECK_FW - local CHECK_PARPORT - for card in ${ALSA_CARDS}; do - if has alsa_cards_${card} ${IUSE} && use alsa_cards_${card}; then - TMP_ALSA_CARDS="${TMP_ALSA_CARDS} ${card}" - has ${card} ${PNP_DRIVERS} && CHECK_PNP="PNP" - has ${card} ${ISA_DRIVERS} && CHECK_ISA="ISA" - has ${card} ${FW_DRIVERS} && CHECK_FW="FW_LOADER" - has ${card} ${PARPORT_DRIVERS} && CHECK_PARPORT="PARPORT" - fi - done - ALSA_CARDS="${TMP_ALSA_CARDS}" - - local CONFIG_CHECK="!SND SOUND ${CHECK_PNP} ${CHECK_ISA} ${CHECK_FW} ${CHECK_PARPORT}" - local SND_ERROR="ALSA is already compiled into the kernel. This is the recommended configuration, don't emerge alsa-driver." - local SOUND_ERROR="Your kernel doesn't have sound support enabled." - local SOUND_PRIME_ERROR="Your kernel is configured to use the deprecated OSS drivers. Please disable them and re-emerge alsa-driver." - - 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}" - - #kernel_is 2 4 && epatch "${FILESDIR}"/alsa-driver-1.0.15-linux-2.4.patch - - convert_to_m "${S}/Makefile" - sed -i -e 's:\(.*depmod\):#\1:' "${S}/Makefile" - eautoconf -} - -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 \ - $(use_with midi sequencer) \ - --with-cards="${ALSA_CARDS}" || die "econf failed" - - # linux-mod_src_compile doesn't work well with alsa - - ARCH=$(tc-arch-kernel) - ABI=${KERNEL_ABI} - emake LDFLAGS="$(raw-ldflags)" HOSTCC="$(tc-getBUILD_CC)" CC="$(tc-getCC)" || die "Make Failed" - ARCH=$(tc-arch) - ABI=${myABI} -} - -src_install() { - emake DESTDIR="${D}" install-modules || die "make install failed" - - dodoc CARDS-STATUS FAQ README WARNING TODO SUPPORTED_KERNELS - - 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() { - elog - elog "Remember that all mixer channels will be MUTED by default." - elog "Use the 'alsamixer' program to unmute them, then save your" - elog "mixer settings with /etc/init.d/alsasound save" - elog - elog "If you experience problems, please try building the in-kernel" - elog "ALSA drivers instead. This ebuild is unsupported." - elog - - linux-mod_pkg_postinst - - 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 - - find "${ROOT}/lib/modules/${KV_FULL}/kernel/sound" -type d -print0 | xargs --null rmdir - fi -} diff --git a/media-sound/alsa-driver/alsa-driver-1.0.17.ebuild b/media-sound/alsa-driver/alsa-driver-1.0.17.ebuild deleted file mode 100644 index 06fb12f503eb..000000000000 --- a/media-sound/alsa-driver/alsa-driver-1.0.17.ebuild +++ /dev/null @@ -1,184 +0,0 @@ -# Copyright 1999-2008 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.17.ebuild,v 1.1 2008/08/12 14:13:04 beandog Exp $ - -inherit autotools linux-mod flag-o-matic eutils multilib linux-info - -MY_P="${P/_rc/rc}" -S="${WORKDIR}/${MY_P}" - -DESCRIPTION="Advanced Linux Sound Architecture kernel modules" -HOMEPAGE="http://www.alsa-project.org/" - -if [[ ${MY_P} == ${MY_P/_p*/} ]]; then - SRC_URI="mirror://alsaproject/driver/${MY_P}.tar.bz2" -else # Gentoo snapshots - SRC_URI="mirror://gentoo/${MY_P}.tar.bz2" -fi - -LICENSE="GPL-2" -SLOT="0" - -KEYWORDS="~alpha ~amd64 ~mips ~ppc ~ppc64 ~x86" -IUSE="oss debug midi" - -IUSE_CARDS="seq-dummy dummy virmidi mtpav mts64 serial-u16550 mpu401 -loopback portman2x4 ad1848-lib adlib ad1816a ad1848 -als100 azt2320 cmi8330 cs4231 cs4232 cs4236 dt019x es968 es1688 es18xx -gusclassic gusextreme gusmax interwave interwave-stb opl3sa2 -opti92x-ad1848 opti92x-cs4231 opti93x miro sb8 sb16 sbawe sgalaxy -sscape wavefront pc98-cs4232 msnd-pinnacle ad1889 als300 als4000 -ali5451 atiixp atiixp-modem au8810 au8820 au8830 azt3328 bt87x ca0106 -cmipci cs4281 cs46xx cs5535audio darla20 gina20 layla20 darla24 gina24 -layla24 mona mia echo3g indigo indigoio indigodj emu10k1 emu10k1x -ens1370 ens1371 es1938 es1968 fm801 fm801-tea575x hda-intel hdsp hdspm -ice1712 ice1724 intel8x0 intel8x0m korg1212 maestro3 mixart nm256 -pcxhr riptide rme32 rme96 rme9652 sonicvibes trident via82xx -via82xx-modem vx222 ymfpci pdplus asihpi powermac aoa -aoa-fabric-layout aoa-onyx aoa-tas aoa-toonie aoa-soundbus -aoa-soundbus-i2s sa11xx-uda1341 armaaci s3c2410 pxa2xx-i2sound au1x00 -usb-audio usb-usx2y vxpocket pdaudiocf sun-amd7930 sun-cs4231 sun-dbri -harmony soc at91-soc at91-soc-eti-b1-wm8731 pxa2xx-soc -pxa2xx-soc-corgi pxa2xx-soc-spitz pxa2xx-soc-poodle pxa2xx-soc-tosa hifier -ml403-ac97cr oxygen pxa2xx-soc-e800 sis7019 virtuoso" - -for iuse_card in ${IUSE_CARDS}; do - IUSE="${IUSE} alsa_cards_${iuse_card}" -done - -RDEPEND="virtual/modutils" -DEPEND="${RDEPEND} - >=media-sound/alsa-headers-1.0.17 - virtual/linux-sources - 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:-${IUSE_ALSA_CARDS}} - - local PNP_DRIVERS="interwave interwave-stb" - local PNP_ERROR="Some of the drivers you selected require PnP support in your kernel (${PNP_DRIVERS}). Either enable PnP in your kernel or trim which drivers get compiled using ALSA_CARDS in /etc/make.conf." - - local ISA_DRIVERS="cs4232 msnd-pinnacle adlib ad1816a ad1848 als100 azt2320 - cmi8330 cs4231 cs4236 dt019x es968 es1688 es18xx gusclassic gusextreme gusmax - interwave interwave-stb opl3sa2 opti92x-ad1848 opti92x-cs4231 opti93x miro sb8 - sb16 sbawe sb16_csp sgalaxy sscape wavefront" - local ISA_ERROR="Some of the drivers you selected require ISA support in your kernel ($(echo $ISA_DRIVERS)). Either enable ISA in your kernel or trim which drivers get compiled using ALSA_CARDS in /etc/make.conf." - - local FW_DRIVERS="darla20 gina20 layla20 darla24 gina24 layla24 mona mia echo3g indigo - indigoio indigodj emu10k1 korg1212 maestro3 riptide ymfpci asihpi" - local FW_LOADER_ERROR="Some of the drivers you selected require 'Userspace firmware loading support' in your kernel (${FW_DRIVERS}). Either enable that feature or trim which drivers get compiled using ALSA_CARDS in /etc/make.conf." - - local PARPORT_DRIVERS="portman2x4" - local PARPORT_ERROR="Some if the drivers you selected require Parallel Port support (${PARPORT_DRIVERS}). Either enable that feature or trim which drivers get compiled using ALSA_CARDS in /etc/make.conf." - - local TMP_ALSA_CARDS - local CHECK_PNP - local CHECK_ISA - local CHECK_FW - local CHECK_PARPORT - for card in ${ALSA_CARDS}; do - if has alsa_cards_${card} ${IUSE} && use alsa_cards_${card}; then - TMP_ALSA_CARDS="${TMP_ALSA_CARDS} ${card}" - has ${card} ${PNP_DRIVERS} && CHECK_PNP="PNP" - has ${card} ${ISA_DRIVERS} && CHECK_ISA="ISA" - has ${card} ${FW_DRIVERS} && CHECK_FW="FW_LOADER" - has ${card} ${PARPORT_DRIVERS} && CHECK_PARPORT="PARPORT" - fi - done - ALSA_CARDS="${TMP_ALSA_CARDS}" - - local CONFIG_CHECK="!SND SOUND ${CHECK_PNP} ${CHECK_ISA} ${CHECK_FW} ${CHECK_PARPORT}" - local SND_ERROR="ALSA is already compiled into the kernel. This is the recommended configuration, don't emerge alsa-driver." - local SOUND_ERROR="Your kernel doesn't have sound support enabled." - local SOUND_PRIME_ERROR="Your kernel is configured to use the deprecated OSS drivers. Please disable them and re-emerge alsa-driver." - - 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}" - - #kernel_is 2 4 && epatch "${FILESDIR}"/alsa-driver-1.0.15-linux-2.4.patch - - convert_to_m "${S}/Makefile" - sed -i -e 's:\(.*depmod\):#\1:' "${S}/Makefile" - eautoconf -} - -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 oss pcm-oss-plugins) \ - $(use_with debug debug full) \ - --with-kernel="${KV_DIR}" \ - --with-build="${KV_OUT_DIR}" \ - --with-redhat=no \ - --with-suse=no \ - --with-isapnp=auto \ - $(use_with midi sequencer) \ - --with-cards="${ALSA_CARDS} \ - --with-card-options=all" || die "econf failed" - - # linux-mod_src_compile doesn't work well with alsa - - ARCH=$(tc-arch-kernel) - ABI=${KERNEL_ABI} - emake LDFLAGS="$(raw-ldflags)" HOSTCC="$(tc-getBUILD_CC)" CC="$(tc-getCC)" || die "Make Failed" - ARCH=$(tc-arch) - ABI=${myABI} -} - -src_install() { - emake DESTDIR="${D}" install-modules || die "make install failed" - - dodoc CARDS-STATUS FAQ README WARNING TODO SUPPORTED_KERNELS - - 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() { - elog - elog "Remember that all mixer channels will be MUTED by default." - elog "Use the 'alsamixer' program to unmute them, then save your" - elog "mixer settings with /etc/init.d/alsasound save" - elog - elog "If you experience problems, please try building the in-kernel" - elog "ALSA drivers instead. This ebuild is unsupported." - elog - - linux-mod_pkg_postinst - - 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 - - find "${ROOT}/lib/modules/${KV_FULL}/kernel/sound" -type d -print0 | xargs --null rmdir - fi -} diff --git a/media-sound/alsa-driver/alsa-driver-1.0.18.ebuild b/media-sound/alsa-driver/alsa-driver-1.0.18.ebuild deleted file mode 100644 index a99187eb3123..000000000000 --- a/media-sound/alsa-driver/alsa-driver-1.0.18.ebuild +++ /dev/null @@ -1,182 +0,0 @@ -# Copyright 1999-2008 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.18.ebuild,v 1.1 2008/11/05 04:36:31 beandog Exp $ - -inherit autotools linux-mod flag-o-matic eutils multilib linux-info - -MY_P="${P/_rc/rc}" -S="${WORKDIR}/${MY_P}" - -DESCRIPTION="Advanced Linux Sound Architecture kernel modules" -HOMEPAGE="http://www.alsa-project.org/" - -if [[ ${MY_P} == ${MY_P/_p*/} ]]; then - SRC_URI="mirror://alsaproject/driver/${MY_P}.tar.bz2" -else # Gentoo snapshots - SRC_URI="mirror://gentoo/${MY_P}.tar.bz2" -fi - -LICENSE="GPL-2" -SLOT="0" - -KEYWORDS="~alpha ~amd64 ~mips ~ppc ~ppc64 ~x86" -IUSE="oss debug midi" - -IUSE_CARDS="seq-dummy dummy virmidi mtpav mts64 serial-u16550 mpu401 -loopback portman2x4 ad1848-lib adlib ad1816a ad1848 -als100 azt2320 cmi8330 cs4231 cs4232 cs4236 dt019x es968 es1688 es18xx -gusclassic gusextreme gusmax interwave interwave-stb opl3sa2 -opti92x-ad1848 opti92x-cs4231 opti93x miro sb8 sb16 sbawe sgalaxy -sscape wavefront pc98-cs4232 msnd-pinnacle ad1889 als300 als4000 -ali5451 atiixp atiixp-modem au8810 au8820 au8830 azt3328 bt87x ca0106 -cmipci cs4281 cs46xx cs5535audio darla20 gina20 layla20 darla24 gina24 -layla24 mona mia echo3g indigo indigoio indigodj emu10k1 emu10k1x -ens1370 ens1371 es1938 es1968 fm801 fm801-tea575x hda-intel hdsp hdspm -ice1712 ice1724 intel8x0 intel8x0m korg1212 maestro3 mixart nm256 -pcxhr riptide rme32 rme96 rme9652 sonicvibes trident via82xx -via82xx-modem vx222 ymfpci pdplus asihpi powermac aoa -aoa-fabric-layout aoa-onyx aoa-tas aoa-toonie aoa-soundbus -aoa-soundbus-i2s sa11xx-uda1341 armaaci s3c2410 pxa2xx-i2sound au1x00 -usb-audio usb-usx2y usb-us122l vxpocket pdaudiocf sun-amd7930 sun-cs4231 sun-dbri -harmony soc at91-soc at91-soc-eti-b1-wm8731 pxa2xx-soc -pxa2xx-soc-corgi pxa2xx-soc-spitz pxa2xx-soc-poodle pxa2xx-soc-tosa hifier -ml403-ac97cr oxygen pxa2xx-soc-e800 sis7019 virtuoso" - -for iuse_card in ${IUSE_CARDS}; do - IUSE="${IUSE} alsa_cards_${iuse_card}" -done - -RDEPEND="virtual/modutils" -DEPEND="${RDEPEND} - >=media-sound/alsa-headers-1.0.17 - virtual/linux-sources - 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:-${IUSE_ALSA_CARDS}} - - local PNP_DRIVERS="interwave interwave-stb" - local PNP_ERROR="Some of the drivers you selected require PnP support in your kernel (${PNP_DRIVERS}). Either enable PnP in your kernel or trim which drivers get compiled using ALSA_CARDS in /etc/make.conf." - - local ISA_DRIVERS="cs4232 msnd-pinnacle adlib ad1816a ad1848 als100 azt2320 - cmi8330 cs4231 cs4236 dt019x es968 es1688 es18xx gusclassic gusextreme gusmax - interwave interwave-stb opl3sa2 opti92x-ad1848 opti92x-cs4231 opti93x miro sb8 - sb16 sbawe sb16_csp sgalaxy sscape wavefront" - local ISA_ERROR="Some of the drivers you selected require ISA support in your kernel ($(echo $ISA_DRIVERS)). Either enable ISA in your kernel or trim which drivers get compiled using ALSA_CARDS in /etc/make.conf." - - local FW_DRIVERS="darla20 gina20 layla20 darla24 gina24 layla24 mona mia echo3g indigo - indigoio indigodj emu10k1 korg1212 maestro3 riptide ymfpci asihpi" - local FW_LOADER_ERROR="Some of the drivers you selected require 'Userspace firmware loading support' in your kernel (${FW_DRIVERS}). Either enable that feature or trim which drivers get compiled using ALSA_CARDS in /etc/make.conf." - - local PARPORT_DRIVERS="portman2x4" - local PARPORT_ERROR="Some if the drivers you selected require Parallel Port support (${PARPORT_DRIVERS}). Either enable that feature or trim which drivers get compiled using ALSA_CARDS in /etc/make.conf." - - local TMP_ALSA_CARDS - local CHECK_PNP - local CHECK_ISA - local CHECK_FW - local CHECK_PARPORT - for card in ${ALSA_CARDS}; do - if has alsa_cards_${card} ${IUSE} && use alsa_cards_${card}; then - TMP_ALSA_CARDS="${TMP_ALSA_CARDS} ${card}" - has ${card} ${PNP_DRIVERS} && CHECK_PNP="PNP" - has ${card} ${ISA_DRIVERS} && CHECK_ISA="ISA" - has ${card} ${FW_DRIVERS} && CHECK_FW="FW_LOADER" - has ${card} ${PARPORT_DRIVERS} && CHECK_PARPORT="PARPORT" - fi - done - ALSA_CARDS="${TMP_ALSA_CARDS}" - - local CONFIG_CHECK="!SND SOUND ${CHECK_PNP} ${CHECK_ISA} ${CHECK_FW} ${CHECK_PARPORT}" - local SND_ERROR="ALSA is already compiled into the kernel. This is the recommended configuration, don't emerge alsa-driver." - local SOUND_ERROR="Your kernel doesn't have sound support enabled." - local SOUND_PRIME_ERROR="Your kernel is configured to use the deprecated OSS drivers. Please disable them and re-emerge alsa-driver." - - 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}" - - convert_to_m "${S}/Makefile" - sed -i -e 's:\(.*depmod\):#\1:' "${S}/Makefile" - eautoconf -} - -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 oss pcm-oss-plugins) \ - $(use_with debug debug full) \ - --with-kernel="${KV_DIR}" \ - --with-build="${KV_OUT_DIR}" \ - --with-redhat=no \ - --with-suse=no \ - --with-isapnp=auto \ - $(use_with midi sequencer) \ - --with-cards="${ALSA_CARDS} \ - --with-card-options=all" || die "econf failed" - - # linux-mod_src_compile doesn't work well with alsa - - ARCH=$(tc-arch-kernel) - ABI=${KERNEL_ABI} - emake LDFLAGS="$(raw-ldflags)" HOSTCC="$(tc-getBUILD_CC)" CC="$(tc-getCC)" || die "Make Failed" - ARCH=$(tc-arch) - ABI=${myABI} -} - -src_install() { - emake DESTDIR="${D}" install-modules || die "make install failed" - - dodoc CARDS-STATUS FAQ README WARNING TODO SUPPORTED_KERNELS - - 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() { - elog - elog "Remember that all mixer channels will be MUTED by default." - elog "Use the 'alsamixer' program to unmute them, then save your" - elog "mixer settings with /etc/init.d/alsasound save" - elog - elog "If you experience problems, please try building the in-kernel" - elog "ALSA drivers instead. This ebuild is unsupported." - elog - - linux-mod_pkg_postinst - - 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 - - find "${ROOT}/lib/modules/${KV_FULL}/kernel/sound" -type d -print0 | xargs --null rmdir - fi -} diff --git a/media-sound/alsa-driver/alsa-driver-1.0.18a.ebuild b/media-sound/alsa-driver/alsa-driver-1.0.18a.ebuild deleted file mode 100644 index e1db0c4af519..000000000000 --- a/media-sound/alsa-driver/alsa-driver-1.0.18a.ebuild +++ /dev/null @@ -1,182 +0,0 @@ -# Copyright 1999-2008 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.18a.ebuild,v 1.1 2008/12/12 03:48:53 beandog Exp $ - -inherit autotools linux-mod flag-o-matic eutils multilib linux-info - -MY_P="${P/_rc/rc}" -S="${WORKDIR}/${MY_P}" - -DESCRIPTION="Advanced Linux Sound Architecture kernel modules" -HOMEPAGE="http://www.alsa-project.org/" - -if [[ ${MY_P} == ${MY_P/_p*/} ]]; then - SRC_URI="mirror://alsaproject/driver/${MY_P}.tar.bz2" -else # Gentoo snapshots - SRC_URI="mirror://gentoo/${MY_P}.tar.bz2" -fi - -LICENSE="GPL-2" -SLOT="0" - -KEYWORDS="~alpha ~amd64 ~mips ~ppc ~ppc64 ~x86" -IUSE="oss debug midi" - -IUSE_CARDS="seq-dummy dummy virmidi mtpav mts64 serial-u16550 mpu401 -loopback portman2x4 ad1848-lib adlib ad1816a ad1848 -als100 azt2320 cmi8330 cs4231 cs4232 cs4236 dt019x es968 es1688 es18xx -gusclassic gusextreme gusmax interwave interwave-stb opl3sa2 -opti92x-ad1848 opti92x-cs4231 opti93x miro sb8 sb16 sbawe sgalaxy -sscape wavefront pc98-cs4232 msnd-pinnacle ad1889 als300 als4000 -ali5451 atiixp atiixp-modem au8810 au8820 au8830 azt3328 bt87x ca0106 -cmipci cs4281 cs46xx cs5535audio darla20 gina20 layla20 darla24 gina24 -layla24 mona mia echo3g indigo indigoio indigodj emu10k1 emu10k1x -ens1370 ens1371 es1938 es1968 fm801 fm801-tea575x hda-intel hdsp hdspm -ice1712 ice1724 intel8x0 intel8x0m korg1212 maestro3 mixart nm256 -pcxhr riptide rme32 rme96 rme9652 sonicvibes trident via82xx -via82xx-modem vx222 ymfpci pdplus asihpi powermac aoa -aoa-fabric-layout aoa-onyx aoa-tas aoa-toonie aoa-soundbus -aoa-soundbus-i2s sa11xx-uda1341 armaaci s3c2410 pxa2xx-i2sound au1x00 -usb-audio usb-usx2y usb-us122l vxpocket pdaudiocf sun-amd7930 sun-cs4231 sun-dbri -harmony soc at91-soc at91-soc-eti-b1-wm8731 pxa2xx-soc -pxa2xx-soc-corgi pxa2xx-soc-spitz pxa2xx-soc-poodle pxa2xx-soc-tosa hifier -ml403-ac97cr oxygen pxa2xx-soc-e800 sis7019 virtuoso" - -for iuse_card in ${IUSE_CARDS}; do - IUSE="${IUSE} alsa_cards_${iuse_card}" -done - -RDEPEND="virtual/modutils" -DEPEND="${RDEPEND} - >=media-sound/alsa-headers-1.0.17 - virtual/linux-sources - 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:-${IUSE_ALSA_CARDS}} - - local PNP_DRIVERS="interwave interwave-stb" - local PNP_ERROR="Some of the drivers you selected require PnP support in your kernel (${PNP_DRIVERS}). Either enable PnP in your kernel or trim which drivers get compiled using ALSA_CARDS in /etc/make.conf." - - local ISA_DRIVERS="cs4232 msnd-pinnacle adlib ad1816a ad1848 als100 azt2320 - cmi8330 cs4231 cs4236 dt019x es968 es1688 es18xx gusclassic gusextreme gusmax - interwave interwave-stb opl3sa2 opti92x-ad1848 opti92x-cs4231 opti93x miro sb8 - sb16 sbawe sb16_csp sgalaxy sscape wavefront" - local ISA_ERROR="Some of the drivers you selected require ISA support in your kernel ($(echo $ISA_DRIVERS)). Either enable ISA in your kernel or trim which drivers get compiled using ALSA_CARDS in /etc/make.conf." - - local FW_DRIVERS="darla20 gina20 layla20 darla24 gina24 layla24 mona mia echo3g indigo - indigoio indigodj emu10k1 korg1212 maestro3 riptide ymfpci asihpi" - local FW_LOADER_ERROR="Some of the drivers you selected require 'Userspace firmware loading support' in your kernel (${FW_DRIVERS}). Either enable that feature or trim which drivers get compiled using ALSA_CARDS in /etc/make.conf." - - local PARPORT_DRIVERS="portman2x4" - local PARPORT_ERROR="Some if the drivers you selected require Parallel Port support (${PARPORT_DRIVERS}). Either enable that feature or trim which drivers get compiled using ALSA_CARDS in /etc/make.conf." - - local TMP_ALSA_CARDS - local CHECK_PNP - local CHECK_ISA - local CHECK_FW - local CHECK_PARPORT - for card in ${ALSA_CARDS}; do - if has alsa_cards_${card} ${IUSE} && use alsa_cards_${card}; then - TMP_ALSA_CARDS="${TMP_ALSA_CARDS} ${card}" - has ${card} ${PNP_DRIVERS} && CHECK_PNP="PNP" - has ${card} ${ISA_DRIVERS} && CHECK_ISA="ISA" - has ${card} ${FW_DRIVERS} && CHECK_FW="FW_LOADER" - has ${card} ${PARPORT_DRIVERS} && CHECK_PARPORT="PARPORT" - fi - done - ALSA_CARDS="${TMP_ALSA_CARDS}" - - local CONFIG_CHECK="!SND SOUND ${CHECK_PNP} ${CHECK_ISA} ${CHECK_FW} ${CHECK_PARPORT}" - local SND_ERROR="ALSA is already compiled into the kernel. This is the recommended configuration, don't emerge alsa-driver." - local SOUND_ERROR="Your kernel doesn't have sound support enabled." - local SOUND_PRIME_ERROR="Your kernel is configured to use the deprecated OSS drivers. Please disable them and re-emerge alsa-driver." - - 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}" - - convert_to_m "${S}/Makefile" - sed -i -e 's:\(.*depmod\):#\1:' "${S}/Makefile" - eautoconf -} - -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 oss pcm-oss-plugins) \ - $(use_with debug debug full) \ - --with-kernel="${KV_DIR}" \ - --with-build="${KV_OUT_DIR}" \ - --with-redhat=no \ - --with-suse=no \ - --with-isapnp=auto \ - $(use_with midi sequencer) \ - --with-cards="${ALSA_CARDS} \ - --with-card-options=all" || die "econf failed" - - # linux-mod_src_compile doesn't work well with alsa - - ARCH=$(tc-arch-kernel) - ABI=${KERNEL_ABI} - emake LDFLAGS="$(raw-ldflags)" HOSTCC="$(tc-getBUILD_CC)" CC="$(tc-getCC)" || die "Make Failed" - ARCH=$(tc-arch) - ABI=${myABI} -} - -src_install() { - emake DESTDIR="${D}" install-modules || die "make install failed" - - dodoc CARDS-STATUS FAQ README WARNING TODO SUPPORTED_KERNELS - - 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() { - elog - elog "Remember that all mixer channels will be MUTED by default." - elog "Use the 'alsamixer' program to unmute them, then save your" - elog "mixer settings with /etc/init.d/alsasound save" - elog - elog "If you experience problems, please try building the in-kernel" - elog "ALSA drivers instead. This ebuild is unsupported." - elog - - linux-mod_pkg_postinst - - 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 - - find "${ROOT}/lib/modules/${KV_FULL}/kernel/sound" -type d -print0 | xargs --null rmdir - fi -} diff --git a/media-sound/alsa-driver/alsa-driver-1.0.19.ebuild b/media-sound/alsa-driver/alsa-driver-1.0.19.ebuild deleted file mode 100644 index cc393f6f3888..000000000000 --- a/media-sound/alsa-driver/alsa-driver-1.0.19.ebuild +++ /dev/null @@ -1,182 +0,0 @@ -# Copyright 1999-2009 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.19.ebuild,v 1.1 2009/04/10 04:06:51 beandog Exp $ - -inherit autotools linux-mod flag-o-matic eutils multilib linux-info - -MY_P="${P/_rc/rc}" -S="${WORKDIR}/${MY_P}" - -DESCRIPTION="Advanced Linux Sound Architecture kernel modules" -HOMEPAGE="http://www.alsa-project.org/" - -if [[ ${MY_P} == ${MY_P/_p*/} ]]; then - SRC_URI="mirror://alsaproject/driver/${MY_P}.tar.bz2" -else # Gentoo snapshots - SRC_URI="mirror://gentoo/${MY_P}.tar.bz2" -fi - -LICENSE="GPL-2" -SLOT="0" - -KEYWORDS="~alpha ~amd64 ~mips ~ppc ~ppc64 ~x86" -IUSE="oss debug midi" - -IUSE_CARDS="seq-dummy dummy virmidi mtpav mts64 serial-u16550 mpu401 -loopback portman2x4 ad1848-lib adlib ad1816a ad1848 -als100 azt2320 cmi8330 cs4231 cs4232 cs4236 dt019x es968 es1688 es18xx -gusclassic gusextreme gusmax interwave interwave-stb opl3sa2 -opti92x-ad1848 opti92x-cs4231 opti93x miro sb8 sb16 sbawe sgalaxy -sscape wavefront pc98-cs4232 msnd-pinnacle ad1889 als300 als4000 -ali5451 atiixp atiixp-modem au8810 au8820 au8830 azt3328 bt87x ca0106 -cmipci cs4281 cs46xx cs5535audio darla20 gina20 layla20 darla24 gina24 -layla24 mona mia echo3g indigo indigoio indigodj emu10k1 emu10k1x -ens1370 ens1371 es1938 es1968 fm801 fm801-tea575x hda-intel hdsp hdspm -ice1712 ice1724 intel8x0 intel8x0m korg1212 maestro3 mixart nm256 -pcxhr riptide rme32 rme96 rme9652 sonicvibes trident via82xx -via82xx-modem vx222 ymfpci pdplus asihpi powermac aoa -aoa-fabric-layout aoa-onyx aoa-tas aoa-toonie aoa-soundbus -aoa-soundbus-i2s sa11xx-uda1341 armaaci s3c2410 pxa2xx-i2sound au1x00 -usb-audio usb-usx2y usb-us122l vxpocket pdaudiocf sun-amd7930 sun-cs4231 sun-dbri -harmony soc at91-soc at91-soc-eti-b1-wm8731 pxa2xx-soc -pxa2xx-soc-corgi pxa2xx-soc-spitz pxa2xx-soc-poodle pxa2xx-soc-tosa hifier -ml403-ac97cr oxygen pxa2xx-soc-e800 sis7019 virtuoso" - -for iuse_card in ${IUSE_CARDS}; do - IUSE="${IUSE} alsa_cards_${iuse_card}" -done - -RDEPEND="virtual/modutils" -DEPEND="${RDEPEND} - >=media-sound/alsa-headers-1.0.19 - virtual/linux-sources - 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:-${IUSE_ALSA_CARDS}} - - local PNP_DRIVERS="interwave interwave-stb" - local PNP_ERROR="Some of the drivers you selected require PnP support in your kernel (${PNP_DRIVERS}). Either enable PnP in your kernel or trim which drivers get compiled using ALSA_CARDS in /etc/make.conf." - - local ISA_DRIVERS="cs4232 msnd-pinnacle adlib ad1816a ad1848 als100 azt2320 - cmi8330 cs4231 cs4236 dt019x es968 es1688 es18xx gusclassic gusextreme gusmax - interwave interwave-stb opl3sa2 opti92x-ad1848 opti92x-cs4231 opti93x miro sb8 - sb16 sbawe sb16_csp sgalaxy sscape wavefront" - local ISA_ERROR="Some of the drivers you selected require ISA support in your kernel ($(echo $ISA_DRIVERS)). Either enable ISA in your kernel or trim which drivers get compiled using ALSA_CARDS in /etc/make.conf." - - local FW_DRIVERS="darla20 gina20 layla20 darla24 gina24 layla24 mona mia echo3g indigo - indigoio indigodj emu10k1 korg1212 maestro3 riptide ymfpci asihpi" - local FW_LOADER_ERROR="Some of the drivers you selected require 'Userspace firmware loading support' in your kernel (${FW_DRIVERS}). Either enable that feature or trim which drivers get compiled using ALSA_CARDS in /etc/make.conf." - - local PARPORT_DRIVERS="portman2x4" - local PARPORT_ERROR="Some if the drivers you selected require Parallel Port support (${PARPORT_DRIVERS}). Either enable that feature or trim which drivers get compiled using ALSA_CARDS in /etc/make.conf." - - local TMP_ALSA_CARDS - local CHECK_PNP - local CHECK_ISA - local CHECK_FW - local CHECK_PARPORT - for card in ${ALSA_CARDS}; do - if has alsa_cards_${card} ${IUSE} && use alsa_cards_${card}; then - TMP_ALSA_CARDS="${TMP_ALSA_CARDS} ${card}" - has ${card} ${PNP_DRIVERS} && CHECK_PNP="PNP" - has ${card} ${ISA_DRIVERS} && CHECK_ISA="ISA" - has ${card} ${FW_DRIVERS} && CHECK_FW="FW_LOADER" - has ${card} ${PARPORT_DRIVERS} && CHECK_PARPORT="PARPORT" - fi - done - ALSA_CARDS="${TMP_ALSA_CARDS}" - - local CONFIG_CHECK="!SND SOUND ${CHECK_PNP} ${CHECK_ISA} ${CHECK_FW} ${CHECK_PARPORT}" - local SND_ERROR="ALSA is already compiled into the kernel. This is the recommended configuration, don't emerge alsa-driver." - local SOUND_ERROR="Your kernel doesn't have sound support enabled." - local SOUND_PRIME_ERROR="Your kernel is configured to use the deprecated OSS drivers. Please disable them and re-emerge alsa-driver." - - 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}" - - convert_to_m "${S}/Makefile" - sed -i -e 's:\(.*depmod\):#\1:' "${S}/Makefile" - eautoconf -} - -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 oss pcm-oss-plugins) \ - $(use_with debug debug full) \ - --with-kernel="${KV_DIR}" \ - --with-build="${KV_OUT_DIR}" \ - --with-redhat=no \ - --with-suse=no \ - --with-isapnp=auto \ - $(use_with midi sequencer) \ - --with-cards="${ALSA_CARDS} \ - --with-card-options=all" || die "econf failed" - - # linux-mod_src_compile doesn't work well with alsa - - ARCH=$(tc-arch-kernel) - ABI=${KERNEL_ABI} - emake LDFLAGS="$(raw-ldflags)" HOSTCC="$(tc-getBUILD_CC)" CC="$(tc-getCC)" || die "Make Failed" - ARCH=$(tc-arch) - ABI=${myABI} -} - -src_install() { - emake DESTDIR="${D}" install-modules || die "make install failed" - - dodoc CARDS-STATUS FAQ README WARNING TODO SUPPORTED_KERNELS - - 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() { - elog - elog "Remember that all mixer channels will be MUTED by default." - elog "Use the 'alsamixer' program to unmute them, then save your" - elog "mixer settings with /etc/init.d/alsasound save" - elog - elog "If you experience problems, please try building the in-kernel" - elog "ALSA drivers instead. This ebuild is unsupported." - elog - - linux-mod_pkg_postinst - - 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 - - find "${ROOT}/lib/modules/${KV_FULL}/kernel/sound" -type d -print0 | xargs --null rmdir - fi -} |