public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Martin Mokrejs" <mmokrejs@fold.natur.cuni.cz>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/sci:master commit in: media-libs/avbin-bin/
Date: Thu, 28 Mar 2019 22:06:04 +0000 (UTC)	[thread overview]
Message-ID: <1553810753.48bbbf86c8400201906bf06220d53015b1d4d347.mmokrejs@gentoo> (raw)

commit:     48bbbf86c8400201906bf06220d53015b1d4d347
Author:     Martin Mokrejs <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz>
AuthorDate: Thu Mar 28 22:05:53 2019 +0000
Commit:     Martin Mokrejs <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz>
CommitDate: Thu Mar 28 22:05:53 2019 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=48bbbf86

media-libs/avbin-bin: non-maintainer commit

Trying to get rids of FATAL errors reported by Travis.CI.

Use `if [ "${ABI}" == "amd64" ]; then`
instead of
`if use amd64; then`

Also bump to EAPI7.

Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Martin Mokrejs <mmokrejs <AT> fold.natur.cuni.cz>

 media-libs/avbin-bin/avbin-bin-8.1.ebuild | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

diff --git a/media-libs/avbin-bin/avbin-bin-8.1.ebuild b/media-libs/avbin-bin/avbin-bin-8.1.ebuild
index 13eb02661..d46f511f8 100644
--- a/media-libs/avbin-bin/avbin-bin-8.1.ebuild
+++ b/media-libs/avbin-bin/avbin-bin-8.1.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI=7
 
 DESCRIPTION="A thin wrapper around FFmpeg"
 HOMEPAGE="http://avbin.github.io/"
@@ -15,13 +15,14 @@ KEYWORDS="-* ~amd64 ~x86"
 IUSE=""
 
 pkg_setup(){
-	if use amd64; then
+	if [ "${ABI}" == "amd64" ]; then
 		S="${WORKDIR}"/avbin-linux-x86-64-v${PV}
-	elif use x86; then
+	elif [ "${ABI}" == "x86" ]; then
 		S="${WORKDIR}"/avbin-linux-x86-32-v${PV}
 	fi
 }
+
 src_install() {
 	ln -s libavbin.so.${PV} libavbin.so || die
-	dolib libavbin.so*
+	dolib.so libavbin.so*
 }


             reply	other threads:[~2019-03-28 22:06 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-03-28 22:06 Martin Mokrejs [this message]
  -- strict thread matches above, loose matches on Subject: below --
2020-09-27 10:25 [gentoo-commits] proj/sci:master commit in: media-libs/avbin-bin/ Horea Christian
2018-10-27 12:19 Justin Lecher
2016-09-06  0:18 Christoph Junghans
2015-07-29  7:54 Justin Lecher
2015-07-29  7:54 Justin Lecher
2014-11-10 15:14 Justin Lecher

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=1553810753.48bbbf86c8400201906bf06220d53015b1d4d347.mmokrejs@gentoo \
    --to=mmokrejs@fold.natur.cuni.cz \
    --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