summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConrad Kostecki <conrad@kostecki.com>2019-09-06 22:11:34 +0200
committerJoonas Niilola <juippis@gentoo.org>2019-09-08 10:01:14 +0300
commit9da37005dbed2db904f5507be5e0445c25bb1e16 (patch)
tree4f32f030aab978c0e93c6ef67db5cb57750b3923 /app-benchmarks
parentapp-office/libreoffice-voikko: new package (diff)
downloadgentoo-9da37005dbed2db904f5507be5e0445c25bb1e16.tar.gz
gentoo-9da37005dbed2db904f5507be5e0445c25bb1e16.tar.bz2
gentoo-9da37005dbed2db904f5507be5e0445c25bb1e16.zip
app-benchmarks/geekbench: bump to version 5.0.0
Starting with 5.0.0, support for x86 has been dropped by upstream. Package-Manager: Portage-2.3.72, Repoman-2.3.17 Signed-off-by: Conrad Kostecki <conrad@kostecki.com> Closes: https://github.com/gentoo/gentoo/pull/12874 Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'app-benchmarks')
-rw-r--r--app-benchmarks/geekbench/Manifest1
-rw-r--r--app-benchmarks/geekbench/geekbench-5.0.0.ebuild43
2 files changed, 44 insertions, 0 deletions
diff --git a/app-benchmarks/geekbench/Manifest b/app-benchmarks/geekbench/Manifest
index 2595bf54f92..91990f8e872 100644
--- a/app-benchmarks/geekbench/Manifest
+++ b/app-benchmarks/geekbench/Manifest
@@ -3,3 +3,4 @@ DIST Geekbench-2.4.3-Linux.tar.gz 3337551 BLAKE2B cb660f3c08cc812cb23374032490a1
DIST Geekbench-3.4.2-Linux.tar.gz 9986039 BLAKE2B 63d7e768d65bc033260a0d99da17df2e518750f19882e63dbc9bbe6ff0b52a8cddb35b9143e85c01838bf5d77a04599578fc0a57a3e6fd89e7aec8c8ffdd4f5b SHA512 a61a5d5481682baefdce64f6054c3373900e8cd585dcbfa2feabbf386032986b40b603619c552102401a83e0b748831d00af5b5b5278e88ef42dee176adf06e9
DIST Geekbench-4.3.3-Linux.tar.gz 71101735 BLAKE2B f7e784a624f558711e7ebc5fc502de0cae5be489154f3d7d20bfccb624269644ff90867c96ce9f8136609f4911b6764bcfb7ecfb037ebddac56e450b3baa2415 SHA512 8c4bdc51f215f6c84ef955d012d3ba81fab542716cb7dd9e2b05d15c68e678955817fd25032ec659028a769312b5bc04d2d3b9832c9f2fa46d55784446e31b49
DIST Geekbench-4.4.1-Linux.tar.gz 71076124 BLAKE2B 14c2b80c971798e7d2bb256e76c7ab9c48e8c1c389e2f7547a436f706ac4f21c1e52e564cd584893071ee2f9f0a4747cd03ea72cc728ff8e4f369d5cc794d77a SHA512 fa687d33a7d7a2d09c544e3d17de93f41cfa77915c708cd1ef0743f84f7f83df9d3f8df2872a8f85ed2c4c872e3cd41932685ffeb19cdb0ea047ab5116713420
+DIST Geekbench-5.0.0-Linux.tar.gz 92109155 BLAKE2B 5789ae929fbf47960939c3da79ea7cfe4efc9c5bfb9e158f0842d73e1a667a5e76d2c82952e0173aa4418d45a8d3314689e449e453ebe406a86da839229397e8 SHA512 dfec23335ffeef9b7cb089b164a5348fa4bb603169ba289d9995520b355c02815ce5b6619bb5d2ed090c21f21605d78238c1a285db41d75ce2afcc79835b57a5
diff --git a/app-benchmarks/geekbench/geekbench-5.0.0.ebuild b/app-benchmarks/geekbench/geekbench-5.0.0.ebuild
new file mode 100644
index 00000000000..fd51c02afa3
--- /dev/null
+++ b/app-benchmarks/geekbench/geekbench-5.0.0.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+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"
+
+KEYWORDS="-* ~amd64"
+LICENSE="geekbench"
+SLOT="5"
+
+RESTRICT="bindist fetch mirror strip"
+
+S="${WORKDIR}/Geekbench-${PV}-Linux"
+
+QA_PREBUILT="
+ opt/geekbench5/geekbench5
+ opt/geekbench5/geekbench_x86_64
+"
+
+pkg_nofetch() {
+ elog "Please download ${A} from ${HOMEPAGE}/download/linux"
+ elog "and place it in your DISTDIR directory."
+}
+
+src_install() {
+ exeinto /opt/geekbench5
+ doexe geekbench5 geekbench_x86_64
+
+ insinto /opt/geekbench5
+ doins geekbench.plar
+
+ dodir /opt/bin
+ dosym ../geekbench5/geekbench5 /opt/bin/geekbench5
+}
+
+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 "geekbench5 -r <email address> <license key>"
+}