commit:     4db8f141b8b3bfcc801ebb7820e69e15c7638b23
Author:     Michael Sterrett <mr_bones_ <AT> gentoo <DOT> org>
AuthorDate: Wed Jan 13 19:35:54 2016 +0000
Commit:     Michael Sterrett <mr_bones_ <AT> gentoo <DOT> org>
CommitDate: Wed Jan 13 20:52:34 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4db8f141

games-action/trine-bin: use QA_PREBUILT and usex

Package-Manager: portage-2.2.26

 games-action/trine-bin/Manifest              | 2 +-
 games-action/trine-bin/trine-bin-1.08.ebuild | 7 +++----
 2 files changed, 4 insertions(+), 5 deletions(-)

diff --git a/games-action/trine-bin/Manifest b/games-action/trine-bin/Manifest
index 7fc3820..0362ae9 100644
--- a/games-action/trine-bin/Manifest
+++ b/games-action/trine-bin/Manifest
@@ -1 +1 @@
-DIST Trine.64.run 648471997 SHA256 
1c9067cb19e3c954b460b4df27e6ca5d80b31c7ead49bd5779dcbce5528177db
+DIST Trine.64.run 648471997 SHA256 
1c9067cb19e3c954b460b4df27e6ca5d80b31c7ead49bd5779dcbce5528177db SHA512 
400200a3ebc6003545df460f9a8af7fe4f6f370655432c66ca8a5ceb10e40bf205e81f70cfbe3fe7386de9ec0aeb5e23f02590776c2b0f35a32f9fbc1012ea3a
 WHIRLPOOL 
b6610f53e8e4079383de9a664b8cb019fbe9daa7cdbb204116c3e34b27327325dfdc39649185076524429f8ba2fc1a0889f9006e6873db65c3f73784f440e1e9

diff --git a/games-action/trine-bin/trine-bin-1.08.ebuild 
b/games-action/trine-bin/trine-bin-1.08.ebuild
index a4d3d63..f05fbc4 100644
--- a/games-action/trine-bin/trine-bin-1.08.ebuild
+++ b/games-action/trine-bin/trine-bin-1.08.ebuild
@@ -9,7 +9,7 @@
 # the same zip appended, so only need to hash one of them.
 
 EAPI=5
-inherit unpacker games eutils
+inherit unpacker eutils games
 
 DESCRIPTION="a physics-based action game where diff characters allow diff 
solutions to challenges"
 HOMEPAGE="http://trine-thegame.com/";
@@ -30,8 +30,7 @@ RDEPEND=">=sys-libs/glibc-2.4
 S=${WORKDIR}
 
 d=${GAMES_PREFIX_OPT}/${PN}
-QA_PRESTRIPPED="${d#/}/trine-launcher ${d#/}/trine-bin ${d#/}/lib*/lib*.so*"
-QA_TEXTRELS_x86="`echo 
${d#/}/lib32/lib{avcodec.so.51,avformat.so.52,avutil.so.49,FLAC.so.8}`"
+QA_PREBUILT="${d#/}/trine-launcher ${d#/}/trine-bin ${d#/}/lib*/lib*.so*"
 
 pkg_nofetch() {
        einfo "Fetch ${SRC_URI} and put it into ${DISTDIR}"
@@ -46,7 +45,7 @@ src_unpack() {
 
 src_install() {
        local b bb
-       local sfx=$(use x86 && echo 32 || echo 64)
+       local sfx=$(usex x86 32 64)
 
        doicon Trine.xpm
        for b in bin launcher ; do

Reply via email to