aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSven 'sleipnir' Rebhan <odinshorse@googlemail.com>2010-02-07 19:20:38 +0000
committerSven 'sleipnir' Rebhan <odinshorse@googlemail.com>2010-02-07 19:20:38 +0000
commit2dabdfe021ee514443d675344823d83f2c85a87c (patch)
tree63ba7d8d5ce429ac6cf8d20166392b9f2a07841b
parentBump version of alsa-lib and alsa-utils to 1.0.22 and (diff)
downloadembedded-cross-2dabdfe021ee514443d675344823d83f2c85a87c.tar.gz
embedded-cross-2dabdfe021ee514443d675344823d83f2c85a87c.tar.bz2
embedded-cross-2dabdfe021ee514443d675344823d83f2c85a87c.zip
Fix the pkg-config file for alsa-lib-1.0.22.
-rw-r--r--media-libs/alsa-lib/Manifest2
-rw-r--r--media-libs/alsa-lib/alsa-lib-1.0.22.ebuild93
2 files changed, 95 insertions, 0 deletions
diff --git a/media-libs/alsa-lib/Manifest b/media-libs/alsa-lib/Manifest
index b4b536c..6852f8e 100644
--- a/media-libs/alsa-lib/Manifest
+++ b/media-libs/alsa-lib/Manifest
@@ -1,6 +1,8 @@
AUX alsa-lib-exec_prefix-fix.patch 513 RMD160 cf01afba1e888b45413b2343fe4c5a8e60dc4735 SHA1 52575a14f3b6cc65583a6a9d481c38cfa8f74330 SHA256 e426ef6cb77dc59c5b4d915dc68a7ed6a4ea1117e81d6ddfd0461784dbc238d8
DIST alsa-lib-1.0.20.tar.bz2 794728 RMD160 8e0b48367abdd9d5746d2dc537014b1449e65e05 SHA1 0e6acce4301a4b3924e268a78e8c979a55cc8f88 SHA256 15f8d0eef1da10c62136107e7b585bc8beb9c9e9b7ad177654097f8c15e57a63
DIST alsa-lib-1.0.21a.tar.bz2 808475 RMD160 38e615c25a93f4529f06e079584d379439ed9600 SHA1 49032964d22404455f3173629f271324bd8af211 SHA256 a6ce09afadc5428b09667cef32f7eba4ce0ea45aca27819edbe188e076d70074
+DIST alsa-lib-1.0.22.tar.bz2 808534 RMD160 4dbc3f9550f8ba01535ad3cfd8f0a8140f897e81 SHA1 d3b6c740c23b8d113a8d02da2a9fd61f5d1a8a44 SHA256 03c3e1410e68bae9b8c0d2ef1023b5416b4fd1c7191d52615d633def71e019bb
EBUILD alsa-lib-1.0.20-r1.ebuild 2860 RMD160 b4e4f6c588522e508cbb0b6e43275afca3882259 SHA1 c76e44ea40521a90b33ec9e1a3554757a7b06ef4 SHA256 98e7aa50780eda278330ba707f1ed5b1a7cbdc340d6fc73316f32be74e14585f
EBUILD alsa-lib-1.0.20.ebuild 2986 RMD160 0f6a769735830ea873de75fd05a3771f60c51d47 SHA1 8f8ca74c27bb0b8b41ef53b9201733111bc7ead2 SHA256 cb46a52ff574b55aaa6dfc323262668159a397f0efe329624f471f008dd39975
EBUILD alsa-lib-1.0.21a.ebuild 2577 RMD160 6ccc5bc897ca5b14790950cdb066f927e11fda37 SHA1 e93cca745a724a1d06e2df607254c16590d4dbb3 SHA256 0e0ae7d50e6ad44d15dc5d31dbd49bb4694ab84ab34fc5c4e82b127ae8988158
+EBUILD alsa-lib-1.0.22.ebuild 2591 RMD160 f59458cdbfad83e309601a3e3d0c3dbe40360a3e SHA1 9cac0049c051a1e308fa0bc6e675f7ce597be10c SHA256 88b6d194cd381732649c9c245b37c6372dab5ce3d098b78c97cca110cfbc4adf
diff --git a/media-libs/alsa-lib/alsa-lib-1.0.22.ebuild b/media-libs/alsa-lib/alsa-lib-1.0.22.ebuild
new file mode 100644
index 0000000..9414e04
--- /dev/null
+++ b/media-libs/alsa-lib/alsa-lib-1.0.22.ebuild
@@ -0,0 +1,93 @@
+# Copyright 1999-2010 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.22.ebuild,v 1.2 2010/01/15 00:09:26 abcd Exp $
+
+inherit autotools eutils 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="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux"
+IUSE="doc debug alisp python"
+
+RDEPEND="python? ( dev-lang/python )"
+DEPEND="${RDEPEND}
+ >=media-sound/alsa-headers-${PV}
+ 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 mmap_emul 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
+
+pkg_setup() {
+ if [ -z "${ALSA_PCM_PLUGINS}" ] ; then
+ ewarn "You haven't selected _any_ PCM plugins. Either you set it to something like the default"
+ ewarn "(which is being set in the profile UNLESS you unset them) or alsa based applications"
+ ewarn "are going to *misbehave* !"
+ epause 5
+ fi
+}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ # Fix the exec_prefix later used in the .pc file.
+ epatch "${FILESDIR}/alsa-lib-exec_prefix-fix.patch"
+
+ eautoreconf
+ epunt_cxx
+}
+
+src_compile() {
+ local myconf
+ use elibc_uclibc && myconf="--without-versioned"
+
+ econf \
+ --enable-static \
+ --enable-shared \
+ --disable-resmgr \
+ --enable-rawmidi \
+ --enable-seq \
+ --enable-aload \
+ $(use_with debug) \
+ $(use_enable alisp) \
+ $(use_enable python) \
+ --with-pcm-plugins="${ALSA_PCM_PLUGINS}" \
+ --disable-dependency-tracking \
+ ${myconf} \
+ || 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 || die
+ use doc && dohtml -r doc/doxygen/html/*
+}
+
+pkg_postinst() {
+ elog "Please try in-kernel ALSA drivers instead of the alsa-drivers ebuild."
+ elog "If alsa-drivers works for you where a *recent* kernel does not, we want "
+ elog "to know about this. Our e-mail address is alsa-bugs@gentoo.org"
+ elog "However, if you notice no sound output or instability, please try to "
+ elog "upgrade your kernel to a newer version first."
+}