mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-23 16:49:10 -07:00
games-action/trine-bin: use QA_PREBUILT and usex
Package-Manager: portage-2.2.26
This commit is contained in:
@@ -1 +1 @@
|
||||
DIST Trine.64.run 648471997 SHA256 1c9067cb19e3c954b460b4df27e6ca5d80b31c7ead49bd5779dcbce5528177db
|
||||
DIST Trine.64.run 648471997 SHA256 1c9067cb19e3c954b460b4df27e6ca5d80b31c7ead49bd5779dcbce5528177db SHA512 400200a3ebc6003545df460f9a8af7fe4f6f370655432c66ca8a5ceb10e40bf205e81f70cfbe3fe7386de9ec0aeb5e23f02590776c2b0f35a32f9fbc1012ea3a WHIRLPOOL b6610f53e8e4079383de9a664b8cb019fbe9daa7cdbb204116c3e34b27327325dfdc39649185076524429f8ba2fc1a0889f9006e6873db65c3f73784f440e1e9
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user