public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "David Seifert" <soap@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/libilbc/
Date: Sun, 16 Jun 2019 16:43:19 +0000 (UTC)	[thread overview]
Message-ID: <1560703381.cdcd8c65898c2530eefcb0f86de3a7ea04e53c4e.soap@gentoo> (raw)

commit:     cdcd8c65898c2530eefcb0f86de3a7ea04e53c4e
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Sun Jun 16 16:43:01 2019 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sun Jun 16 16:43:01 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cdcd8c65

media-libs/libilbc: Port to EAPI 7

Package-Manager: Portage-2.3.67, Repoman-2.3.14
Signed-off-by: David Seifert <soap <AT> gentoo.org>

 media-libs/libilbc/libilbc-2.0.2.ebuild | 28 ++++++++++++++++++++--------
 1 file changed, 20 insertions(+), 8 deletions(-)

diff --git a/media-libs/libilbc/libilbc-2.0.2.ebuild b/media-libs/libilbc/libilbc-2.0.2.ebuild
index 40eb6ee13b7..d01615a69b3 100644
--- a/media-libs/libilbc/libilbc-2.0.2.ebuild
+++ b/media-libs/libilbc/libilbc-2.0.2.ebuild
@@ -1,19 +1,18 @@
 # Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=5
+EAPI=7
 
-if [[ ${PV} == 9999 ]] ; then
-	SCM="autotools git-2"
+inherit multilib-minimal
+
+if [[ ${PV} == *9999 ]]; then
+	inherit autotools git-r3
 	EGIT_REPO_URI="https://github.com/TimothyGu/${PN}"
-	SRC_URI=""
 else
 	SRC_URI="https://github.com/TimothyGu/${PN}/releases/download/v${PV}/${P}.tar.bz2"
 	KEYWORDS="amd64 arm arm64 ppc ppc64 ~sparc x86"
 fi
 
-inherit eutils multilib ${SCM} autotools-multilib
-
 DESCRIPTION="Packaged version of iLBC codec from the WebRTC project"
 HOMEPAGE="https://github.com/TimothyGu/libilbc"
 
@@ -21,8 +20,21 @@ LICENSE="BSD"
 SLOT="0"
 IUSE="static-libs"
 
+PATCHES=( "${FILESDIR}"/${PN}-2.0.2-ppc_ppc64_sparc.patch )
+
 src_prepare() {
-	epatch "${FILESDIR}"/${PN}-2.0.2-ppc_ppc64_sparc.patch
+	default
 	[[ ${PV} == *9999 ]] && eautoreconf
-	autotools-multilib_src_prepare
+}
+
+multilib_src_configure() {
+	ECONF_SOURCE="${S}" econf \
+		$(use_enable static-libs static)
+}
+
+multilib_src_install_all() {
+	einstalldocs
+
+	# package provides .pc files
+	find "${D}" -name '*.la' -delete || die
 }


             reply	other threads:[~2019-06-16 16:43 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-06-16 16:43 David Seifert [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-07-28 16:58 [gentoo-commits] repo/gentoo:master commit in: media-libs/libilbc/ Andreas Sturmlechner
2023-07-28 16:58 Andreas Sturmlechner
2023-03-22 18:53 Andreas Sturmlechner
2023-02-28  1:30 Sam James
2021-08-24 14:33 Marek Szuba
2021-02-15  5:35 Sam James
2021-02-15  0:38 Sam James
2021-02-05 12:29 Sam James
2021-02-03  0:20 Sam James
2021-02-01 13:33 Sam James
2021-02-01 13:31 Sam James
2021-01-01  2:47 Sam James
2019-06-16 16:43 David Seifert
2019-06-16 16:43 David Seifert
2018-04-01 11:08 Sergei Trofimovich
2017-06-18 11:56 Alexis Ballier
2017-02-23 12:35 Michael Weber
2017-02-22 13:15 Michael Weber
2017-02-22 13:15 Michael Weber
2017-02-22 13:08 Michael Weber
2017-02-15 15:56 Agostino Sarubbo
2017-02-15 15:05 Agostino Sarubbo
2016-02-24 15:23 Alexis Ballier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1560703381.cdcd8c65898c2530eefcb0f86de3a7ea04e53c4e.soap@gentoo \
    --to=soap@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox