summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoreroen <eroen@occam.eroen.eu>2013-05-28 18:14:12 +0200
committereroen <eroen@occam.eroen.eu>2013-05-28 18:43:42 +0200
commit4000a53e5bc4faae143ab056b05d515e5baa46bc (patch)
tree1c3aec364032800703c8b0854266a6b82103946b /media-libs
parentfftw-3.3.3-r2: interoperate w/ elx86-soundlibs (diff)
downloaderoen-4000a53e5bc4faae143ab056b05d515e5baa46bc.tar.gz
eroen-4000a53e5bc4faae143ab056b05d515e5baa46bc.tar.bz2
eroen-4000a53e5bc4faae143ab056b05d515e5baa46bc.zip
alsa-lib-1.0.27.1 from gentoo
Diffstat (limited to 'media-libs')
-rw-r--r--media-libs/alsa-lib/Manifest3
-rw-r--r--media-libs/alsa-lib/alsa-lib-1.0.27.1.ebuild80
-rw-r--r--media-libs/alsa-lib/metadata.xml11
3 files changed, 94 insertions, 0 deletions
diff --git a/media-libs/alsa-lib/Manifest b/media-libs/alsa-lib/Manifest
new file mode 100644
index 0000000..c7430c5
--- /dev/null
+++ b/media-libs/alsa-lib/Manifest
@@ -0,0 +1,3 @@
+DIST alsa-lib-1.0.27.1.tar.bz2 906234 SHA256 690e07a3ef6270d40ed2130638dba3c18395aae8db4a109bcc473643ce29a03b SHA512 546a52c5c23d51e3a49a36565c0bdda98efc3bbe8ba217c72cfb6986b0e1a6104a3040bc223a74966139416ce39709421a3131f3edb29362a3f949b0ae939909 WHIRLPOOL 485a5b260edc208776ca553d13065d242f1266e38b25dab252596fc8d4c9c3482d11fd3e472c7c96c97b396718a715ca12f36c76635bd069ebe09edc6815693f
+EBUILD alsa-lib-1.0.27.1.ebuild 1986 SHA256 85626e2991d284d6cdd1b052f71e514bbc2e68618c7445c6463b382ceeab9dec SHA512 0a5ea50c37e91e152df92d65803b2b2a733c688b499e746defb736faadbc862e326f2fdd1216c062cb009f714b0545e4e8e8ecfaa7c3f9d614df0bcd87225ebe WHIRLPOOL 0c543f4ae518d406ae3c4b0ae42e5b179b737b7e976bdd83d066b0d3d195811f0dc0bcee9a836f4f329b84fe3569417e0cb629c27d9c458b6fce1e152b334a08
+MISC metadata.xml 349 SHA256 68b0f168985d3b03a0997eb9f9338662d1584dc7fe7ea35ae8f7564e5e20c2e3 SHA512 477956b85f7ddddac6b0bb67a52803a569f3ee6011ab917a3d2a60975a11c0a9ef5acedebbcb75bdbd04063e2c6e7aabf10a0c2444dd10492eda4cb8f817f688 WHIRLPOOL c42f98c4da4bd5c20d32bfa6a3d9d68b71aaccbc905cad9a7552366be99c1e1f010279d458b620e97e2c1044cef0af066cf79fc5a1fcecf8fb31c91a3e1e95ab
diff --git a/media-libs/alsa-lib/alsa-lib-1.0.27.1.ebuild b/media-libs/alsa-lib/alsa-lib-1.0.27.1.ebuild
new file mode 100644
index 0000000..f23dcdf
--- /dev/null
+++ b/media-libs/alsa-lib/alsa-lib-1.0.27.1.ebuild
@@ -0,0 +1,80 @@
+# Copyright 1999-2013 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.27.1.ebuild,v 1.1 2013/05/27 13:42:59 ssuominen Exp $
+
+EAPI=5
+
+# no support for python3_2 or above yet wrt #471326
+PYTHON_COMPAT=( python2_7 )
+
+inherit autotools eutils multilib multilib-minimal python-single-r1
+
+DESCRIPTION="Advanced Linux Sound Architecture Library"
+HOMEPAGE="http://www.alsa-project.org/"
+SRC_URI="mirror://alsaproject/lib/${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? ( ${PYTHON_DEPS} )
+ abi_x86_32? ( !<=app-emulation/emul-linux-x86-soundlibs-20130224 )"
+DEPEND="${RDEPEND}
+ doc? ( >=app-doc/doxygen-1.2.6 )"
+
+pkg_setup() {
+ use python && python-single-r1_pkg_setup
+}
+
+src_prepare() {
+ find . -name Makefile.am -exec sed -i -e '/CFLAGS/s:-g -O2::' {} + || die
+ epatch_user
+ eautoreconf
+}
+
+multilib_src_configure() {
+ local myconf
+ # enable Python only on final ABI
+ if [[ ${ABI} == ${DEFAULT_ABI} ]]; then
+ myconf="$(use_enable python)"
+ else
+ myconf="--disable-python"
+ fi
+ use elibc_uclibc && myconf+=" --without-versioned"
+
+ ECONF_SOURCE=${S} \
+ econf \
+ --disable-maintainer-mode \
+ --enable-shared \
+ --disable-resmgr \
+ --enable-rawmidi \
+ --enable-seq \
+ --enable-aload \
+ $(use_with debug) \
+ $(use_enable alisp) \
+ ${myconf}
+}
+
+multilib_src_compile() {
+ emake
+
+ if [[ ${ABI} == ${DEFAULT_ABI} ]] && use doc; then
+ emake doc
+ fgrep -Zrl "${S}" doc/doxygen/html | \
+ xargs -0 sed -i -e "s:${S}::"
+ fi
+}
+
+multilib_src_install() {
+ emake DESTDIR="${D}" install
+ if [[ ${ABI} == ${DEFAULT_ABI} ]] && use doc; then
+ dohtml -r doc/doxygen/html/.
+ fi
+}
+
+multilib_src_install_all() {
+ prune_libtool_files --all
+ find "${ED}"/usr/$(get_libdir)/alsa-lib -name '*.a' -exec rm -f {} +
+ dodoc ChangeLog doc/asoundrc.txt NOTES TODO
+}
diff --git a/media-libs/alsa-lib/metadata.xml b/media-libs/alsa-lib/metadata.xml
new file mode 100644
index 0000000..9fbd294
--- /dev/null
+++ b/media-libs/alsa-lib/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>alsa</herd>
+ <maintainer>
+ <email>alsa-bugs@gentoo.org</email>
+ </maintainer>
+ <use>
+ <flag name="alisp">Enable support for ALISP (ALSA LISP) interpreter for advanced features.</flag>
+ </use>
+</pkgmetadata>