diff options
20 files changed, 452 insertions, 64 deletions
diff --git a/media-sound/alsa-driver/ChangeLog b/media-sound/alsa-driver/ChangeLog index 749c10a884fb..54d4d8793d7c 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.144 2005/05/05 17:41:27 eradicator Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-sound/alsa-driver/ChangeLog,v 1.145 2005/05/27 20:36:16 luckyduck Exp $ + +*alsa-driver-1.0.9 (27 May 2005) + + 27 May 2005; Jan Brinkmann <luckyduck@gentoo.org> + +alsa-driver-1.0.9.ebuild: + New upstream version released, see #94196. 05 May 2005; Jeremy Huddleston <eradicator@gentoo.org> -files/alsa-driver-1.0.4-devfix.patch, diff --git a/media-sound/alsa-driver/Manifest b/media-sound/alsa-driver/Manifest index 73f336b50266..c104021ace12 100644 --- a/media-sound/alsa-driver/Manifest +++ b/media-sound/alsa-driver/Manifest @@ -1,22 +1,14 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - -MD5 b1d85b673e322fab80f0f733988751ea ChangeLog 25474 -MD5 3c0f4daec01807f3cce65c8fff87ff3f alsa-driver-1.0.3.ebuild 3366 +MD5 557a97f176b4c4b774ec816222db14e7 alsa-driver-1.0.9.ebuild 4382 MD5 13eab1abd6e32da978f5cb85fee1d382 alsa-driver-1.0.9_rc3.ebuild 4402 -MD5 a1eaeb2ae801daeb712c90c060e922dc metadata.xml 158 MD5 6f09dc63bc18f2d9e3369dc425211b62 alsa-driver-1.0.8.ebuild 4634 -MD5 8c120f7730b91118d0a8148d2deb3a43 files/alsa-driver-0.9.8-au-fix.patch 1267 -MD5 938a2ee36c54416322d1acd47b249c99 files/digest-alsa-driver-1.0.3 71 +MD5 061dd5934be16e0cebc5fa0e79ef3fc6 alsa-driver-1.0.3.ebuild 3370 +MD5 98d68a2626a77e608b8d7b208ea38502 ChangeLog 25635 +MD5 a1eaeb2ae801daeb712c90c060e922dc metadata.xml 158 +MD5 b2791ec892d9be6952fe139cc2309abf files/xbox-1.0.8.patch 1525 +MD5 27ccbe36406f145c1d63725a53517233 files/makefile.patch 1122 MD5 112205863c92fbee731b363e46c8c1af files/digest-alsa-driver-1.0.9_rc3 74 +MD5 938a2ee36c54416322d1acd47b249c99 files/digest-alsa-driver-1.0.3 71 MD5 14b6c8d954e36bb9d40c97cf051220f0 files/digest-alsa-driver-1.0.8 71 -MD5 27ccbe36406f145c1d63725a53517233 files/makefile.patch 1122 +MD5 ec76197e2819df2d5725bda1201250ae files/digest-alsa-driver-1.0.9 71 +MD5 8c120f7730b91118d0a8148d2deb3a43 files/alsa-driver-0.9.8-au-fix.patch 1267 MD5 5445a523e0e8aa31b9f293b1ac380b37 files/1.0.8-msi_audigyls.patch 1771 -MD5 b2791ec892d9be6952fe139cc2309abf files/xbox-1.0.8.patch 1525 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.1 (GNU/Linux) - -iD8DBQFCelrhArHZZzCEUG0RAupeAJ9PIYWrFZvDJrEpMLhRZB7BN9Fl4gCbB+yu -tey2mtS6M0GQQh9k2r9gxuE= -=ncRs ------END PGP SIGNATURE----- diff --git a/media-sound/alsa-driver/alsa-driver-1.0.9.ebuild b/media-sound/alsa-driver/alsa-driver-1.0.9.ebuild new file mode 100644 index 000000000000..3e592bf66de9 --- /dev/null +++ b/media-sound/alsa-driver/alsa-driver-1.0.9.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.9.ebuild,v 1.1 2005/05/27 20:36:16 luckyduck Exp $ + +inherit linux-mod flag-o-matic eutils + +DESCRIPTION="Advanced Linux Sound Architecture kernel modules" +HOMEPAGE="http://www.alsa-project.org/" +SRC_URI="mirror://alsaproject/driver/${P}.tar.bz2" + +LICENSE="GPL-2 LGPL-2.1" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~ia64 ~mips ~ppc ~sparc ~x86" +IUSE="oss doc" + +RDEPEND="virtual/modutils + ~media-sound/alsa-headers-${PV}" +DEPEND="${RDEPEND} + sys-devel/patch + virtual/linux-sources + >=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 +} + +src_unpack() { + unpack ${A} + + cd ${S} + + convert_to_m ${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 + set_arch_to_kernel + emake -j1 || die "Make Failed" + set_arch_to_portage + + 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() { + dodir /usr/include/sound + + make DESTDIR=${D} install || die "make install failed" + + # Provided by alsa-headers now + rm -rf ${D}/usr/include/sound + + # We have our own scripts in alsa-utils + test -e ${D}/etc/init.d/alsasound && rm ${D}/etc/init.d/alsasound + test -e ${D}/etc/rc.d/init.d/alsasound && rm ${D}/etc/rc.d/init.d/alsasound + + dodoc CARDS-STATUS INSTALL 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; 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.9 b/media-sound/alsa-driver/files/digest-alsa-driver-1.0.9 new file mode 100644 index 000000000000..3f822b681487 --- /dev/null +++ b/media-sound/alsa-driver/files/digest-alsa-driver-1.0.9 @@ -0,0 +1 @@ +MD5 2f2f0a3922718d32cfb034bdf0557140 alsa-driver-1.0.9.tar.bz2 2018630 diff --git a/media-sound/alsa-firmware/ChangeLog b/media-sound/alsa-firmware/ChangeLog index b6c3c6a69194..6d09f54afc17 100644 --- a/media-sound/alsa-firmware/ChangeLog +++ b/media-sound/alsa-firmware/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for media-sound/alsa-firmware # Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/alsa-firmware/ChangeLog,v 1.17 2005/04/22 11:15:04 eradicator Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-sound/alsa-firmware/ChangeLog,v 1.18 2005/05/27 20:38:42 luckyduck Exp $ + +*alsa-firmware-1.0.9 (27 May 2005) + + 27 May 2005; Jan Brinkmann <luckyduck@gentoo.org> + +alsa-firmware-1.0.9.ebuild: + New upstream version released, see #94196. *alsa-firmware-1.0.8-r1 (22 Apr 2005) diff --git a/media-sound/alsa-firmware/Manifest b/media-sound/alsa-firmware/Manifest index d0075bb2aca9..003446dce10e 100644 --- a/media-sound/alsa-firmware/Manifest +++ b/media-sound/alsa-firmware/Manifest @@ -1,14 +1,6 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - -MD5 77d9cd2bd3c94bad061393ef06a58af1 ChangeLog 2618 MD5 3420599c69435348716238fa365b5215 alsa-firmware-1.0.8-r1.ebuild 649 +MD5 45976985b83bd6ef7164d34fa2b609af alsa-firmware-1.0.9.ebuild 681 +MD5 5b99c3de839933168d0ea06eac57e73c ChangeLog 2783 MD5 a1eaeb2ae801daeb712c90c060e922dc metadata.xml 158 MD5 455a8b164a15d1dfd6a5784479456b7e files/digest-alsa-firmware-1.0.8-r1 73 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.1 (GNU/Linux) - -iD8DBQFCaNzMArHZZzCEUG0RAiP6AJ41+XZD16gFn2iTWiXi5TlsA1eFgACcCf4h -zGcaO22r/6cZxXByvS2jLEY= -=CNv0 ------END PGP SIGNATURE----- +MD5 159c0eac9528b3b6171929caf5b9509d files/digest-alsa-firmware-1.0.9 73 diff --git a/media-sound/alsa-firmware/alsa-firmware-1.0.9.ebuild b/media-sound/alsa-firmware/alsa-firmware-1.0.9.ebuild new file mode 100644 index 000000000000..4995dc8090c2 --- /dev/null +++ b/media-sound/alsa-firmware/alsa-firmware-1.0.9.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-sound/alsa-firmware/alsa-firmware-1.0.9.ebuild,v 1.1 2005/05/27 20:38:42 luckyduck Exp $ + +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 ~sparc ~x86" +IUSE="" + +DEPEND="" + +src_compile() { + econf \ + --with-hotplug-dir=/lib/firmware \ + || die "configure failed" + + emake || die "make failed" +} + +src_install () { + make DESTDIR="${D}" install || die "make install failed" + dodoc README +} diff --git a/media-sound/alsa-firmware/files/digest-alsa-firmware-1.0.9 b/media-sound/alsa-firmware/files/digest-alsa-firmware-1.0.9 new file mode 100644 index 000000000000..cb5821643872 --- /dev/null +++ b/media-sound/alsa-firmware/files/digest-alsa-firmware-1.0.9 @@ -0,0 +1 @@ +MD5 f7ce6a31691d6eb35fc155f306abc77b alsa-firmware-1.0.9.tar.bz2 1564001 diff --git a/media-sound/alsa-headers/ChangeLog b/media-sound/alsa-headers/ChangeLog index fc546e1ea760..a21a3b6d5eda 100644 --- a/media-sound/alsa-headers/ChangeLog +++ b/media-sound/alsa-headers/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for media-sound/alsa-headers # Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/alsa-headers/ChangeLog,v 1.31 2005/05/05 17:42:12 eradicator Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-sound/alsa-headers/ChangeLog,v 1.32 2005/05/27 20:34:53 luckyduck Exp $ + +*alsa-headers-1.0.9 (27 May 2005) + + 27 May 2005; Jan Brinkmann <luckyduck@gentoo.org> + +alsa-headers-1.0.9.ebuild: + New upstream version released, see #94196. 05 May 2005; Jeremy Huddleston <eradicator@gentoo.org> -alsa-headers-1.0.7.ebuild: diff --git a/media-sound/alsa-headers/Manifest b/media-sound/alsa-headers/Manifest index f32416d28c58..1cfbe5e5477c 100644 --- a/media-sound/alsa-headers/Manifest +++ b/media-sound/alsa-headers/Manifest @@ -1,19 +1,11 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - -MD5 54bbfa8bfaf7dd850e8d1d867f433059 ChangeLog 4126 -MD5 15deb4caf859359df22b0461a954f6fe alsa-headers-1.0.5a.ebuild 902 -MD5 f264e1c62d51a580bd7756c6057fbf2e alsa-headers-1.0.8.ebuild 1047 MD5 83ed271eba53f18b1636098df642e58d alsa-headers-1.0.9_rc3.ebuild 1062 +MD5 2bbcf931e4d109ed4789f77da81bc169 alsa-headers-1.0.9.ebuild 1037 +MD5 f264e1c62d51a580bd7756c6057fbf2e alsa-headers-1.0.8.ebuild 1047 +MD5 15deb4caf859359df22b0461a954f6fe alsa-headers-1.0.5a.ebuild 902 +MD5 9c4a9ca9afe98cc14cb7de21513985cb ChangeLog 4289 MD5 a1eaeb2ae801daeb712c90c060e922dc metadata.xml 158 -MD5 6985658411b4e459ef8b03a25f480404 files/alsa-headers-1.0.6a-user.patch 419 MD5 deb0bfd8e2cfe0ba434fb5a820294502 files/digest-alsa-headers-1.0.5a 72 +MD5 6985658411b4e459ef8b03a25f480404 files/alsa-headers-1.0.6a-user.patch 419 MD5 14b6c8d954e36bb9d40c97cf051220f0 files/digest-alsa-headers-1.0.8 71 +MD5 ec76197e2819df2d5725bda1201250ae files/digest-alsa-headers-1.0.9 71 MD5 112205863c92fbee731b363e46c8c1af files/digest-alsa-headers-1.0.9_rc3 74 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.1 (GNU/Linux) - -iD8DBQFCelsNArHZZzCEUG0RAiqIAJ9zOqROM5Thh92z3YLNoIeVWnik+gCfXxwd -+3qo+cqpApc8WsOhKE7EnE4= -=eoWg ------END PGP SIGNATURE----- diff --git a/media-sound/alsa-headers/alsa-headers-1.0.9.ebuild b/media-sound/alsa-headers/alsa-headers-1.0.9.ebuild new file mode 100644 index 000000000000..65d08c80db34 --- /dev/null +++ b/media-sound/alsa-headers/alsa-headers-1.0.9.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-sound/alsa-headers/alsa-headers-1.0.9.ebuild,v 1.1 2005/05/27 20:34:53 luckyduck Exp $ + +inherit eutils + +MY_PN=${PN/headers/driver} +MY_P="${MY_PN}-${PV}" +S=${WORKDIR}/${MY_P} +MY_FILESDIR="${FILESDIR/headers/driver}" + +DESCRIPTION="Header files for 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 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86" +IUSE="" + +DEPEND="" + +# Remove the sound symlink workaround... +pkg_setup() { + if [ -L /usr/include/sound ]; then + rm /usr/include/sound + fi +} + +src_unpack() { + unpack ${A} + + cd ${S} + epatch ${FILESDIR}/${PN}-1.0.6a-user.patch +} + +src_compile() { + einfo "No compilation neccessary" +} + +src_install() { + cd ${S}/alsa-kernel/include + insinto /usr/include/sound + doins *.h || die "include failed" +} diff --git a/media-sound/alsa-headers/files/digest-alsa-headers-1.0.9 b/media-sound/alsa-headers/files/digest-alsa-headers-1.0.9 new file mode 100644 index 000000000000..3f822b681487 --- /dev/null +++ b/media-sound/alsa-headers/files/digest-alsa-headers-1.0.9 @@ -0,0 +1 @@ +MD5 2f2f0a3922718d32cfb034bdf0557140 alsa-driver-1.0.9.tar.bz2 2018630 diff --git a/media-sound/alsa-tools/ChangeLog b/media-sound/alsa-tools/ChangeLog index ee6b5f3d248f..fbe125a9d6f5 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.75 2005/04/12 07:55:43 eradicator Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-sound/alsa-tools/ChangeLog,v 1.76 2005/05/27 20:37:43 luckyduck Exp $ + +*alsa-tools-1.0.9 (27 May 2005) + + 27 May 2005; Jan Brinkmann <luckyduck@gentoo.org> + +alsa-tools-1.0.9.ebuild: + New upstream version released, see #94196. 12 Apr 2005; Jeremy Huddleston <eradicator@gentoo.org> -files/alsa-tools-1.0.3-kernel-2.6.patch, -alsa-tools-0.9.8.ebuild, diff --git a/media-sound/alsa-tools/Manifest b/media-sound/alsa-tools/Manifest index 9f779a938931..a8f217485163 100644 --- a/media-sound/alsa-tools/Manifest +++ b/media-sound/alsa-tools/Manifest @@ -1,17 +1,9 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - -MD5 194e372e6b9334f7c4827e23465374b1 ChangeLog 10498 MD5 a61565c41f57b7e963d503fa49b81ffe alsa-tools-1.0.7.ebuild 2325 +MD5 351715f550f6c4b8d99c5cd6e8c8a9c3 alsa-tools-1.0.9.ebuild 2359 +MD5 edc6298991361cddcd0a1cb5804d07b7 ChangeLog 10657 MD5 a1eaeb2ae801daeb712c90c060e922dc metadata.xml 158 MD5 89881d144ad73dd853bb44c56d2fe839 alsa-tools-1.0.8-r1.ebuild 2437 -MD5 e2a96585b296f3f975f2cc8146eb3b74 files/alsa-tools-1.0.6-gcc34.patch 280 -MD5 d71b074ecf904c67e2cffaa96ca52367 files/digest-alsa-tools-1.0.7 69 MD5 92018b0f62f8da61cc08aa7a03c5bb42 files/digest-alsa-tools-1.0.8-r1 69 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.1 (GNU/Linux) - -iD8DBQFCW38SArHZZzCEUG0RAnWJAKCI6gAMdqanIp5i14SEukq/yDBYEQCfRUUj -0QaA8NY7+oflfuU5+DEspW0= -=FlQu ------END PGP SIGNATURE----- +MD5 d71b074ecf904c67e2cffaa96ca52367 files/digest-alsa-tools-1.0.7 69 +MD5 b2bfa51076f226abb79fed1c136b1d80 files/digest-alsa-tools-1.0.9 70 +MD5 e2a96585b296f3f975f2cc8146eb3b74 files/alsa-tools-1.0.6-gcc34.patch 280 diff --git a/media-sound/alsa-tools/alsa-tools-1.0.9.ebuild b/media-sound/alsa-tools/alsa-tools-1.0.9.ebuild new file mode 100644 index 000000000000..d825c763fc9a --- /dev/null +++ b/media-sound/alsa-tools/alsa-tools-1.0.9.ebuild @@ -0,0 +1,91 @@ +# 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.9.ebuild,v 1.1 2005/05/27 20:37:43 luckyduck Exp $ + +inherit gnuconfig eutils + +DESCRIPTION="Advanced Linux Sound Architecture tools" +HOMEPAGE="http://www.alsa-project.org" +SRC_URI="mirror://alsaproject/tools/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0.9" +KEYWORDS="~amd64 ~mips ~ppc ~ppc64 ~sparc ~x86" +IUSE="X" + +DEPEND=">=media-libs/alsa-lib-1.0.0 + virtual/alsa + X? ( =x11-libs/fltk-1.1* + =x11-libs/gtk+-1.2* )" + +# 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 + if use X; then + ALSA_TOOLS="ac3dec as10k1 envy24control hdspconf hdsploader hdspmixer \ + mixartloader rmedigicontrol seq/sbiload sscape_ctl \ + us428control usx2yloader vxloader" + else + ALSA_TOOLS="ac3dec as10k1 hdsploader mixartloader seq/sbiload \ + sscape_ctl us428control usx2yloader vxloader" + 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() { + # hdspmixer requires fltk + export LDFLAGS="-L/usr/$(get_libdir)/fltk-1.1" + export CPPFLAGS="-I/usr/include/fltk-1.1" + + # 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 --with-kernel="${KV}" || die "configure 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.9 b/media-sound/alsa-tools/files/digest-alsa-tools-1.0.9 new file mode 100644 index 000000000000..78c0dadf2a22 --- /dev/null +++ b/media-sound/alsa-tools/files/digest-alsa-tools-1.0.9 @@ -0,0 +1 @@ +MD5 3139b9d6c10e14acbb926f23b488e745 alsa-tools-1.0.9.tar.bz2 1371170 diff --git a/media-sound/alsa-utils/ChangeLog b/media-sound/alsa-utils/ChangeLog index da2d9283cefd..e89e4efc4ec7 100644 --- a/media-sound/alsa-utils/ChangeLog +++ b/media-sound/alsa-utils/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for media-sound/alsa-utils # Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/alsa-utils/ChangeLog,v 1.92 2005/04/21 09:07:45 eradicator Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-sound/alsa-utils/ChangeLog,v 1.93 2005/05/27 20:37:24 luckyduck Exp $ + +*alsa-utils-1.0.9 (27 May 2005) + + 27 May 2005; Jan Brinkmann <luckyduck@gentoo.org> + +alsa-utils-1.0.9.ebuild: + New upstream version released, see #94196. 21 Apr 2005; Jeremy Huddleston <eradicator@gentoo.org> files/alsasound, files/alsasound.confd: diff --git a/media-sound/alsa-utils/Manifest b/media-sound/alsa-utils/Manifest index 6559da523155..42557d316b37 100644 --- a/media-sound/alsa-utils/Manifest +++ b/media-sound/alsa-utils/Manifest @@ -1,9 +1,11 @@ -MD5 4b2659ae37a62a730ee3ffa89023e2c7 ChangeLog 14355 -MD5 a2a37bf9cb817343a6a58e20cfea9bb8 alsa-utils-1.0.7.ebuild 2272 +MD5 72cac7a555a73b34645058f7a2df072b alsa-utils-1.0.9.ebuild 2237 MD5 26f5354615b23de013a20117251274ee alsa-utils-1.0.8.ebuild 2269 +MD5 e9898010c66394ae34e437f8a91b9164 ChangeLog 14514 MD5 a1eaeb2ae801daeb712c90c060e922dc metadata.xml 158 +MD5 a2a37bf9cb817343a6a58e20cfea9bb8 alsa-utils-1.0.7.ebuild 2272 +MD5 f4f492c382b243ebf558809a372fd6b7 files/alsasound.confd 515 MD5 954b0951b5fed9bf591abf9e7cc1963e files/alsa-modules.conf-rc 1162 -MD5 2a50971b115f63d74d0054c7e3ee9144 files/alsasound 7106 MD5 ddaf1d5cc1a19dff65e19e6470bc711d files/digest-alsa-utils-1.0.7 69 MD5 ec6210532acb9b397bacb3eb81f7593a files/digest-alsa-utils-1.0.8 69 -MD5 f4f492c382b243ebf558809a372fd6b7 files/alsasound.confd 515 +MD5 95a3737b14bbdd8f540bce955ecf02cd files/digest-alsa-utils-1.0.9 69 +MD5 2a50971b115f63d74d0054c7e3ee9144 files/alsasound 7106 diff --git a/media-sound/alsa-utils/alsa-utils-1.0.9.ebuild b/media-sound/alsa-utils/alsa-utils-1.0.9.ebuild new file mode 100644 index 000000000000..5b792a9ed736 --- /dev/null +++ b/media-sound/alsa-utils/alsa-utils-1.0.9.ebuild @@ -0,0 +1,64 @@ +# 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.9.ebuild,v 1.1 2005/05/27 20:37:24 luckyduck Exp $ + +DESCRIPTION="Advanced Linux Sound Architecture Utils (alsactl, alsamixer, etc.)" +HOMEPAGE="http://www.alsa-project.org/" +SRC_URI="mirror://alsaproject/utils/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0.9" +KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86" +IUSE="" + +DEPEND=">=sys-libs/ncurses-5.1 + dev-util/dialog + >=media-libs/alsa-lib-1.0.9" +RDEPEND="${DEPEND} + sys-apps/pciutils" + +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 + + insinto /etc/conf.d + newins ${FILESDIR}/alsasound.confd alsasound + insinto /etc/modules.d + newins ${FILESDIR}/alsa-modules.conf-rc alsa + exeinto /etc/init.d + doexe ${FILESDIR}/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.9 b/media-sound/alsa-utils/files/digest-alsa-utils-1.0.9 new file mode 100644 index 000000000000..aa7da8f10fea --- /dev/null +++ b/media-sound/alsa-utils/files/digest-alsa-utils-1.0.9 @@ -0,0 +1 @@ +MD5 c7037c54ed06d32577947f632f2c677b alsa-utils-1.0.9.tar.bz2 957302 |