summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-benchmarks')
-rw-r--r--app-benchmarks/geekbench/Manifest2
-rw-r--r--app-benchmarks/geekbench/geekbench-6.0.2.ebuild51
2 files changed, 53 insertions, 0 deletions
diff --git a/app-benchmarks/geekbench/Manifest b/app-benchmarks/geekbench/Manifest
index 674292cc9fcb..a59621dfbb0e 100644
--- a/app-benchmarks/geekbench/Manifest
+++ b/app-benchmarks/geekbench/Manifest
@@ -6,3 +6,5 @@ DIST Geekbench-5.5.1-Linux.tar.gz 93199992 BLAKE2B e2ff24da19134778dd1b3036ac3fb
DIST Geekbench-5.5.1-LinuxARMPreview.tar.gz 111581640 BLAKE2B be413e306a77c0612be380d0ec0d589067365ac1c4091b55a08b722d469180c9cf9126cc0597e3f3c8a75acf77d2a0423bc43b753f30a219924b1a7df640243d SHA512 1d76b9a7928f89f1fdfa0e3cc9859c305e109cbbe72b013b4c249b03722273c985ad1e5d818341a6e399e9e7b3c61136856df87c9f5e61bcc9e7e0455f80e61b
DIST Geekbench-6.0.1-Linux.tar.gz 258051669 BLAKE2B e61a62a1ab00d68fedaac080242e6e999357da5220ac73d8806f08d37f7843c13848774de74e5f00468d2ed6914586729203e0413f8d56fa718bb5eb37bd0ac0 SHA512 37e143c79d26aba20f272b1367ee693537b363ea746e0f6978e338088716afe2f8b8c7646524235b3707da26da93ea2a00f6aa3bdd586949ec9a35ecb939297c
DIST Geekbench-6.0.1-LinuxARMPreview.tar.gz 222268371 BLAKE2B 8b538e74620a651878f814b3f50697f25fb523b6ea8b90b32d721f3378adffe905071d73678e08d67365619b438f78e5a4f1430be464f78dcd9f298408e88571 SHA512 c5c930d2f58f406d2293922a229c08ba884fa6ea7e6beec7119f1dcd6cc0521c8f26515d471feefb9698f568d7d1c5afde0bcbd85bab5f50fcee4485d48ccc31
+DIST Geekbench-6.0.2-Linux.tar.gz 258065921 BLAKE2B 25cb7a4a09886f92b3a554bda9db7523e78b19c822bedbb667a701765d42059ebefd4f75c943d9d5a175d9778ed03d5e84d34bf49b2c33b93ae3e1837475107d SHA512 e9fca36030f912b698d7e2dca8e0f4251510fb990316a9e81b456412fd0b0a6ef10685109639c2ad4e85a2c3bacd426f220bf60570a454a6a7568d4e12f88f62
+DIST Geekbench-6.0.2-LinuxARMPreview.tar.gz 222268755 BLAKE2B 8a388d055700541e60cacca984c071d3258fc7db99ae439e4f386e9642e8bb89be1a3ed830454f8a1c0a41ba474a949109fa115d9631a8dd5c17120b5f261e16 SHA512 1ba833b386df2f0d1a51c1d0331d20db34f51eb31df612b494e10d29861dffb69c62eec8967f52ba3df0e942dc6bb98e1489c2b1958968dc589ec9f5aa3c7fe2
diff --git a/app-benchmarks/geekbench/geekbench-6.0.2.ebuild b/app-benchmarks/geekbench/geekbench-6.0.2.ebuild
new file mode 100644
index 000000000000..92361a260506
--- /dev/null
+++ b/app-benchmarks/geekbench/geekbench-6.0.2.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DESCRIPTION="A Cross-Platform Benchmark for Android, iOS, Linux, MacOS and Windows"
+HOMEPAGE="https://www.geekbench.com/"
+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 ~arm64"
+LICENSE="geekbench"
+SLOT="6"
+
+RESTRICT="bindist mirror"
+
+QA_PREBUILT="
+ opt/geekbench6/geekbench_aarch64
+ opt/geekbench6/geekbench_avx2
+ opt/geekbench6/geekbench_x86_64
+ opt/geekbench6/geekbench6
+"
+
+pkg_nofetch() {
+ elog "Please download ${A} from ${HOMEPAGE}/download/linux"
+ elog "and place it in your DISTDIR directory."
+}
+
+src_install() {
+ local MY_S="Geekbench-${PV}-Linux$(usex arm64 'ARMPreview' '')"
+
+ exeinto /opt/geekbench6
+ use amd64 && doexe "${MY_S}"/geekbench_avx2 "${MY_S}"/geekbench_x86_64
+ use arm64 && doexe "${MY_S}"/geekbench_aarch64
+ doexe "${MY_S}"/geekbench6
+
+ insinto /opt/geekbench6
+ doins "${MY_S}"/geekbench.plar "${MY_S}"/geekbench-workload.plar
+
+ dodir /opt/bin
+ dosym ../geekbench6/geekbench6 /opt/bin/geekbench6
+}
+
+pkg_postinst() {
+ elog "If you have purchased a commercial license, you can enter"
+ elog "your email address and your license key with the following command:"
+ elog "geekbench6 -r <email address> <license key>"
+}