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 B286B138335 for ; Tue, 18 Jun 2019 09:20:34 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 00333E0891; Tue, 18 Jun 2019 09:20:34 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id DAD0DE086A for ; Tue, 18 Jun 2019 09:20:33 +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 EF3383463FA for ; Tue, 18 Jun 2019 09:20:32 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D60B2615 for ; Tue, 18 Jun 2019 09:20:30 +0000 (UTC) From: "David Seifert" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "David Seifert" Message-ID: <1560849606.67d779f701f1ddf77be1b1c076b1bf83e49c6704.soap@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/vo-amrwbenc/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-libs/vo-amrwbenc/vo-amrwbenc-9999.ebuild X-VCS-Directories: media-libs/vo-amrwbenc/ X-VCS-Committer: soap X-VCS-Committer-Name: David Seifert X-VCS-Revision: 67d779f701f1ddf77be1b1c076b1bf83e49c6704 X-VCS-Branch: master Date: Tue, 18 Jun 2019 09:20:30 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: ff3d5682-ec4f-48ca-ad5a-94d73137c986 X-Archives-Hash: 903edcff359e15c4eab924f137c2b4f9 commit: 67d779f701f1ddf77be1b1c076b1bf83e49c6704 Author: David Seifert gentoo org> AuthorDate: Tue Jun 18 09:20:06 2019 +0000 Commit: David Seifert gentoo org> CommitDate: Tue Jun 18 09:20:06 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=67d779f7 media-libs/vo-amrwbenc: Update live ebuild Package-Manager: Portage-2.3.67, Repoman-2.3.14 Signed-off-by: David Seifert gentoo.org> media-libs/vo-amrwbenc/vo-amrwbenc-9999.ebuild | 49 +++++++++++++------------- 1 file changed, 24 insertions(+), 25 deletions(-) diff --git a/media-libs/vo-amrwbenc/vo-amrwbenc-9999.ebuild b/media-libs/vo-amrwbenc/vo-amrwbenc-9999.ebuild index 725ea1c33f0..0e3e35eee5f 100644 --- a/media-libs/vo-amrwbenc/vo-amrwbenc-9999.ebuild +++ b/media-libs/vo-amrwbenc/vo-amrwbenc-9999.ebuild @@ -1,40 +1,39 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=5 +EAPI=7 -AUTOTOOLS_PRUNE_LIBTOOL_FILES=all +inherit multilib-minimal -if [[ ${PV} == *9999 ]] ; then - SCM="git-2" - EGIT_REPO_URI="https://github.com/mstorsjo/${PN}.git" - [[ ${PV%9999} != "" ]] && EGIT_BRANCH="release/${PV%.9999}" - AUTOTOOLS_AUTORECONF=1 +if [[ ${PV} == *9999 ]]; then + inherit autotools git-r3 + EGIT_REPO_URI="https://github.com/mstorsjo/vo-amrwbenc.git" +else + SRC_URI="mirror://sourceforge/opencore-amr/${P}.tar.gz" + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x64-macos" fi -inherit autotools-multilib ${SCM} - DESCRIPTION="VisualOn AMR-WB encoder library" HOMEPAGE="https://sourceforge.net/projects/opencore-amr/" -if [[ ${PV} == *9999 ]] ; then - SRC_URI="" -elif [[ ${PV%_p*} != ${PV} ]] ; then # Gentoo snapshot - SRC_URI="mirror://gentoo/${P}.tar.xz" -else # Official release - SRC_URI="mirror://sourceforge/opencore-amr/${P}.tar.gz" -fi - LICENSE="Apache-2.0" SLOT="0" - -[[ ${PV} == *9999 ]] || \ -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x64-macos" IUSE="examples static-libs" -src_configure() { - local myeconfargs=( +src_prepare() { + default + [[ ${PV} == *9999 ]] && eautoreconf +} + +multilib_src_configure() { + ECONF_SOURCE="${S}" econf \ $(use_enable examples example) \ - ) - autotools-multilib_src_configure + $(use_enable static-libs static) +} + +multilib_src_install_all() { + einstalldocs + + # package provides .pc files + find "${D}" -name '*.la' -delete || die }