diff options
author | Conrad Kostecki <conikost@gentoo.org> | 2023-06-08 22:17:04 +0200 |
---|---|---|
committer | Conrad Kostecki <conikost@gentoo.org> | 2023-06-08 22:17:04 +0200 |
commit | 6e6f2af3a95949c44aee4d4fb485bf5685883b47 (patch) | |
tree | 53794a842ea088509ab73a419a06045be49ceffd /app-benchmarks | |
parent | sys-apps/cpuid: drop 20230406 (diff) | |
download | gentoo-6e6f2af3a95949c44aee4d4fb485bf5685883b47.tar.gz gentoo-6e6f2af3a95949c44aee4d4fb485bf5685883b47.tar.bz2 gentoo-6e6f2af3a95949c44aee4d4fb485bf5685883b47.zip |
app-benchmarks/geekbench: add 6.1.0
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.1.0.ebuild | 51 |
2 files changed, 53 insertions, 0 deletions
diff --git a/app-benchmarks/geekbench/Manifest b/app-benchmarks/geekbench/Manifest index 1baeab4bd2ae..61385d004471 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.3-Linux.tar.gz 258057506 BLAKE2B 6e54642fbdf23c0b75b05c9587b837a3aab08289cc6347841b2fe5efb877696779b53b916db2d0ae01cfc698ac6e9290f744e721914fc117721f365cb40930ef SHA512 b336d5e446cd9684edaed2114111ca66d9dc73094481ca42fe336895631aed55bdd747eaf54d5ebd39a920eb348bb2209718e1f69acf19b92ce9b052c19c3f0e DIST Geekbench-6.0.3-LinuxARMPreview.tar.gz 222270329 BLAKE2B 04206422533afa3f2cb9e06ca34f1ace58fd5944e22c981bfd009762f7247ac13b23b9ecebfc457e60b80441f784d11f904ae05c2dc52444d45f5849f3df7165 SHA512 327ff1022952386ff0984ea337ab19f309988af2264e28f281533b4914b176871210120baaaf407749f0a67567518f68a6d5df4ffec44814bed700769f563a68 +DIST Geekbench-6.1.0-Linux.tar.gz 227951888 BLAKE2B f741eac75043bbe9468597bd791d9a5b69fbab7c085a037b846bbaf985a30066748439fd6dbab11e86a01eab1dfe587767bfd211ea3f8a7d1b70de24d4a45656 SHA512 0d98ced1d7ad259cdd957231a6690d5eaedd345ed5550573d9503c56caef5a6724c3290207305e79dafc6660b209a4748801b52a9baf5fdeda0b81fdec80bcf6 +DIST Geekbench-6.1.0-LinuxARMPreview.tar.gz 191699484 BLAKE2B 0702d7e52a06b1e01d87aac1fba1739be0584ca7afb59f17b5eafdcc290a20ed631a15e28c027b1f5df57ce7882dea4c4cc18b02b7a0a133b00cf403bcbea18a SHA512 82047365bfce6dd45d926628435f1a8b85297aac05a358f35254a2d827981f080f1582a4e4ca6b943ac4c527164fa9b50c8f612907de66e5d5751994ee5e5ee0 diff --git a/app-benchmarks/geekbench/geekbench-6.1.0.ebuild b/app-benchmarks/geekbench/geekbench-6.1.0.ebuild new file mode 100644 index 000000000000..92361a260506 --- /dev/null +++ b/app-benchmarks/geekbench/geekbench-6.1.0.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>" +} |