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*
}