Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 160697 Details for
Bug 232160
media-sound/alsa-driver-1.0.17 and alsa-headers-1.0.17 ebuilds
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
alsa-driver-1.0.17.ebuild
alsa-driver-1.0.17.ebuild (text/plain), 7.36 KB, created by
Ivan Diorditsa
on 2008-07-18 08:17:08 UTC
(
hide
)
Description:
alsa-driver-1.0.17.ebuild
Filename:
MIME Type:
Creator:
Ivan Diorditsa
Created:
2008-07-18 08:17:08 UTC
Size:
7.36 KB
patch
obsolete
># 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 rtctimer hpet pcsp dummy virmidi >mtpav mts64 serial-u16550 mpu401 portman2x4 >ml403-ac97cr serialmidi loopback adlib >ad1816a ad1848 als100 azt2320 cmi8330 >cs4231 cs4232 cs4236 dt019x es968 es1688 >es18xx sc6000 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 aw2 azt3328 bt87x ca0106 >cmipci oxygen cs4281 cs46xx cs5530 >cs5535audio darla20 gina20 layla20 darla24 >gina24 layla24 mona mia echo3g indigo >indigoio indigodj emu10k1 emu10k1x ens1370 >ens1371 es1938 es1968 fm801 hda-intel hdsp >hdspm hifier ice1712 ice1724 intel8x0 >intel8x0m korg1212 maestro3 mixart nm256 >pcxhr riptide rme32 rme96 rme9652 sis7019 >sonicvibes trident via82xx via82xx-modem >virtuoso vx222 ymfpci pdplus asihpi >powermac ps3 aoa aoa-fabric-layout aoa-onyx >aoa-tas aoa-toonie aoa-soundbus >aoa-soundbus-i2s sa11xx-uda1341 armaaci >pxa2xx-ac97 s3c2410 at73c213 sgi-o2 sgi-hal2 >au1x00 aica usb-audio usb-usx2y usb-caiaq >vxpocket pdaudiocf sun-amd7930 sun-cs4231 >sun-dbri harmony soc at32-soc >at32-soc-playpaq at91-soc >at91-soc-eti-b1-wm8731 soc-au1xpsc >soc-sample-psc-ac97 pxa2xx-soc >pxa2xx-soc-corgi pxa2xx-soc-spitz >pxa2xx-soc-poodle pxa2xx-soc-tosa >pxa2xx-soc-e800 pxa2xx-soc-em-x270 s3c24xx-soc >s3c24xx-soc-neo1973-wm8753 >s3c24xx-soc-smdk2443-wm9710 >s3c24xx-soc-ln2440sbc-alc650 soc-pcm-sh7760 >sh7760-ac97 davinci-soc davinci-soc-evm >omap-soc omap-soc-n810 >seq-rtctimer-default support-old-api >verbose-procfs verbose-printk pcm-xrun-debug >ac97-power-save sb16-csp >sb16-csp-firmware-in-kernel >wavefront-firmware-in-kernel bt87x-overclock >cs46xx-new-dsp fm801-tea575x-bool hda-hwdep >hda-codec-realtek hda-codec-analog >hda-codec-sigmatel hda-codec-via >hda-codec-atihdmi hda-codec-conexant >hda-codec-cmedia hda-codec-si3054 hda-generic >hda-power-save korg1212-firmware-in-kernel >maestro3-firmware-in-kernel >ymfpci-firmware-in-kernel powermac-auto-drc >usb-caiaq-input at32-soc-playpaq-slave >at91-soc-eti-slave soc-mpc8610 >" > >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.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. You have to remove it to 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}} > > 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 > > 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 >} >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 232160
:
160697
|
160699
|
161052
|
161054
|
161461