diff options
author | Martin Mokrejs <mmokrejs@fold.natur.cuni.cz> | 2019-03-28 23:05:53 +0100 |
---|---|---|
committer | Martin Mokrejs <mmokrejs@fold.natur.cuni.cz> | 2019-03-28 23:05:53 +0100 |
commit | 48bbbf86c8400201906bf06220d53015b1d4d347 (patch) | |
tree | dda410b0c9200728327eb4e4ff645d1037b4fd42 | |
parent | sci-biology/ncbi-blast+: emphasize alternative building from sources (diff) | |
download | sci-48bbbf86c8400201906bf06220d53015b1d4d347.tar.gz sci-48bbbf86c8400201906bf06220d53015b1d4d347.tar.bz2 sci-48bbbf86c8400201906bf06220d53015b1d4d347.zip |
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@fold.natur.cuni.cz>
-rw-r--r-- | media-libs/avbin-bin/Manifest | 2 | ||||
-rw-r--r-- | media-libs/avbin-bin/avbin-bin-8.1.ebuild | 11 |
2 files changed, 7 insertions, 6 deletions
diff --git a/media-libs/avbin-bin/Manifest b/media-libs/avbin-bin/Manifest index 9ee5e3fb3..d6a17f710 100644 --- a/media-libs/avbin-bin/Manifest +++ b/media-libs/avbin-bin/Manifest @@ -1,2 +1,2 @@ -DIST avbin-linux-x86-32-v8.1.tar.bz2 2361130 SHA256 9c4a44296abbb3d17f7d5f1257cb21e2965d35f50b6336262d18335ee1870732 SHA512 419c9d8238792121c010454760938899d6f6a31d51f11bf0d5fdbc81d0f7e573ab4d3173e4655a7f3e56baf4d372301fec56bf6092f308843c8aeb1893ed2e17 WHIRLPOOL 6c6b46f38ac8d2916daf4de5f581bd096c5f0e08128fc6d00f279ee95be64b9e77e78586f7357a910df29c26cb240a06946366f97ef9f215321ce99e234603aa +DIST avbin-linux-x86-32-v8.1.tar.bz2 2361130 BLAKE2B c50294f4a60483937f8c418df2ab576513a6a390de72fe465aa24072b72743e401ef0e7921edb5d21f5bb938e31ff63543106631865e4977ad7f1de424217cec SHA512 419c9d8238792121c010454760938899d6f6a31d51f11bf0d5fdbc81d0f7e573ab4d3173e4655a7f3e56baf4d372301fec56bf6092f308843c8aeb1893ed2e17 DIST avbin-linux-x86-64-v8.1.tar.bz2 2330125 BLAKE2B dd17a2890c1e2bfe39dd755d4cd698149f0082666a14f2bbefbbe24b3054b9e24189c6d8a3f10e69f0bd4323708b00508c382be4bed1a8e7075457a626159301 SHA512 a04a8ef901fb0996197905b52d55a18e88689e4d6845222adcc24afba20613d5ba7b35646af4124e4df92ae41b7c04fd4c6726a38e3076312cd98dceaf421dbb 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* } |