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 614E4139694 for ; Thu, 18 May 2017 14:55:16 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A4005E0BB8; Thu, 18 May 2017 14:55:15 +0000 (UTC) Received: from smtp.gentoo.org (mail.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 7348FE0BB8 for ; Thu, 18 May 2017 14:55:15 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 4C2C2341693 for ; Thu, 18 May 2017 14:55:14 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id BB07C303 for ; Thu, 18 May 2017 14:55:12 +0000 (UTC) From: "Lars Wendler" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Lars Wendler" Message-ID: <1495119309.4fa527e2c5e05c598b07c2d2f08fa88f122c13a6.polynomial-c@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/libao/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-libs/libao/Manifest media-libs/libao/libao-1.2.2.ebuild X-VCS-Directories: media-libs/libao/ X-VCS-Committer: polynomial-c X-VCS-Committer-Name: Lars Wendler X-VCS-Revision: 4fa527e2c5e05c598b07c2d2f08fa88f122c13a6 X-VCS-Branch: master Date: Thu, 18 May 2017 14:55:12 +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: 077ea847-bc4d-4d7a-a021-72132c1388be X-Archives-Hash: 0caef736e8a07de3b003ec822aa542e6 commit: 4fa527e2c5e05c598b07c2d2f08fa88f122c13a6 Author: Lars Wendler gentoo org> AuthorDate: Thu May 18 14:54:57 2017 +0000 Commit: Lars Wendler gentoo org> CommitDate: Thu May 18 14:55:09 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4fa527e2 media-libs/libao: Bump to version 1.2.2 Package-Manager: Portage-2.3.5, Repoman-2.3.2 media-libs/libao/Manifest | 1 + media-libs/libao/libao-1.2.2.ebuild | 53 +++++++++++++++++++++++++++++++++++++ 2 files changed, 54 insertions(+) diff --git a/media-libs/libao/Manifest b/media-libs/libao/Manifest index 1cbdb419499..6c47c6696b2 100644 --- a/media-libs/libao/Manifest +++ b/media-libs/libao/Manifest @@ -1 +1,2 @@ DIST libao-1.2.0.tar.gz 464596 SHA256 03ad231ad1f9d64b52474392d63c31197b0bc7bd416e58b1c10a329a5ed89caf SHA512 9456953826c188d67129ad78366bb86d6243499f2cd340d20d61366f7e40a33f3f8ab601c7f18ce9e24aa22f898093b482b2415b7e428c1486ef7e5ac27b3ee4 WHIRLPOOL 00bca36fd033775f9fb8551ce20425d7c3ebd138174692831f256fbcef306e391479ae63a8bd25fa4995a2ff53ba5e478317ef6c3b5028925a737b08189f4bf2 +DIST libao-1.2.2.tar.gz 96134 SHA256 df8a6d0e238feeccb26a783e778716fb41a801536fe7b6fce068e313c0e2bf4d SHA512 d2736d25b60862e7d7469611ce31b1df40a4366ab160e2ff1b46919ae91692d1596c8468e4f016303b306fc3ac1bddc7b727f535a362f403c3fe7c6532e9045a WHIRLPOOL f24697f068b38e29c521542a093c740efd774334c7cedd2d2ae611bafe6b14c8844a3bbf845bd2c51c2a0338412b1d06dc401849f940e977884d1e5c2784152a diff --git a/media-libs/libao/libao-1.2.2.ebuild b/media-libs/libao/libao-1.2.2.ebuild new file mode 100644 index 00000000000..b48b15c68ef --- /dev/null +++ b/media-libs/libao/libao-1.2.2.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit autotools libtool multilib multilib-minimal + +DESCRIPTION="The Audio Output library" +HOMEPAGE="http://www.xiph.org/ao/" +#SRC_URI="http://downloads.xiph.org/releases/ao/${P}.tar.gz" +#SRC_URI="https://git.xiph.org/?p=libao.git;a=snapshot;h=refs/tags/${PV};sf=tgz -> ${P}.tar.gz" +SRC_URI="https://github.com/xiph/libao/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~ppc-macos ~x64-macos ~x86-macos ~x86-solaris" +IUSE="alsa nas mmap pulseaudio static-libs" + +RDEPEND=" + alsa? ( >=media-libs/alsa-lib-1.0.27.2[${MULTILIB_USEDEP}] ) + nas? ( >=media-libs/nas-1.9.4[${MULTILIB_USEDEP}] ) + pulseaudio? ( >=media-sound/pulseaudio-2.1-r1[${MULTILIB_USEDEP}] ) +" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +src_prepare() { + default + sed -i "s:/lib:/$(get_libdir):g" ao.m4 || die + eautoreconf +} + +multilib_src_configure() { + local myeconfargs=( + --disable-arts + --disable-esd + $(use_enable alsa alsa) + $(use_enable mmap alsa-mmap) + $(use_enable nas) + $(use_enable pulseaudio pulse) + $(use_enable static-libs static) + ) + ECONF_SOURCE="${S}" econf "${myeconfargs[@]}" +} + +multilib_src_install() { + emake DESTDIR="${D}" docdir="${EPREFIX}/usr/share/doc/${PF}/html" install +} + +multilib_src_install_all() { + dodoc AUTHORS CHANGES README TODO + find "${ED}" \( -name "*.a" -o -name "*.la" \) -delete || die +}