Diff geekbench-4.4.4 with a geekbench-5.5.1

/usr/portage/app-benchmarks/geekbench/geekbench-5.5.1.ebuild 2023-10-09 14:52:28.204368318 +0300
4 4
EAPI=8
5 5

  
6 6
DESCRIPTION="A Cross-Platform Benchmark for Android, iOS, Linux, MacOS and Windows"
7
HOMEPAGE="https://www.geekbench.com"
8
SRC_URI="https://cdn.geekbench.com/Geekbench-${PV}-Linux.tar.gz"
9
S="${WORKDIR}/Geekbench-${PV}-Linux"
7
HOMEPAGE="https://www.geekbench.com/"
8
SRC_URI="
9
	amd64? ( https://cdn.geekbench.com/Geekbench-${PV}-Linux.tar.gz )
10
	arm64? ( https://cdn.geekbench.com/Geekbench-${PV}-LinuxARMPreview.tar.gz )
11
"
12
S="${WORKDIR}"
10 13

  
11
KEYWORDS="-* amd64 x86"
14
KEYWORDS="-* amd64 ~arm64"
12 15
LICENSE="geekbench"
13
SLOT="4"
16
SLOT="5"
14 17

  
15 18
RESTRICT="bindist mirror"
16 19

  
17 20
QA_PREBUILT="
18
	opt/geekbench4/geekbench4
19
	opt/geekbench4/geekbench_x86_32
20
	opt/geekbench4/geekbench_x86_64
21
	opt/geekbench5/geekbench_aarch64
22
	opt/geekbench5/geekbench_armv7
23
	opt/geekbench5/geekbench_x86_64
24
	opt/geekbench5/geekbench5
21 25
"
22 26

  
23 27
pkg_nofetch() {
......
26 30
}
27 31

  
28 32
src_install() {
29
	exeinto /opt/geekbench4
30
	doexe geekbench4 geekbench_x86_32 geekbench_x86_64
33
	local MY_S="Geekbench-${PV}-Linux$(usex arm64 'ARMPreview' '')"
34

  
35
	exeinto /opt/geekbench5
36
	use amd64 && doexe "${MY_S}"/geekbench_x86_64
37
	use arm64 && doexe "${MY_S}"/geekbench_aarch64 "${MY_S}"/geekbench_armv7
38
	doexe "${MY_S}"/geekbench5
31 39

  
32
	insinto /opt/geekbench4
33
	doins geekbench.plar
40
	insinto /opt/geekbench5
41
	doins "${MY_S}"/geekbench.plar
34 42

  
35 43
	dodir /opt/bin
36
	dosym ../geekbench4/geekbench4 /opt/bin/geekbench4
44
	dosym ../geekbench5/geekbench5 /opt/bin/geekbench5
37 45
}
38 46

  
39 47
pkg_postinst() {
40 48
	elog "If you have purchased a commercial license, you can enter"
41 49
	elog "your email address and your license key with the following command:"
42
	elog "geekbench4 -r <email address> <license key>"
50
	elog "geekbench5 -r <email address> <license key>"
43 51
}
Thank you!