diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2005-11-08 12:21:37 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2005-11-08 12:21:37 +0000 |
commit | a5a272a76b140fe7cc1b14353cb91b340bad84c4 (patch) | |
tree | 822aafa2b8c17abec548de4ad2e85410a8469fad /media-sound | |
parent | Bump to latest version. (diff) | |
download | gentoo-2-a5a272a76b140fe7cc1b14353cb91b340bad84c4.tar.gz gentoo-2-a5a272a76b140fe7cc1b14353cb91b340bad84c4.tar.bz2 gentoo-2-a5a272a76b140fe7cc1b14353cb91b340bad84c4.zip |
Bump to latest version.
(Portage version: 2.0.53_rc7)
Diffstat (limited to 'media-sound')
-rw-r--r-- | media-sound/alsa-driver/ChangeLog | 8 | ||||
-rw-r--r-- | media-sound/alsa-driver/Manifest | 12 | ||||
-rw-r--r-- | media-sound/alsa-driver/alsa-driver-1.0.10_rc3.ebuild | 156 | ||||
-rw-r--r-- | media-sound/alsa-driver/files/digest-alsa-driver-1.0.10_rc3 | 1 | ||||
-rw-r--r-- | media-sound/alsa-tools/ChangeLog | 8 | ||||
-rw-r--r-- | media-sound/alsa-tools/Manifest | 12 | ||||
-rw-r--r-- | media-sound/alsa-tools/alsa-tools-1.0.10_rc2.ebuild | 101 | ||||
-rw-r--r-- | media-sound/alsa-tools/files/digest-alsa-tools-1.0.10_rc2 | 1 | ||||
-rw-r--r-- | media-sound/alsa-utils/ChangeLog | 8 | ||||
-rw-r--r-- | media-sound/alsa-utils/Manifest | 12 | ||||
-rw-r--r-- | media-sound/alsa-utils/alsa-utils-1.0.10_rc3.ebuild | 85 | ||||
-rw-r--r-- | media-sound/alsa-utils/files/digest-alsa-utils-1.0.10_rc3 | 1 |
12 files changed, 372 insertions, 33 deletions
diff --git a/media-sound/alsa-driver/ChangeLog b/media-sound/alsa-driver/ChangeLog index fab9d2bca4c0..404eb31495f9 100644 --- a/media-sound/alsa-driver/ChangeLog +++ b/media-sound/alsa-driver/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for media-sound/alsa-driver # Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/alsa-driver/ChangeLog,v 1.163 2005/11/07 10:29:31 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-sound/alsa-driver/ChangeLog,v 1.164 2005/11/08 12:17:18 flameeyes Exp $ + +*alsa-driver-1.0.10_rc3 (08 Nov 2005) + + 08 Nov 2005; Diego Pettenò <flameeyes@gentoo.org> + +alsa-driver-1.0.10_rc3.ebuild: + Bump to latest version. 07 Nov 2005; Diego Pettenò <flameeyes@gentoo.org> alsa-driver-1.0.3.ebuild, alsa-driver-1.0.8.ebuild, diff --git a/media-sound/alsa-driver/Manifest b/media-sound/alsa-driver/Manifest index 5a85bc602fa1..08045bbc9b80 100644 --- a/media-sound/alsa-driver/Manifest +++ b/media-sound/alsa-driver/Manifest @@ -1,8 +1,6 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - MD5 9929faf24b06b2e3f5149a7f42ce4f60 ChangeLog 28633 MD5 b2c60ad071c571aacc8fabbd85b99cb7 alsa-driver-1.0.10_rc2.ebuild 4498 +MD5 220792d70488201f79008c568e86a16a alsa-driver-1.0.10_rc3.ebuild 4455 MD5 afcbb70f92f2785ee73a764383c47611 alsa-driver-1.0.3.ebuild 3349 MD5 5f53d077d0ff6216fca0d50170172f0c alsa-driver-1.0.8.ebuild 4679 MD5 79f7336e1fcbf3cd90de84db0283b03a alsa-driver-1.0.9b.ebuild 4552 @@ -12,16 +10,10 @@ MD5 ed352c464a295465543d8933c162f101 files/alsa-driver-1.0.10_rc1-include.patch MD5 2f9a74cca5e78c63142073f0c90b9ff8 files/alsa-driver-1.0.10_rc2-audigy2zs.patch 460 MD5 be4912a88e538a1f620b2fd422859ef6 files/alsa-driver-1.0.9b-sparc64-ioctl-detect.patch 513 MD5 569ec84f258f90c508827a3040062f41 files/digest-alsa-driver-1.0.10_rc2 75 +MD5 ad7631557a0317471d29e4c26cfb4cf2 files/digest-alsa-driver-1.0.10_rc3 75 MD5 938a2ee36c54416322d1acd47b249c99 files/digest-alsa-driver-1.0.3 71 MD5 14b6c8d954e36bb9d40c97cf051220f0 files/digest-alsa-driver-1.0.8 71 MD5 496627835733f8108e6b10dfc8ee9bf4 files/digest-alsa-driver-1.0.9b 72 MD5 27ccbe36406f145c1d63725a53517233 files/makefile.patch 1122 MD5 b2791ec892d9be6952fe139cc2309abf files/xbox-1.0.8.patch 1525 MD5 a1eaeb2ae801daeb712c90c060e922dc metadata.xml 158 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.2 (GNU/Linux) - -iD8DBQFDbyyej5H05b2HAEkRAsRHAJ0VzvIa4GhmeL8q/retFFmWi+m7LwCcCAk9 -biruuuZ6d4Dz1nR7XJA31k0= -=j6ZN ------END PGP SIGNATURE----- diff --git a/media-sound/alsa-driver/alsa-driver-1.0.10_rc3.ebuild b/media-sound/alsa-driver/alsa-driver-1.0.10_rc3.ebuild new file mode 100644 index 000000000000..a3c0c9e0880a --- /dev/null +++ b/media-sound/alsa-driver/alsa-driver-1.0.10_rc3.ebuild @@ -0,0 +1,156 @@ +# Copyright 1999-2005 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.10_rc3.ebuild,v 1.1 2005/11/08 12:17:18 flameeyes Exp $ + +inherit linux-mod flag-o-matic eutils + +MY_P="${P/_rc/rc}" +S="${WORKDIR}/${MY_P}" + +DESCRIPTION="Advanced Linux Sound Architecture kernel modules" +HOMEPAGE="http://www.alsa-project.org/" +SRC_URI="mirror://alsaproject/driver/${MY_P}.tar.bz2" + +LICENSE="GPL-2 LGPL-2.1" +SLOT="0" + +KEYWORDS="~alpha ~amd64 ~ia64 ~mips ~ppc ~ppc64 ~x86" +IUSE="oss doc" + +RDEPEND="virtual/modutils + ~media-sound/alsa-headers-${PV}" +DEPEND="${RDEPEND} + virtual/linux-sources + sparc? ( >=sys-devel/autoconf-2.50 ) + 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:-all} + + # Which drivers need PNP + local PNP_DRIVERS="interwave interwave-stb" + + CONFIG_CHECK="SOUND" + SND_ERROR="ALSA is already compiled into the kernel." + SOUND_ERROR="Your kernel doesn't have sound support enabled." + SOUND_PRIME_ERROR="Your kernel is configured to use the deprecated OSS drivers. Please disable them and re-emerge alsa-driver." + PNP_ERROR="Some of the drivers you selected require PNP in your kernel (${PNP_DRIVERS}). Either enable PNP in your kernel or trim which drivers get compiled using ALSA_CARDS in /etc/make.conf." + + if [[ "${ALSA_CARDS}" == "all" ]]; then + CONFIG_CHECK="${CONFIG_CHECK} PNP" + else + for pnpdriver in ${PNP_DRIVERS}; do + hasq ${pnpdriver} ${ALSA_CARDS} && CONFIG_CHECK="${CONFIG_CHECK} PNP" + done + fi + + linux-mod_pkg_setup + + if [[ ${PROFILE_ARCH} == "sparc64" ]] ; then + CBUILD=${CBUILD-${CHOST}} + CHOST="sparc64-unknown-linux-gnu" + fi +} + +src_unpack() { + unpack ${A} + + cd ${S} + + epatch "${FILESDIR}"/${PN}-1.0.10_rc1-include.patch + convert_to_m ${S}/Makefile + sed -i -e 's:\(.*depmod\):#\1:' ${S}/Makefile +} + +src_compile() { + # Should fix bug #46901 + is-flag "-malign-double" && filter-flags "-fomit-frame-pointer" + + econf $(use_with oss) \ + --with-kernel="${KV_DIR}" \ + --with-build="${KV_OUT_DIR}" \ + --with-isapnp=yes \ + --with-sequencer=yes \ + --with-cards="${ALSA_CARDS}" || die "econf failed" + + # linux-mod_src_compile doesn't work well with alsa + + # -j1 : see bug #71028 + ARCH=$(tc-arch-kernel) + emake -j1 HOSTCC=$(tc-getBUILD_CC) CC=$(tc-getCC) || die "Make Failed" + ARCH=$(tc-arch) + + if use doc; + then + ebegin "Building Documentation" + cd ${S}/scripts + emake || die Failed making docs in ${S}/scripts + + cd ${S}/doc/DocBook + emake || die Failed making docs in ${S}/doc/DocBook + eend $? + fi +} + + +src_install() { + make DESTDIR=${D} install-modules || die "make install failed" + + dodoc CARDS-STATUS FAQ README WARNING TODO + + if use doc; then + docinto doc + dodoc doc/* + rm ${D}/usr/share/doc/${PF}/doc/Makefile.gz + + docinto DocBook + dodoc doc/DocBook/* + rm ${D}/usr/share/doc/${PF}/DocBook/Makefile.gz + + docinto Documentation + dodoc sound/Documentation/* + fi + + 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() { + einfo + einfo "The alsasound initscript and modules.d/alsa have now moved to alsa-utils" + einfo + einfo "Also, remember that all mixer channels will be MUTED by default." + einfo "Use the 'alsamixer' program to unmute them." + einfo + einfo "Version 1.0.3 and above should work with version 2.6 kernels." + einfo "If you experience problems, please report bugs to http://bugs.gentoo.org." + einfo + + linux-mod_pkg_postinst + + einfo "Check out the ALSA installation guide availible at the following URL:" + einfo "http://www.gentoo.org/doc/en/alsa-guide.xml" + + 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 + + for dir in $(find ${ROOT}/lib/modules/${KV_FULL}/kernel/sound -type d | tac); do + rmdir ${dir} &> /dev/null + done + fi +} diff --git a/media-sound/alsa-driver/files/digest-alsa-driver-1.0.10_rc3 b/media-sound/alsa-driver/files/digest-alsa-driver-1.0.10_rc3 new file mode 100644 index 000000000000..b87b0b3a9b6a --- /dev/null +++ b/media-sound/alsa-driver/files/digest-alsa-driver-1.0.10_rc3 @@ -0,0 +1 @@ +MD5 4a5bae151a08cc0d6a6a768bf4a7207e alsa-driver-1.0.10rc3.tar.bz2 2191881 diff --git a/media-sound/alsa-tools/ChangeLog b/media-sound/alsa-tools/ChangeLog index 7258e683e231..056ec3978a10 100644 --- a/media-sound/alsa-tools/ChangeLog +++ b/media-sound/alsa-tools/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for media-sound/alsa-tools # Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/alsa-tools/ChangeLog,v 1.81 2005/11/07 10:22:23 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-sound/alsa-tools/ChangeLog,v 1.82 2005/11/08 12:21:37 flameeyes Exp $ + +*alsa-tools-1.0.10_rc2 (08 Nov 2005) + + 08 Nov 2005; Diego Pettenò <flameeyes@gentoo.org> + +alsa-tools-1.0.10_rc2.ebuild: + Bump to latest version. 07 Nov 2005; Diego Pettenò <flameeyes@gentoo.org> alsa-tools-1.0.9-r2.ebuild: diff --git a/media-sound/alsa-tools/Manifest b/media-sound/alsa-tools/Manifest index 4e858260771b..7d83a09cf8f2 100644 --- a/media-sound/alsa-tools/Manifest +++ b/media-sound/alsa-tools/Manifest @@ -1,23 +1,15 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - MD5 5a53e502d06d6717c5ac024e1e44a3f0 ChangeLog 11325 +MD5 415f36a733f2ffe90aaabc4a20370afe alsa-tools-1.0.10_rc2.ebuild 2414 MD5 a61565c41f57b7e963d503fa49b81ffe alsa-tools-1.0.7.ebuild 2325 MD5 89881d144ad73dd853bb44c56d2fe839 alsa-tools-1.0.8-r1.ebuild 2437 MD5 9e250b9f58ca18e6d2f0c73ba622afad alsa-tools-1.0.9-r1.ebuild 2380 MD5 a1dfd6a17f6c1782471e014503f503a5 alsa-tools-1.0.9-r2.ebuild 2367 MD5 3a596fb47a6e44a98f01b8c2cc8c5d83 alsa-tools-1.0.9.ebuild 2351 MD5 e2a96585b296f3f975f2cc8146eb3b74 files/alsa-tools-1.0.6-gcc34.patch 280 +MD5 f1cafa65d9aa68072b763e782ac2f261 files/digest-alsa-tools-1.0.10_rc2 74 MD5 d71b074ecf904c67e2cffaa96ca52367 files/digest-alsa-tools-1.0.7 69 MD5 92018b0f62f8da61cc08aa7a03c5bb42 files/digest-alsa-tools-1.0.8-r1 69 MD5 b2bfa51076f226abb79fed1c136b1d80 files/digest-alsa-tools-1.0.9 70 MD5 b2bfa51076f226abb79fed1c136b1d80 files/digest-alsa-tools-1.0.9-r1 70 MD5 b2bfa51076f226abb79fed1c136b1d80 files/digest-alsa-tools-1.0.9-r2 70 MD5 a1eaeb2ae801daeb712c90c060e922dc metadata.xml 158 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.2 (GNU/Linux) - -iD8DBQFDbyr2j5H05b2HAEkRAkfPAJ9ZTO3eTOCWmhBQkSPsKrT8J3l54ACgjOJ7 -M54EURO+ZKsjQCdumof6YVc= -=5T3u ------END PGP SIGNATURE----- diff --git a/media-sound/alsa-tools/alsa-tools-1.0.10_rc2.ebuild b/media-sound/alsa-tools/alsa-tools-1.0.10_rc2.ebuild new file mode 100644 index 000000000000..fdc937fac9df --- /dev/null +++ b/media-sound/alsa-tools/alsa-tools-1.0.10_rc2.ebuild @@ -0,0 +1,101 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-sound/alsa-tools/alsa-tools-1.0.10_rc2.ebuild,v 1.1 2005/11/08 12:21:37 flameeyes Exp $ + +inherit gnuconfig eutils flag-o-matic + +MY_P="${P/_rc/rc}" + +DESCRIPTION="Advanced Linux Sound Architecture tools" +HOMEPAGE="http://www.alsa-project.org" +SRC_URI="mirror://alsaproject/tools/${MY_P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0.9" +KEYWORDS="~amd64 ~mips ~ppc ~ppc64 ~sparc ~x86" +IUSE="fltk gtk" + +DEPEND=">=media-libs/alsa-lib-1.0.0 + virtual/alsa + fltk? ( =x11-libs/fltk-1.1* ) + gtk? ( =x11-libs/gtk+-1.2* )" + +S="${WORKDIR}/${MY_P}" + +pkg_setup() { + # This is a list of the tools in the package. + # Some of the tools don't make proper use of CFLAGS, even though + # all of them seem to use autoconf. This needs to be fixed. + # + # By default, all the supported tools will be compiled. + # If you want to only compile for specific tool(s), set ALSA_TOOLS + # environment to a space-separated list of tools that you want to build. + # For example: + # + # env ALSA_TOOLS='as10k1 ac3dec' emerge alsa-tools + # + if [ -z "${ALSA_TOOLS}" ]; then + ALSA_TOOLS="ac3dec as10k1 hdsploader mixartloader seq/sbiload \ + sscape_ctl us428control usx2yloader vxloader" + + if use fltk; then + ALSA_TOOLS="${ALSA_TOOLS} hdspconf hdspmixer" + fi + + if use gtk; then + ALSA_TOOLS="${ALSA_TOOLS} echomixer envy24control rmedigicontrol" + fi + + # sb16_csp won't build on ppc64 _AND_ ppc (and is not needed) + if use !ppc64 && use !ppc; then + ALSA_TOOLS="${ALSA_TOOLS} sb16_csp" + fi + + fi +} + +src_unpack() { + unpack ${A} + cd ${S} + gnuconfig_update +} + +src_compile() { + if use fltk; then + # hdspmixer requires fltk + append-ldflags "-L/usr/$(get_libdir)/fltk-1.1" + append-flags "-I/usr/include/fltk-1.1" + fi + + # hdspmixer is missing depconf - copy from the hdsploader directory + cp ${S}/hdsploader/depcomp ${S}/hdspmixer/ + + local f + for f in ${ALSA_TOOLS} + do + cd "${S}/${f}" + econf || die "econf failed" + make || die "make failed" + done +} + +src_install() { + local f + for f in ${ALSA_TOOLS} + do + # Install the main stuff + cd "${S}/${f}" + make DESTDIR="${D}" install || die + + # Install the text documentation + local doc + for doc in README TODO ChangeLog AUTHORS + do + if [ -f "${doc}" ] + then + mv "${doc}" "${doc}.`basename ${f}`" + dodoc "${doc}.`basename ${f}`" + fi + done + done +} diff --git a/media-sound/alsa-tools/files/digest-alsa-tools-1.0.10_rc2 b/media-sound/alsa-tools/files/digest-alsa-tools-1.0.10_rc2 new file mode 100644 index 000000000000..7bbc1c4bb4e7 --- /dev/null +++ b/media-sound/alsa-tools/files/digest-alsa-tools-1.0.10_rc2 @@ -0,0 +1 @@ +MD5 caf96254509e4b8a5f2dd0d805df48c0 alsa-tools-1.0.10rc2.tar.bz2 1376853 diff --git a/media-sound/alsa-utils/ChangeLog b/media-sound/alsa-utils/ChangeLog index 7d247d099e79..19ed0f77394e 100644 --- a/media-sound/alsa-utils/ChangeLog +++ b/media-sound/alsa-utils/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for media-sound/alsa-utils # Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/alsa-utils/ChangeLog,v 1.112 2005/10/31 18:39:21 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-sound/alsa-utils/ChangeLog,v 1.113 2005/11/08 12:19:56 flameeyes Exp $ + +*alsa-utils-1.0.10_rc3 (08 Nov 2005) + + 08 Nov 2005; Diego Pettenò <flameeyes@gentoo.org> + +alsa-utils-1.0.10_rc3.ebuild: + Bump to latest version. 31 Oct 2005; Diego Pettenò <flameeyes@gentoo.org> +files/alsasound-1.0.10_rc2, alsa-utils-1.0.10_rc2.ebuild: diff --git a/media-sound/alsa-utils/Manifest b/media-sound/alsa-utils/Manifest index 15c3191cbd01..90b65c829d1e 100644 --- a/media-sound/alsa-utils/Manifest +++ b/media-sound/alsa-utils/Manifest @@ -1,8 +1,6 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - MD5 d278ade7c05118f36156c02bb8b84f22 ChangeLog 17439 MD5 6d8d0ddc510916e4f644f6643d763226 alsa-utils-1.0.10_rc2.ebuild 2588 +MD5 6d8d0ddc510916e4f644f6643d763226 alsa-utils-1.0.10_rc3.ebuild 2588 MD5 a2a37bf9cb817343a6a58e20cfea9bb8 alsa-utils-1.0.7.ebuild 2272 MD5 26f5354615b23de013a20117251274ee alsa-utils-1.0.8.ebuild 2269 MD5 d9b19e1fc31acdd0b7091ce79400ce85 alsa-utils-1.0.9a-r1.ebuild 2525 @@ -15,15 +13,9 @@ MD5 2a50971b115f63d74d0054c7e3ee9144 files/alsasound 7106 MD5 9224c89a555eeabd60baff541b5996b2 files/alsasound-1.0.10_rc2 7150 MD5 f4f492c382b243ebf558809a372fd6b7 files/alsasound.confd 515 MD5 5583841a2a5a206ad2838524c2cc7528 files/digest-alsa-utils-1.0.10_rc2 73 +MD5 8c0d2ce137d1d9a639a0b9d23c8dffb1 files/digest-alsa-utils-1.0.10_rc3 73 MD5 ddaf1d5cc1a19dff65e19e6470bc711d files/digest-alsa-utils-1.0.7 69 MD5 ec6210532acb9b397bacb3eb81f7593a files/digest-alsa-utils-1.0.8 69 MD5 2bfc6eaf49d769272a46ed2046b73944 files/digest-alsa-utils-1.0.9a 70 MD5 2bfc6eaf49d769272a46ed2046b73944 files/digest-alsa-utils-1.0.9a-r1 70 MD5 a1eaeb2ae801daeb712c90c060e922dc metadata.xml 158 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.2 (GNU/Linux) - -iD8DBQFDZmT1j5H05b2HAEkRAvy+AJ9c4aJhv9Go1Q+j2i74IOwwbIcLeACfduYv -P5CbIkB077EcPTLvqd5w/a4= -=JjbB ------END PGP SIGNATURE----- diff --git a/media-sound/alsa-utils/alsa-utils-1.0.10_rc3.ebuild b/media-sound/alsa-utils/alsa-utils-1.0.10_rc3.ebuild new file mode 100644 index 000000000000..2b6dc042152f --- /dev/null +++ b/media-sound/alsa-utils/alsa-utils-1.0.10_rc3.ebuild @@ -0,0 +1,85 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-sound/alsa-utils/alsa-utils-1.0.10_rc3.ebuild,v 1.1 2005/11/08 12:19:56 flameeyes Exp $ + +inherit eutils flag-o-matic autotools + +MY_P="${P/_rc/rc}" + +DESCRIPTION="Advanced Linux Sound Architecture Utils (alsactl, alsamixer, etc.)" +HOMEPAGE="http://www.alsa-project.org/" +SRC_URI="mirror://alsaproject/utils/${MY_P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0.9" +KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 -sparc ~x86" +IUSE="nls" + +DEPEND=">=sys-libs/ncurses-5.1 + dev-util/dialog + >=media-libs/alsa-lib-1.0.10_rc1" +RDEPEND="${DEPEND} + sys-apps/pciutils" + +S=${WORKDIR}/${MY_P} + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/${PN}-1.0.10_rc1-largefile.patch + epatch "${FILESDIR}"/${PN}-1.0.10_rc1-nls.patch + + eautoreconf +} + +src_compile() { + econf \ + $(use_enable nls) \ + || die "configure failed" + + emake || die "make failed" +} + +src_install() { + local ALSA_UTILS_DOCS="ChangeLog README TODO + seq/aconnect/README.aconnect + seq/aseqnet/README.aseqnet" + + make DESTDIR="${D}" install || die "Installation Failed" + + dodoc ${ALSA_UTILS_DOCS} + newdoc alsamixer/README README.alsamixer + + newconfd ${FILESDIR}/alsasound.confd alsasound + insinto /etc/modules.d + newins ${FILESDIR}/alsa-modules.conf-rc alsa + newinitd ${FILESDIR}/alsasound-1.0.10_rc2 alsasound +} + +pkg_postinst() { + echo + einfo "The alsasound initscript is now provided by alsa-utils" + einfo "instead of alsa-driver for compatibility with kernel-sources" + einfo "which provide ALSA internally." + echo + einfo "To take advantage of this, and automate the process of" + einfo "loading and unloading the ALSA sound drivers as well as" + einfo "storing and restoring sound-card mixer levels you should" + einfo "add alsasound to the boot runlevel. You can do this as" + einfo "root like so:" + einfo " # rc-update add alsasound boot" + echo + einfo "You will also need to edit the file /etc/modules.d/alsa" + einfo "and run modules-update. You can do this like so:" + einfo " # nano -w /etc/modules.d/alsa && modules-update" + echo + + if use sparc; then + ewarn "Old versions of alsa-drivers had a broken snd-ioctl32 module" + ewarn "which causes sparc64 machines to lockup on such tasks as" + ewarn "changing the volume. Because of this, it is VERY important" + ewarn "that you do not use the snd-ioctl32 modules contained in" + ewarn "development-sources or <=gentoo-dev-sources-2.6.7-r14. Doing so" + ewarn "may result in an unbootable system if you start alsasound at boot." + fi +} diff --git a/media-sound/alsa-utils/files/digest-alsa-utils-1.0.10_rc3 b/media-sound/alsa-utils/files/digest-alsa-utils-1.0.10_rc3 new file mode 100644 index 000000000000..c9c34dc63b69 --- /dev/null +++ b/media-sound/alsa-utils/files/digest-alsa-utils-1.0.10_rc3 @@ -0,0 +1 @@ +MD5 234fd15c5486e22eb2d0ac7289d6caa5 alsa-utils-1.0.10rc3.tar.bz2 990107 |