Bump to latest upstream version.
authorDiego Elio Pettenò <flameeyes@gentoo.org>
Wed, 16 Nov 2005 19:59:34 +0000 (19:59 +0000)
committerDiego Elio Pettenò <flameeyes@gentoo.org>
Wed, 16 Nov 2005 19:59:34 +0000 (19:59 +0000)
Package-Manager: portage-2.0.53_rc7

15 files changed:
media-sound/alsa-driver/ChangeLog
media-sound/alsa-driver/Manifest
media-sound/alsa-driver/alsa-driver-1.0.10.ebuild [new file with mode: 0644]
media-sound/alsa-driver/files/digest-alsa-driver-1.0.10 [new file with mode: 0644]
media-sound/alsa-headers/ChangeLog
media-sound/alsa-headers/Manifest
media-sound/alsa-headers/alsa-headers-1.0.10.ebuild [new file with mode: 0644]
media-sound/alsa-headers/files/digest-alsa-headers-1.0.10 [new file with mode: 0644]
media-sound/alsa-tools/ChangeLog
media-sound/alsa-tools/alsa-tools-1.0.10.ebuild [new file with mode: 0644]
media-sound/alsa-tools/files/digest-alsa-tools-1.0.10 [new file with mode: 0644]
media-sound/alsa-utils/ChangeLog
media-sound/alsa-utils/Manifest
media-sound/alsa-utils/alsa-utils-1.0.10.ebuild [new file with mode: 0644]
media-sound/alsa-utils/files/digest-alsa-utils-1.0.10 [new file with mode: 0644]

index fcf443354d82a67040b029f84d3445e15825474f..7b1deb6284903dac9e73a5c3a0304a5c069e35c8 100644 (file)
@@ -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.169 2005/11/15 19:00:50 wolf31o2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/alsa-driver/ChangeLog,v 1.170 2005/11/16 19:59:34 flameeyes Exp $
+
+*alsa-driver-1.0.10 (16 Nov 2005)
+
+  16 Nov 2005; Diego Pettenò <flameeyes@gentoo.org>
+  +alsa-driver-1.0.10.ebuild:
+  Bump to latest upstream version.
 
   15 Nov 2005; Chris Gianelloni <wolf31o2@gentoo.org>
   alsa-driver-1.0.10_rc3.ebuild:
index 8e231ebc99b20bbf8029b4bd49329a54a1cc4209..6aeaf73ced14f1c701089da5975859dc7c1af913 100644 (file)
@@ -1,4 +1,5 @@
 MD5 cc838ac5b1ec1b12617371da7386450d ChangeLog 29591
+MD5 4be56bef9fda79fd7e51bf9264273e43 alsa-driver-1.0.10.ebuild 4678
 MD5 83e0d77659b142d24afa2a86d91b3c4d alsa-driver-1.0.10_rc2.ebuild 4555
 MD5 05d84ba8681d1e857e581caf97e6db59 alsa-driver-1.0.10_rc3.ebuild 4675
 MD5 afcbb70f92f2785ee73a764383c47611 alsa-driver-1.0.3.ebuild 3349
@@ -10,6 +11,7 @@ MD5 ed352c464a295465543d8933c162f101 files/alsa-driver-1.0.10_rc1-include.patch
 MD5 2f9a74cca5e78c63142073f0c90b9ff8 files/alsa-driver-1.0.10_rc2-audigy2zs.patch 460
 MD5 f6a0e5f4624041d23bbd60726331310e files/alsa-driver-1.0.10_rc3-ppc-unbreakage.patch 2957
 MD5 be4912a88e538a1f620b2fd422859ef6 files/alsa-driver-1.0.9b-sparc64-ioctl-detect.patch 513
+MD5 5474546fa4977a1fa63fbab0a155fd15 files/digest-alsa-driver-1.0.10 72
 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
diff --git a/media-sound/alsa-driver/alsa-driver-1.0.10.ebuild b/media-sound/alsa-driver/alsa-driver-1.0.10.ebuild
new file mode 100644 (file)
index 0000000..cd22f85
--- /dev/null
@@ -0,0 +1,163 @@
+# 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.ebuild,v 1.1 2005/11/16 19:59:34 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
+
+               # Ignore PNP checks for ppc architecture, as PNP can't be enabled there.
+               if [[ ${ARCH} != "ppc" ]]; then
+                       CONFIG_CHECK="${CONFIG_CHECK} PNP"
+               fi
+       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
+       epatch "${FILESDIR}/${PN}-1.0.10_rc3-ppc-unbreakage.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"
+       append-flags "-I${KV_DIR}/arch/$(tc-arch-kernel)/include"
+
+       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
+
+       ARCH=$(tc-arch-kernel)
+       # -j1 : see bug #71028
+       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 b/media-sound/alsa-driver/files/digest-alsa-driver-1.0.10
new file mode 100644 (file)
index 0000000..5d0bc88
--- /dev/null
@@ -0,0 +1 @@
+MD5 e9e7c1ca664a14275d67185049f933f9 alsa-driver-1.0.10.tar.bz2 2194644
index 863e0b4b77c406821b99af6bb53c554bbfb87dc7..acef9501af4714ea341f3c94178a9dd86aa72246 100644 (file)
@@ -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.49 2005/11/15 18:59:08 wolf31o2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/alsa-headers/ChangeLog,v 1.50 2005/11/16 19:59:03 flameeyes Exp $
+
+*alsa-headers-1.0.10 (16 Nov 2005)
+
+  16 Nov 2005; Diego Pettenò <flameeyes@gentoo.org>
+  +alsa-headers-1.0.10.ebuild:
+  Bump to latest upstream version.
 
   15 Nov 2005; Chris Gianelloni <wolf31o2@gentoo.org>
   alsa-headers-1.0.10_rc3.ebuild:
index f2b311a01762755dc4bdf71a3b9db8804b859f71..8cc6d3dea4878f64e860f348f97cfaab831260ac 100644 (file)
@@ -1,9 +1,11 @@
 MD5 e434f17c70466425e771d97491bfdead ChangeLog 6382
+MD5 83ab9c570f26a1706856f9b241d959b7 alsa-headers-1.0.10.ebuild 1058
 MD5 a9e144dbe9c96be33f280e18ee2e369d alsa-headers-1.0.10_rc2.ebuild 1060
 MD5 e7aeaf1b6f35a1374b19050ae7240c2e alsa-headers-1.0.10_rc3.ebuild 1057
 MD5 c6fb273cd23828076b44c689f5363999 alsa-headers-1.0.8.ebuild 1045
 MD5 b92b40894cafd64ded78e9e35b527bd7 alsa-headers-1.0.9b.ebuild 1024
 MD5 6985658411b4e459ef8b03a25f480404 files/alsa-headers-1.0.6a-user.patch 419
+MD5 5474546fa4977a1fa63fbab0a155fd15 files/digest-alsa-headers-1.0.10 72
 MD5 569ec84f258f90c508827a3040062f41 files/digest-alsa-headers-1.0.10_rc2 75
 MD5 ad7631557a0317471d29e4c26cfb4cf2 files/digest-alsa-headers-1.0.10_rc3 75
 MD5 14b6c8d954e36bb9d40c97cf051220f0 files/digest-alsa-headers-1.0.8 71
diff --git a/media-sound/alsa-headers/alsa-headers-1.0.10.ebuild b/media-sound/alsa-headers/alsa-headers-1.0.10.ebuild
new file mode 100644 (file)
index 0000000..87d6660
--- /dev/null
@@ -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.10.ebuild,v 1.1 2005/11/16 19:59:03 flameeyes Exp $
+
+inherit eutils
+
+MY_PN=${PN/headers/driver}
+MY_P="${MY_PN}-${PV/_rc/rc}"
+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 ${ROOT}/usr/include/sound ]]; then
+               rm  ${ROOT}/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.10 b/media-sound/alsa-headers/files/digest-alsa-headers-1.0.10
new file mode 100644 (file)
index 0000000..5d0bc88
--- /dev/null
@@ -0,0 +1 @@
+MD5 e9e7c1ca664a14275d67185049f933f9 alsa-driver-1.0.10.tar.bz2 2194644
index 056ec3978a10ac4f7d44b3007d218a1ab52283f6..30d6ad2132ecb289784207297d4ea8febc41f369 100644 (file)
@@ -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.82 2005/11/08 12:21:37 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/alsa-tools/ChangeLog,v 1.83 2005/11/16 19:59:18 flameeyes Exp $
+
+*alsa-tools-1.0.10 (16 Nov 2005)
+
+  16 Nov 2005; Diego Pettenò <flameeyes@gentoo.org>
+  +alsa-tools-1.0.10.ebuild:
+  Bump to latest upstream version.
 
 *alsa-tools-1.0.10_rc2 (08 Nov 2005)
 
diff --git a/media-sound/alsa-tools/alsa-tools-1.0.10.ebuild b/media-sound/alsa-tools/alsa-tools-1.0.10.ebuild
new file mode 100644 (file)
index 0000000..41b8215
--- /dev/null
@@ -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.ebuild,v 1.1 2005/11/16 19:59:18 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 b/media-sound/alsa-tools/files/digest-alsa-tools-1.0.10
new file mode 100644 (file)
index 0000000..4408ba5
--- /dev/null
@@ -0,0 +1 @@
+MD5 537d691e87d9af6343cef5ddcad70018 alsa-tools-1.0.10.tar.bz2 1376274
index 2b8833c2dd62fdbf9fa3c2527281aba4d494cd4a..72bdb515b46f9c013e283e2f4985ec13ac40d33b 100644 (file)
@@ -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.117 2005/11/15 19:05:02 wolf31o2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/alsa-utils/ChangeLog,v 1.118 2005/11/16 19:59:28 flameeyes Exp $
+
+*alsa-utils-1.0.10 (16 Nov 2005)
+
+  16 Nov 2005; Diego Pettenò <flameeyes@gentoo.org>
+  +alsa-utils-1.0.10.ebuild:
+  Bump to latest upstream version.
 
   15 Nov 2005; Chris Gianelloni <wolf31o2@gentoo.org>
   alsa-utils-1.0.10_rc3.ebuild:
index 68751377e5cb695c6204baa688f4e94da4c2c33f..dd9eb59203717764015236d32885cc27aeb336c1 100644 (file)
@@ -1,4 +1,5 @@
 MD5 d492daf915fe821dcb73dbce2181433b ChangeLog 18061
+MD5 e584b0034bf7eec144e0cd414ac0aeb2 alsa-utils-1.0.10.ebuild 2426
 MD5 8e9e89032a9705095a4f28b1034d05cd alsa-utils-1.0.10_rc2.ebuild 2588
 MD5 3fcdcba176499021ea34049081c97704 alsa-utils-1.0.10_rc3.ebuild 2585
 MD5 a2a37bf9cb817343a6a58e20cfea9bb8 alsa-utils-1.0.7.ebuild 2272
@@ -12,6 +13,7 @@ MD5 504c2047f55a094833631892ab099ada files/alsa-utils-1.0.9a-strsignal.patch 454
 MD5 2a50971b115f63d74d0054c7e3ee9144 files/alsasound 7106
 MD5 9224c89a555eeabd60baff541b5996b2 files/alsasound-1.0.10_rc2 7150
 MD5 f4f492c382b243ebf558809a372fd6b7 files/alsasound.confd 515
+MD5 a86ec4a87712d028c83f9066f4505551 files/digest-alsa-utils-1.0.10 70
 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
diff --git a/media-sound/alsa-utils/alsa-utils-1.0.10.ebuild b/media-sound/alsa-utils/alsa-utils-1.0.10.ebuild
new file mode 100644 (file)
index 0000000..0955970
--- /dev/null
@@ -0,0 +1,76 @@
+# 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.ebuild,v 1.1 2005/11/16 19:59:29 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_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 b/media-sound/alsa-utils/files/digest-alsa-utils-1.0.10
new file mode 100644 (file)
index 0000000..af2f41a
--- /dev/null
@@ -0,0 +1 @@
+MD5 94bdec65e9c3fd02f7ef8ceb8f918afe alsa-utils-1.0.10.tar.bz2 991322