Add masked ebuild of alsa-lib with extra useflags. Experimental.
authorDiego Elio Pettenò <flameeyes@gentoo.org>
Thu, 21 Dec 2006 00:23:05 +0000 (00:23 +0000)
committerDiego Elio Pettenò <flameeyes@gentoo.org>
Thu, 21 Dec 2006 00:23:05 +0000 (00:23 +0000)
Package-Manager: portage-2.1.2_rc3-r8

media-libs/alsa-lib/ChangeLog
media-libs/alsa-lib/Manifest
media-libs/alsa-lib/alsa-lib-1.0.14_rc1-r1.ebuild [new file with mode: 0644]
media-libs/alsa-lib/files/digest-alsa-lib-1.0.14_rc1-r1 [new file with mode: 0644]

index e726f4366cb6189c799c448e4f5e295b45fb1bcc..a7c992cbb249cf32605aed75e731b208639f9a14 100644 (file)
@@ -1,6 +1,12 @@
 # ChangeLog for media-libs/alsa-lib
 # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/alsa-lib/ChangeLog,v 1.210 2006/12/11 19:46:14 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/alsa-lib/ChangeLog,v 1.211 2006/12/21 00:23:04 flameeyes Exp $
+
+*alsa-lib-1.0.14_rc1-r1 (21 Dec 2006)
+
+  21 Dec 2006; Diego Pettenò <flameeyes@gentoo.org>
+  +alsa-lib-1.0.14_rc1-r1.ebuild:
+  Add masked ebuild of alsa-lib with extra useflags. Experimental.
 
 *alsa-lib-1.0.14_rc1 (11 Dec 2006)
 
index c665d07bc4f0605aa22b378913cce2fcdb0751b6..3f0bb0298693289615245b61e74c17d0342a4f85 100644 (file)
@@ -54,14 +54,18 @@ EBUILD alsa-lib-1.0.13.ebuild 1900 RMD160 55fd5a77d08abde187c09c43d5685088fb5fb4
 MD5 73b5c74f81f592e8c5d813510b836776 alsa-lib-1.0.13.ebuild 1900
 RMD160 55fd5a77d08abde187c09c43d5685088fb5fb46e alsa-lib-1.0.13.ebuild 1900
 SHA256 665392c648af416d98beb50423ac0e71700c00eed838944c6b85a4457956a6cc alsa-lib-1.0.13.ebuild 1900
+EBUILD alsa-lib-1.0.14_rc1-r1.ebuild 2335 RMD160 8a7f7abaf597e912c608f5aae2dbd952ce894863 SHA1 4baf3eab80bc2a362f40477162f8160002fe445a SHA256 0b7af436c1da11dacd2c45788afd5d694fea9d6941d38355519431fbdd4443ad
+MD5 dce497e1be3b262657450f32ab47cb26 alsa-lib-1.0.14_rc1-r1.ebuild 2335
+RMD160 8a7f7abaf597e912c608f5aae2dbd952ce894863 alsa-lib-1.0.14_rc1-r1.ebuild 2335
+SHA256 0b7af436c1da11dacd2c45788afd5d694fea9d6941d38355519431fbdd4443ad alsa-lib-1.0.14_rc1-r1.ebuild 2335
 EBUILD alsa-lib-1.0.14_rc1.ebuild 1854 RMD160 fed2e3fe11ec67b2bed2c0cd6fc8b573b05afd7e SHA1 194398e4dda345d93ee20a7b1a0d3626f9a89bc1 SHA256 2cc811371555ba76d9bc167a284aae1587b73b7912946fea98217cc885ff0bff
 MD5 278886b3824413c98481eaaa811d6f08 alsa-lib-1.0.14_rc1.ebuild 1854
 RMD160 fed2e3fe11ec67b2bed2c0cd6fc8b573b05afd7e alsa-lib-1.0.14_rc1.ebuild 1854
 SHA256 2cc811371555ba76d9bc167a284aae1587b73b7912946fea98217cc885ff0bff alsa-lib-1.0.14_rc1.ebuild 1854
-MISC ChangeLog 30949 RMD160 df02d314a95d6cb79efcca4c2c821dda090e832e SHA1 4e8b64c8170d81e27c43d820931468f37891d03c SHA256 4021b89a6db0df4170bd96b60f8dbd6ddbd2702b605fb39e3faa299841542d80
-MD5 8090544b868df40b8b899ec6e3a7d200 ChangeLog 30949
-RMD160 df02d314a95d6cb79efcca4c2c821dda090e832e ChangeLog 30949
-SHA256 4021b89a6db0df4170bd96b60f8dbd6ddbd2702b605fb39e3faa299841542d80 ChangeLog 30949
+MISC ChangeLog 31143 RMD160 3d748f266d1e45dc1d34bbf1eb2fa51c626fff0c SHA1 5605cb3934f0a9c6c2c1da8bd0172010f0bc3306 SHA256 e67ba1e88bab92fadf72eefc2d2f8e53eee40ea2106e811767839a2db76041f7
+MD5 0efaf1f1fa7bb7fd51159eaf1c64ea54 ChangeLog 31143
+RMD160 3d748f266d1e45dc1d34bbf1eb2fa51c626fff0c ChangeLog 31143
+SHA256 e67ba1e88bab92fadf72eefc2d2f8e53eee40ea2106e811767839a2db76041f7 ChangeLog 31143
 MISC metadata.xml 220 RMD160 e49f8bb330d1798cd2c8ee5335cef1784f0d7ccb SHA1 1b895fe6cae4b8eab08ba1a6a1212baf4b4b4105 SHA256 8570ef11cd59b0d8edb71e78eecaec423616836b10eacb86bee0de941f0ae054
 MD5 7c52acc7d4fe40bac97d3198a43dcbd6 metadata.xml 220
 RMD160 e49f8bb330d1798cd2c8ee5335cef1784f0d7ccb metadata.xml 220
@@ -84,10 +88,13 @@ SHA256 b39f1d527ddff411e131985db335a52777656e62463f44de333dbcc22aeaeac2 files/di
 MD5 66d93871de2556f7962921b3c46ffb27 files/digest-alsa-lib-1.0.14_rc1 259
 RMD160 6277ef689668ef3ed6c97b188a18e02d0195f852 files/digest-alsa-lib-1.0.14_rc1 259
 SHA256 f0d19c055de0c103aba04ff17748cf98c9759515f0f0d9be48117b22414f4926 files/digest-alsa-lib-1.0.14_rc1 259
+MD5 66d93871de2556f7962921b3c46ffb27 files/digest-alsa-lib-1.0.14_rc1-r1 259
+RMD160 6277ef689668ef3ed6c97b188a18e02d0195f852 files/digest-alsa-lib-1.0.14_rc1-r1 259
+SHA256 f0d19c055de0c103aba04ff17748cf98c9759515f0f0d9be48117b22414f4926 files/digest-alsa-lib-1.0.14_rc1-r1 259
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.4.6 (GNU/Linux)
 
-iD8DBQFFfbWNAiZjviIA2XgRAkVJAJ480hk2ImwLfS+yVK5zZ+Kgmd7dowCgxMoX
-vE3odOHJxWEbVy98ZvE0vu4=
-=MDdB
+iD8DBQFFidPyAiZjviIA2XgRAodmAJ46Ow/l53aN8OTnlh/RTbH9XXDRSQCfZ959
+ja2fjgfshYFzvNLncZg+G14=
+=HO1o
 -----END PGP SIGNATURE-----
diff --git a/media-libs/alsa-lib/alsa-lib-1.0.14_rc1-r1.ebuild b/media-libs/alsa-lib/alsa-lib-1.0.14_rc1-r1.ebuild
new file mode 100644 (file)
index 0000000..fa5ac35
--- /dev/null
@@ -0,0 +1,84 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/alsa-lib/alsa-lib-1.0.14_rc1-r1.ebuild,v 1.1 2006/12/21 00:23:05 flameeyes Exp $
+
+WANT_AUTOCONF="latest"
+WANT_AUTOMAKE="1.9"
+
+inherit eutils autotools libtool
+
+MY_P="${P/_rc/rc}"
+S="${WORKDIR}/${MY_P}"
+
+DESCRIPTION="Advanced Linux Sound Architecture Library"
+HOMEPAGE="http://www.alsa-project.org/"
+SRC_URI="mirror://alsaproject/lib/${MY_P}.tar.bz2"
+
+LICENSE="GPL-2 LGPL-2.1"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86"
+IUSE="doc debug alisp midi"
+
+RDEPEND="virtual/alsa
+       >=media-sound/alsa-headers-${PV}"
+DEPEND="${RDEPEND}
+       doc? ( >=app-doc/doxygen-1.2.6 )"
+
+IUSE_PCM_PLUGIN="copy linear route mulaw alaw adpcm rate plug multi shm file null empty share meter hooks lfloat ladspa dmix dshare dsnoop asym iec958
+softvol extplug ioplug"
+
+for plugin in ${IUSE_PCM_PLUGIN}; do
+       IUSE="${IUSE} alsa_pcm_plugins_${plugin}"
+done
+
+src_unpack() {
+       unpack ${A}
+       cd "${S}"
+
+       elibtoolize
+       epunt_cxx
+}
+
+src_compile() {
+       # needed to avoid gcc looping internaly
+       use hppa && export CFLAGS="-O1 -pipe"
+
+       econf \
+               --enable-static \
+               --enable-shared \
+               --disable-resmgr \
+               $(use_with debug) \
+               $(use_enable alisp) \
+               $(use_enable midi instr) \
+               $(use_enable midi seq) $(use_enable midi aload) \
+               "--with-pcm-plugins=${ALSA_PCM_PLUGINS}" \
+               --disable-dependency-tracking \
+               || die "configure failed"
+
+       emake || die "make failed"
+
+       if use doc; then
+               emake doc || die "failed to generate docs"
+               fgrep -Zrl "${S}" "${S}/doc/doxygen/html" | \
+                       xargs -0 sed -i -e "s:${S}::"
+       fi
+}
+
+src_install() {
+       emake DESTDIR="${D}" install || die "make install failed"
+
+       dodoc ChangeLog TODO
+       use doc && dohtml -r doc/doxygen/html/*
+}
+
+pkg_postinst() {
+       ewarn "Starting from alsa 1.0.11_rc3 the configuration for dmix is changed."
+       ewarn "Leaving around old asound.conf or ~/.asoundrc might make all apps"
+       ewarn "using ALSA output crash."
+       ewarn "Note that dmix output is enabled by default on the 'default' device"
+       ewarn "since ALSA 1.0.9."
+       einfo ""
+       einfo "Please try media-sound/alsa-driver before filing bugs about unstable"
+       einfo "or missing output with in-kernel drivers. Misaligned versions of"
+       einfo "alsa-lib and drivers used can cause problems."
+}
diff --git a/media-libs/alsa-lib/files/digest-alsa-lib-1.0.14_rc1-r1 b/media-libs/alsa-lib/files/digest-alsa-lib-1.0.14_rc1-r1
new file mode 100644 (file)
index 0000000..a74bd0f
--- /dev/null
@@ -0,0 +1,3 @@
+MD5 6e45bb92e9162ffaeb26395e8210971f alsa-lib-1.0.14rc1.tar.bz2 714549
+RMD160 c4520ff469fcfb68da4f1646e2b153cce805e892 alsa-lib-1.0.14rc1.tar.bz2 714549
+SHA256 a0acfe840b519b9ab90f94878941ff2e77aac07c1e4d08c07f6d8c96661150ca alsa-lib-1.0.14rc1.tar.bz2 714549