Skip to content

Commit

Permalink
app-benchmarks/geekbench: bump to version 5.0.0
Browse files Browse the repository at this point in the history
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 <[email protected]>
Closes: gentoo#12874
Signed-off-by: Joonas Niilola <[email protected]>
  • Loading branch information
ConiKost authored and juippis committed Sep 8, 2019
1 parent fc4d0b5 commit 9da3700
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 0 deletions.
1 change: 1 addition & 0 deletions app-benchmarks/geekbench/Manifest
Original file line number Diff line number Diff line change
Expand Up @@ -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
43 changes: 43 additions & 0 deletions app-benchmarks/geekbench/geekbench-5.0.0.ebuild
Original file line number Diff line number Diff line change
@@ -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>"
}

0 comments on commit 9da3700

Please sign in to comment.