1 |
|
# Copyright 1999-2021 Gentoo Authors
|
|
1 |
# Copyright 1999-2022 Gentoo Authors
|
2 |
2 |
# Distributed under the terms of the GNU General Public License v2
|
3 |
3 |
|
4 |
|
EAPI=7
|
|
4 |
EAPI=8
|
5 |
5 |
|
6 |
6 |
MULTILIB_COMPAT=( abi_x86_{32,64} )
|
7 |
|
MY_PN="${PN/-bin/}"
|
8 |
7 |
|
9 |
8 |
inherit desktop multilib-build pax-utils unpacker xdg
|
10 |
9 |
|
11 |
|
QA_PREBUILT="opt/gitter/pnacl/pnacl_public_x86_64_pnacl_llc_nexe
|
12 |
|
opt/gitter/pnacl/pnacl_public_x86_64_ld_nexe
|
13 |
|
opt/gitter/pnacl/pnacl_public_x86_64_pnacl_sz_nexe
|
14 |
|
opt/gitter/payload
|
15 |
|
opt/gitter/swiftshader/libEGL.so
|
16 |
|
opt/gitter/swiftshader/libGLESv2.so
|
17 |
|
opt/gitter/chromedriver
|
18 |
|
opt/gitter/lib/libnw.so
|
19 |
|
opt/gitter/lib/libnode.so
|
20 |
|
opt/gitter/lib/libffmpeg.so
|
21 |
|
opt/gitter/nacl_helper
|
22 |
|
opt/gitter/nwjc
|
23 |
|
opt/gitter/nacl_irt_x86_64.nexe
|
24 |
|
opt/gitter/Gitter"
|
25 |
|
QA_FLAGS_IGNORED="opt/gitter/minidump_stackwalk
|
26 |
|
opt/gitter/nacl_helper_bootstrap
|
27 |
|
opt/gitter/crashpad_handler
|
28 |
|
opt/gitter/lib/libEGL.so
|
29 |
|
opt/gitter/lib/libGLESv2.so"
|
|
10 |
MY_PN="${PN/-bin/}"
|
30 |
11 |
|
31 |
12 |
DESCRIPTION="Chat and network platform"
|
32 |
|
HOMEPAGE="https://www.gitter.im"
|
33 |
|
SRC_URI="
|
34 |
|
amd64? ( https://update.gitter.im/linux64/${MY_PN}_${PV}_amd64.deb )
|
|
13 |
HOMEPAGE="https://gitter.im"
|
|
14 |
SRC_URI="amd64? ( https://update.gitter.im/linux64/${MY_PN}_${PV}_amd64.deb )
|
35 |
15 |
x86? ( https://update.gitter.im/linux32/${MY_PN}_${PV}_i386.deb )"
|
36 |
16 |
|
37 |
17 |
LICENSE="all-rights-reserved"
|
38 |
18 |
SLOT="0"
|
39 |
19 |
KEYWORDS="-* ~amd64 ~x86"
|
40 |
|
IUSE=""
|
41 |
|
RESTRICT="bindist mirror"
|
|
20 |
IUSE="abi_x86_32 +abi_x86_64"
|
|
21 |
RESTRICT="bindist mirror strip"
|
42 |
22 |
|
43 |
23 |
RDEPEND="app-accessibility/at-spi2-core:2[${MULTILIB_USEDEP}]
|
44 |
24 |
dev-libs/atk:0[${MULTILIB_USEDEP}]
|
... | ... | |
69 |
49 |
|
70 |
50 |
S="${WORKDIR}"
|
71 |
51 |
|
|
52 |
QA_EXECSTACK="opt/gitter/pnacl/pnacl_public_x86_64_libcrt_platform_a*"
|
|
53 |
QA_PREBUILT="opt/gitter/pnacl/pnacl_public_x86_64_pnacl_llc_nexe
|
|
54 |
opt/gitter/pnacl/pnacl_public_x86_64_ld_nexe
|
|
55 |
opt/gitter/pnacl/pnacl_public_x86_64_pnacl_sz_nexe
|
|
56 |
opt/gitter/payload
|
|
57 |
opt/gitter/swiftshader/libEGL.so
|
|
58 |
opt/gitter/swiftshader/libGLESv2.so
|
|
59 |
opt/gitter/chromedriver
|
|
60 |
opt/gitter/lib/libnw.so
|
|
61 |
opt/gitter/lib/libnode.so
|
|
62 |
opt/gitter/lib/libffmpeg.so
|
|
63 |
opt/gitter/nacl_helper
|
|
64 |
opt/gitter/nwjc
|
|
65 |
opt/gitter/nacl_irt_x86_64.nexe
|
|
66 |
opt/gitter/Gitter"
|
|
67 |
QA_FLAGS_IGNORED="opt/gitter/minidump_stackwalk
|
|
68 |
opt/gitter/nacl_helper_bootstrap
|
|
69 |
opt/gitter/crashpad_handler
|
|
70 |
opt/gitter/lib/libEGL.so
|
|
71 |
opt/gitter/lib/libGLESv2.so"
|
|
72 |
|
72 |
73 |
src_prepare() {
|
73 |
74 |
default
|
74 |
75 |
|
75 |
76 |
local arch
|
|
77 |
multilib_get_enabled_abis
|
76 |
78 |
arch="$(usex amd64 "64" "32")"
|
77 |
79 |
|
78 |
80 |
# Remove hardcoded paths
|