diff options
author | Conrad Kostecki <conikost@gentoo.org> | 2024-04-17 13:40:19 +0200 |
---|---|---|
committer | Conrad Kostecki <conikost@gentoo.org> | 2024-04-17 16:11:17 +0200 |
commit | a3433ab02f57b97014225c98543c39f075d797a7 (patch) | |
tree | 01b6ca4d8bc85096af743e26b73c807198e9103f /app-benchmarks | |
parent | dev-python/peewee: Bump to 3.17.2 (diff) | |
download | gentoo-a3433ab02f57b97014225c98543c39f075d797a7.tar.gz gentoo-a3433ab02f57b97014225c98543c39f075d797a7.tar.bz2 gentoo-a3433ab02f57b97014225c98543c39f075d797a7.zip |
app-benchmarks/geekbench: add 6.3.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.3.0.ebuild | 51 |
2 files changed, 53 insertions, 0 deletions
diff --git a/app-benchmarks/geekbench/Manifest b/app-benchmarks/geekbench/Manifest index c37c06ffc5a0..341c54e03161 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.2.2-Linux.tar.gz 227984666 BLAKE2B 0e7618de3717f2fbe251b003a808c8b736d2905c3ce04b3c64db848e2fb071f63466288a63dbcd92f55e83a718b7c510cfb41d53471dc52bfede5547ab855bde SHA512 e72d564a977718ccbf97a434049d74fd9f145056e394affaa1ce06c4190a8e7508f8f1a1207e1c4de7f8945842d05d713e87873a287df5b20ead36abc89aab2f DIST Geekbench-6.2.2-LinuxARMPreview.tar.gz 191739279 BLAKE2B 723954d473825af66bc2755719a4fd113bb13d0efd3618b006646b90c6bdb8261ff41f7f284ba5c0c1c7aeeb6870a38f5679c196d85e59fa30c7a99e7a05cb59 SHA512 e2df2789abc77f9f076940f0dc5fcea811e279e603cd21ba976ba2ee078e3f421f53ea5d7ef5fc27c9a5887aa9bab2b6962bd4410fb434d6fc2dfd4b3a2935ec +DIST Geekbench-6.3.0-Linux.tar.gz 228034734 BLAKE2B fada4628e67ffa61caf77129865ea98871633cc8b197f41fbd8558539fd0b92be803f65c6590ee597b67642998661701fb58089dfe606e98a2219ea838ee3f5c SHA512 0c0d89adea5c25cd6b9cc804fdbb5f3e53178ca3cf7b9505ab9c194f84f7d38274c1bc57651a073c50490e731ae1bbd56d13e388144a2529e9a556cef181ab6a +DIST Geekbench-6.3.0-LinuxARMPreview.tar.gz 191781760 BLAKE2B a99009396a761f9bbcf3a4c32f1afcbed9938d865615da696dc2cdae83a81a1d3bb06aeb11aa26a803caa22479e4d8bb5cf8a52c3260abe07e792b312d29443c SHA512 e9992eb5c7038efdb721fd970bfcf8b0ee3e9d323a9e7cd98588514798560f16428c3e7c4d1d235d2a28320dc629305f29ec56a504923826d09136f4cfb7b775 diff --git a/app-benchmarks/geekbench/geekbench-6.3.0.ebuild b/app-benchmarks/geekbench/geekbench-6.3.0.ebuild new file mode 100644 index 000000000000..1feae501d439 --- /dev/null +++ b/app-benchmarks/geekbench/geekbench-6.3.0.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2024 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>" +} |