From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id B628C139085 for ; Thu, 22 Dec 2016 23:25:42 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 28047E0D1D; Thu, 22 Dec 2016 23:25:42 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E7A68E0D1D for ; Thu, 22 Dec 2016 23:25:41 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 135AE341026 for ; Thu, 22 Dec 2016 23:25:41 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id CFC6424DE for ; Thu, 22 Dec 2016 23:25:39 +0000 (UTC) From: "Aric Belsito" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Aric Belsito" Message-ID: <1482449092.e0d8fc262719125c62dc8dba0131dba3e0d355d4.lluixhi@gentoo> Subject: [gentoo-commits] proj/musl:master commit in: media-libs/alsa-lib/, media-libs/alsa-lib/files/ X-VCS-Repository: proj/musl X-VCS-Files: media-libs/alsa-lib/Manifest media-libs/alsa-lib/alsa-lib-1.1.3.ebuild media-libs/alsa-lib/files/alsa-lib-1.1.3-missing-limits.patch media-libs/alsa-lib/metadata.xml X-VCS-Directories: media-libs/alsa-lib/ media-libs/alsa-lib/files/ X-VCS-Committer: lluixhi X-VCS-Committer-Name: Aric Belsito X-VCS-Revision: e0d8fc262719125c62dc8dba0131dba3e0d355d4 X-VCS-Branch: master Date: Thu, 22 Dec 2016 23:25:39 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 3bdfe2c2-e330-41e7-b5b0-bb5718dba1e3 X-Archives-Hash: be1b166528561930c0f38186fc05a05d commit: e0d8fc262719125c62dc8dba0131dba3e0d355d4 Author: Aric Belsito gmail com> AuthorDate: Thu Dec 22 23:24:52 2016 +0000 Commit: Aric Belsito gmail com> CommitDate: Thu Dec 22 23:24:52 2016 +0000 URL: https://gitweb.gentoo.org/proj/musl.git/commit/?id=e0d8fc26 media-libs/alsa-lib: Add most recent version Fails to compile because PATH_MAX is undeclared. media-libs/alsa-lib/Manifest | 4 + media-libs/alsa-lib/alsa-lib-1.1.3.ebuild | 93 ++++++++++++++++++++++ .../files/alsa-lib-1.1.3-missing-limits.patch | 11 +++ media-libs/alsa-lib/metadata.xml | 13 +++ 4 files changed, 121 insertions(+) diff --git a/media-libs/alsa-lib/Manifest b/media-libs/alsa-lib/Manifest new file mode 100644 index 0000000..54af2dd --- /dev/null +++ b/media-libs/alsa-lib/Manifest @@ -0,0 +1,4 @@ +AUX alsa-lib-1.1.3-missing-limits.patch 438 SHA256 0209a6a218550f4c5edafef92daec6f04e402d554d37c70e9a8b77997aaaef03 SHA512 cac154be8e27cac5c36e04f7b3df881234e6497bf49c777962a82176fcc745ec7c4f0cdd71a55c390bf415808ae76b3d5e7b383a9f59d00a0cfb5148b5653552 WHIRLPOOL d790cd8469769c53896b188950c8ec474a0ebae5765d1953a5d4c9344d061667dae48341af7368e6d198d1749e9f506440298f991c179a7b4838a1787d283f6d +DIST alsa-lib-1.1.3.tar.bz2 962001 SHA256 71282502184c592c1a008e256c22ed0ba5728ca65e05273ceb480c70f515969c SHA512 f5dbe2375a8c66af14378314a5238284d4ed63dfc86a750c0c6e8f6cdb6b1ea2d8ef26f870b5d152dc0b77d9b40821cab523f6734902b91583beb08e28c66850 WHIRLPOOL f33871789a7cc06a9db83fd659abdfeb7940d61a24ad7c71866f843d8c0c29eaf0e0770a2034dee2526c96835935b88c2fe882184c86528c98e7d4901f94b27d +EBUILD alsa-lib-1.1.3.ebuild 2309 SHA256 9b128b3ffd95a16796305ff68440ec80ee87c99dc15fc7d180edd098bd0f72ba SHA512 f890e5ae7dde1d915aaa5524eeb6034aee0270bf2df388b9792352541cdd7b0312cafb20b3fea4850e7773644dcb6a26915a0acfa52fe3b4488ee6b6a3c6b442 WHIRLPOOL 334a39d5f9b3dce527a35b8b06bf93c7565105653a3b02c3f6a632657a08a05fff9dcbfcdcee24c45b6b76c211da06645b8bd6a00faafe119910ad538aaf2cc2 +MISC metadata.xml 438 SHA256 f2bec88238bb4a607fc2bb215e5967996ddb2f4bbcfa4692934c387db292db92 SHA512 1e3a7f5a2f9ea84793ec938eb657fcbd6d5748f1cb055d085c638e30d1b5c1154a9dc0026d6e3592de074125c17926a4429757844f7d02b960f4a9a8d94a0433 WHIRLPOOL e1c1cdc7aa789e26c847575bf1d5b64c62ca652254cd54068cf1b2e5580d5512ec31157ccd9c524dcbf654f401779a93dde9f9ca7481b69083db41c70fe247e7 diff --git a/media-libs/alsa-lib/alsa-lib-1.1.3.ebuild b/media-libs/alsa-lib/alsa-lib-1.1.3.ebuild new file mode 100644 index 0000000..317b317 --- /dev/null +++ b/media-libs/alsa-lib/alsa-lib-1.1.3.ebuild @@ -0,0 +1,93 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +# 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 ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux" +IUSE="alisp debug doc elibc_uclibc python" + +RDEPEND="python? ( ${PYTHON_DEPS} ) + abi_x86_32? ( + !<=app-emulation/emul-linux-x86-soundlibs-20130224-r1 + !app-emulation/emul-linux-x86-soundlibs[-abi_x86_32(-)] + )" +DEPEND="${RDEPEND} + doc? ( >=app-doc/doxygen-1.2.6 )" + +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" + +PATCHES=( "${FILESDIR}"/${P}-missing-limits.patch ) + +pkg_setup() { + use python && python-single-r1_pkg_setup +} + +src_prepare() { + find . -name Makefile.am -exec sed -i -e '/CFLAGS/s:-g -O2::' {} + || die + # https://bugs.gentoo.org/509886 + use elibc_uclibc && { sed -i -e 's:oldapi queue_timer:queue_timer:' test/Makefile.am || die; } + # https://bugs.gentoo.org/545950 + sed -i -e '5s:^$:\nAM_CPPFLAGS = -I$(top_srcdir)/include:' test/lsb/Makefile.am || die + default + eautoreconf +} + +multilib_src_configure() { + local myconf + # enable Python only on final ABI + if multilib_is_native_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 multilib_is_native_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 multilib_is_native_abi && use doc; then + docinto html + dodoc -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 {} + + docinto "" + dodoc ChangeLog doc/asoundrc.txt NOTES TODO +} diff --git a/media-libs/alsa-lib/files/alsa-lib-1.1.3-missing-limits.patch b/media-libs/alsa-lib/files/alsa-lib-1.1.3-missing-limits.patch new file mode 100644 index 0000000..09ba400 --- /dev/null +++ b/media-libs/alsa-lib/files/alsa-lib-1.1.3-missing-limits.patch @@ -0,0 +1,11 @@ +diff -Naur alsa-lib-1.1.3.orig/src/ucm/parser.c alsa-lib-1.1.3/src/ucm/parser.c +--- alsa-lib-1.1.3.orig/src/ucm/parser.c 2016-12-22 15:21:20.756308973 -0800 ++++ alsa-lib-1.1.3/src/ucm/parser.c 2016-12-22 15:21:51.996612346 -0800 +@@ -32,6 +32,7 @@ + + #include "ucm_local.h" + #include ++#include + + /** The name of the environment variable containing the UCM directory */ + #define ALSA_CONFIG_UCM_VAR "ALSA_CONFIG_UCM" diff --git a/media-libs/alsa-lib/metadata.xml b/media-libs/alsa-lib/metadata.xml new file mode 100644 index 0000000..d1e2102 --- /dev/null +++ b/media-libs/alsa-lib/metadata.xml @@ -0,0 +1,13 @@ + + + + + alsa-bugs@gentoo.org + + + Enable support for ALISP (ALSA LISP) interpreter for advanced features. + + + cpe:/a:alsa-project:alsa-lib + +