1 |
commit: 48bbbf86c8400201906bf06220d53015b1d4d347 |
2 |
Author: Martin Mokrejs <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz> |
3 |
AuthorDate: Thu Mar 28 22:05:53 2019 +0000 |
4 |
Commit: Martin Mokrejs <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz> |
5 |
CommitDate: Thu Mar 28 22:05:53 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=48bbbf86 |
7 |
|
8 |
media-libs/avbin-bin: non-maintainer commit |
9 |
|
10 |
Trying to get rids of FATAL errors reported by Travis.CI. |
11 |
|
12 |
Use `if [ "${ABI}" == "amd64" ]; then` |
13 |
instead of |
14 |
`if use amd64; then` |
15 |
|
16 |
Also bump to EAPI7. |
17 |
|
18 |
Package-Manager: Portage-2.3.62, Repoman-2.3.12 |
19 |
Signed-off-by: Martin Mokrejs <mmokrejs <AT> fold.natur.cuni.cz> |
20 |
|
21 |
media-libs/avbin-bin/avbin-bin-8.1.ebuild | 11 ++++++----- |
22 |
1 file changed, 6 insertions(+), 5 deletions(-) |
23 |
|
24 |
diff --git a/media-libs/avbin-bin/avbin-bin-8.1.ebuild b/media-libs/avbin-bin/avbin-bin-8.1.ebuild |
25 |
index 13eb02661..d46f511f8 100644 |
26 |
--- a/media-libs/avbin-bin/avbin-bin-8.1.ebuild |
27 |
+++ b/media-libs/avbin-bin/avbin-bin-8.1.ebuild |
28 |
@@ -1,7 +1,7 @@ |
29 |
-# Copyright 1999-2016 Gentoo Foundation |
30 |
+# Copyright 2019 Gentoo Authors |
31 |
# Distributed under the terms of the GNU General Public License v2 |
32 |
|
33 |
-EAPI=6 |
34 |
+EAPI=7 |
35 |
|
36 |
DESCRIPTION="A thin wrapper around FFmpeg" |
37 |
HOMEPAGE="http://avbin.github.io/" |
38 |
@@ -15,13 +15,14 @@ KEYWORDS="-* ~amd64 ~x86" |
39 |
IUSE="" |
40 |
|
41 |
pkg_setup(){ |
42 |
- if use amd64; then |
43 |
+ if [ "${ABI}" == "amd64" ]; then |
44 |
S="${WORKDIR}"/avbin-linux-x86-64-v${PV} |
45 |
- elif use x86; then |
46 |
+ elif [ "${ABI}" == "x86" ]; then |
47 |
S="${WORKDIR}"/avbin-linux-x86-32-v${PV} |
48 |
fi |
49 |
} |
50 |
+ |
51 |
src_install() { |
52 |
ln -s libavbin.so.${PV} libavbin.so || die |
53 |
- dolib libavbin.so* |
54 |
+ dolib.so libavbin.so* |
55 |
} |