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 D2739138336 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 1A714E086A; 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 F3078E086A for ; Tue, 18 Jun 2019 09:20:33 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 0CAE73463FB for ; Tue, 18 Jun 2019 09:20:33 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E99A861F 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: <1560849609.3cf35ada3d55f705a6a5faba3964f3ef6e72138e.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-0.1.3.ebuild X-VCS-Directories: media-libs/vo-amrwbenc/ X-VCS-Committer: soap X-VCS-Committer-Name: David Seifert X-VCS-Revision: 3cf35ada3d55f705a6a5faba3964f3ef6e72138e 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: ce584564-620d-469f-8fc7-e16379b90da8 X-Archives-Hash: c1c98b0dff8114e8a5107df41b3cfd6b commit: 3cf35ada3d55f705a6a5faba3964f3ef6e72138e Author: David Seifert gentoo org> AuthorDate: Tue Jun 18 09:20:09 2019 +0000 Commit: David Seifert gentoo org> CommitDate: Tue Jun 18 09:20:09 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3cf35ada media-libs/vo-amrwbenc: Port to EAPI 7 Package-Manager: Portage-2.3.67, Repoman-2.3.14 Signed-off-by: David Seifert gentoo.org> media-libs/vo-amrwbenc/vo-amrwbenc-0.1.3.ebuild | 47 ++++++++++++------------- 1 file changed, 23 insertions(+), 24 deletions(-) diff --git a/media-libs/vo-amrwbenc/vo-amrwbenc-0.1.3.ebuild b/media-libs/vo-amrwbenc/vo-amrwbenc-0.1.3.ebuild index 27f2a1bdd83..12491d04112 100644 --- a/media-libs/vo-amrwbenc/vo-amrwbenc-0.1.3.ebuild +++ b/media-libs/vo-amrwbenc/vo-amrwbenc-0.1.3.ebuild @@ -1,40 +1,39 @@ # 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 }