diff options
author | Conrad Kostecki <conikost@gentoo.org> | 2023-04-23 14:58:38 +0200 |
---|---|---|
committer | Conrad Kostecki <conikost@gentoo.org> | 2023-04-23 17:47:39 +0200 |
commit | 756fef54875966fbcf0deafbefbe5bf5d92328df (patch) | |
tree | ca0cd4cd3df092156cea33b1ef5f5c7f695bd5ee /app-benchmarks | |
parent | dev-util/intel-graphics-compiler: update deps (diff) | |
download | gentoo-756fef54875966fbcf0deafbefbe5bf5d92328df.tar.gz gentoo-756fef54875966fbcf0deafbefbe5bf5d92328df.tar.bz2 gentoo-756fef54875966fbcf0deafbefbe5bf5d92328df.zip |
app-benchmarks/geekbench: add 6.0.3
Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
Diffstat (limited to 'app-benchmarks')
-rw-r--r-- | app-benchmarks/geekbench/Manifest | 2 | ||||
-rw-r--r-- | app-benchmarks/geekbench/geekbench-6.0.3.ebuild | 51 |
2 files changed, 53 insertions, 0 deletions
diff --git a/app-benchmarks/geekbench/Manifest b/app-benchmarks/geekbench/Manifest index a59621dfbb0e..e2819c2404d2 100644 --- a/app-benchmarks/geekbench/Manifest +++ b/app-benchmarks/geekbench/Manifest @@ -8,3 +8,5 @@ DIST Geekbench-6.0.1-Linux.tar.gz 258051669 BLAKE2B e61a62a1ab00d68fedaac080242e 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 +DIST Geekbench-6.0.3-Linux.tar.gz 258057506 BLAKE2B 6e54642fbdf23c0b75b05c9587b837a3aab08289cc6347841b2fe5efb877696779b53b916db2d0ae01cfc698ac6e9290f744e721914fc117721f365cb40930ef SHA512 b336d5e446cd9684edaed2114111ca66d9dc73094481ca42fe336895631aed55bdd747eaf54d5ebd39a920eb348bb2209718e1f69acf19b92ce9b052c19c3f0e +DIST Geekbench-6.0.3-LinuxARMPreview.tar.gz 222270329 BLAKE2B 04206422533afa3f2cb9e06ca34f1ace58fd5944e22c981bfd009762f7247ac13b23b9ecebfc457e60b80441f784d11f904ae05c2dc52444d45f5849f3df7165 SHA512 327ff1022952386ff0984ea337ab19f309988af2264e28f281533b4914b176871210120baaaf407749f0a67567518f68a6d5df4ffec44814bed700769f563a68 diff --git a/app-benchmarks/geekbench/geekbench-6.0.3.ebuild b/app-benchmarks/geekbench/geekbench-6.0.3.ebuild new file mode 100644 index 000000000000..0f2d1e36167a --- /dev/null +++ b/app-benchmarks/geekbench/geekbench-6.0.3.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>" +} |