summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConrad Kostecki <conikost@gentoo.org>2023-02-14 21:42:12 +0100
committerConrad Kostecki <conikost@gentoo.org>2023-02-14 21:42:12 +0100
commit2d59eaf8dcd761fb2ba56751b4a3a582c903951a (patch)
treed095d9cdead5285f1480a15532d5493f880651ef /app-benchmarks
parentapp-benchmarks/geekbench: add arm64 keyword (diff)
downloadgentoo-2d59eaf8dcd761fb2ba56751b4a3a582c903951a.tar.gz
gentoo-2d59eaf8dcd761fb2ba56751b4a3a582c903951a.tar.bz2
gentoo-2d59eaf8dcd761fb2ba56751b4a3a582c903951a.zip
app-benchmarks/geekbench: add arm64 keyword (slot 5)
Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
Diffstat (limited to 'app-benchmarks')
-rw-r--r--app-benchmarks/geekbench/Manifest1
-rw-r--r--app-benchmarks/geekbench/geekbench-5.5.1.ebuild23
2 files changed, 17 insertions, 7 deletions
diff --git a/app-benchmarks/geekbench/Manifest b/app-benchmarks/geekbench/Manifest
index bd7dca7a87b9..1e5652ca7d02 100644
--- a/app-benchmarks/geekbench/Manifest
+++ b/app-benchmarks/geekbench/Manifest
@@ -4,5 +4,6 @@ DIST Geekbench-3.4.4-Linux.tar.gz 9998564 BLAKE2B feb3b2c9b2c57c1a71bb5148110752
DIST Geekbench-4.4.4-Linux.tar.gz 71089467 BLAKE2B 257f79644e20189950fb7c9121e32337526e0c9bf5b0f0f66568c107e2a15c65459eecd332bea4fcbc2d9bb1287bab0e4f37b2100f419ffa52c5396828d86c38 SHA512 c43e1d658d361347efb012824ff0b81975ace35c866a1c2a227adeb86167292b639f19e8fe190d2f0de395f19280a99cb20342325177222f634c9e71c9226e78
DIST Geekbench-5.4.6-Linux.tar.gz 93188716 BLAKE2B 6a38449b8b494fe878d2c583838c2cc95eef736a174231d8ab25b616c39b8deb4edbadd5f9545176a01a9fff55935f20c572fb9cb3902dddc2fad2836cba5166 SHA512 6c1bc9db284ee4dea282f329b08bc75172c92951d1d43131226eaa42e05e1e39e11d34fe0c3d29f45e6b421bea16a102170a631a4b11a7a3d026024171ba5ccb
DIST Geekbench-5.5.1-Linux.tar.gz 93199992 BLAKE2B e2ff24da19134778dd1b3036ac3fb8b2d99746dbe41b1959cb74522613a7b9a8a0e3796d22351af877a9ea7a734c6b101a0ffadfd3bbc2e29fb9b12e59106848 SHA512 0fd90d55eaaf178e4c981ef6ef54808d1ff86edc92c907a5d8e2a3a379c2289e614d917db330a3d748c818bcedb2dc69cad250b1b98ba80287c6d9a66382bcc4
+DIST Geekbench-5.5.1-LinuxARMPreview.tar.gz 111581640 BLAKE2B be413e306a77c0612be380d0ec0d589067365ac1c4091b55a08b722d469180c9cf9126cc0597e3f3c8a75acf77d2a0423bc43b753f30a219924b1a7df640243d SHA512 1d76b9a7928f89f1fdfa0e3cc9859c305e109cbbe72b013b4c249b03722273c985ad1e5d818341a6e399e9e7b3c61136856df87c9f5e61bcc9e7e0455f80e61b
DIST Geekbench-6.0.0-Linux.tar.gz 258039528 BLAKE2B d77b8920f7b935b1db5023b58624fa7c3f0596c0ac8413725e23765e191e5225cb0862d0bd722b5f40056fe3027f417bfa2e97519930e2ad3ce3cd896e8cdd12 SHA512 e3e724c7dad7879a5be3d885dc1a163b3d84d78bf60b501279c289aad55c610c9634ecfa46352b0ea9ad7946129e1cc97d8ef4f5970888f8ee03fcd7a2bf9475
DIST Geekbench-6.0.0-LinuxARMPreview.tar.gz 222261452 BLAKE2B c7f58abaabdbb8ed3800862b186d6415cbcaae5cc36220cbb5872b0dfcc5236f0bff3c677a48bbc1f9cb8e47d2798c8cc99ca8f9ee2a7913788b7c4c944dfa8f SHA512 dadc476b5e88c608a532b35088d0884a330ab5994fb72085ec0ed70c5bcba641328b5fe1c47d8e0c0d4ef9201329a25d8ae1fddce1fa917a74ad3fcc0a08cf41
diff --git a/app-benchmarks/geekbench/geekbench-5.5.1.ebuild b/app-benchmarks/geekbench/geekbench-5.5.1.ebuild
index f1c02f0121ce..eff2a7e2d82e 100644
--- a/app-benchmarks/geekbench/geekbench-5.5.1.ebuild
+++ b/app-benchmarks/geekbench/geekbench-5.5.1.ebuild
@@ -5,18 +5,23 @@ EAPI=8
DESCRIPTION="A Cross-Platform Benchmark for Android, iOS, Linux, MacOS and Windows"
HOMEPAGE="https://www.geekbench.com/"
-SRC_URI="https://cdn.geekbench.com/Geekbench-${PV}-Linux.tar.gz"
-S="${WORKDIR}/Geekbench-${PV}-Linux"
+SRC_URI="
+ amd64? ( https://cdn.geekbench.com/Geekbench-${PV}-Linux.tar.gz )
+ arm64? ( https://cdn.geekbench.com/Geekbench-${PV}-LinuxARMPreview.tar.gz )
+"
+S="${WORKDIR}"
-KEYWORDS="-* ~amd64"
+KEYWORDS="-* ~amd64 ~arm64"
LICENSE="geekbench"
-SLOT="5"
+SLOT="6"
RESTRICT="bindist mirror"
QA_PREBUILT="
- opt/geekbench5/geekbench5
+ opt/geekbench5/geekbench_aarch64
+ opt/geekbench5/geekbench_armv7
opt/geekbench5/geekbench_x86_64
+ opt/geekbench5/geekbench5
"
pkg_nofetch() {
@@ -25,11 +30,15 @@ pkg_nofetch() {
}
src_install() {
+ local MY_S="Geekbench-${PV}-Linux$(usex arm64 'ARMPreview' '')"
+
exeinto /opt/geekbench5
- doexe geekbench5 geekbench_x86_64
+ use amd64 && doexe "${MY_S}"/geekbench_x86_64
+ use arm64 && doexe "${MY_S}"/geekbench_aarch64 "${MY_S}"/geekbench_armv7
+ doexe "${MY_S}"/geekbench5
insinto /opt/geekbench5
- doins geekbench.plar
+ doins "${MY_S}"/geekbench.plar
dodir /opt/bin
dosym ../geekbench5/geekbench5 /opt/bin/geekbench5