Сравнение geekbench-2.4.3-r1 с geekbench-3.4.4
/usr/portage/app-benchmarks/geekbench/geekbench-3.4.4.ebuild 2023-10-09 14:52:28.204368318 +0300 | ||
---|---|---|
1 |
# Copyright 1999-2021 Gentoo Authors |
|
1 |
# Copyright 1999-2023 Gentoo Authors |
|
2 | 2 |
# Distributed under the terms of the GNU General Public License v2 |
3 | 3 | |
4 | 4 |
EAPI=8 |
5 | 5 | |
6 | 6 |
DESCRIPTION="A Cross-Platform Benchmark for Android, iOS, Linux, MacOS and Windows" |
7 | 7 |
HOMEPAGE="https://www.geekbench.com" |
8 |
SRC_URI="https://cdn.primatelabs.com/Geekbench-${PV}-Linux.tar.gz" |
|
8 |
SRC_URI="https://cdn.geekbench.com/Geekbench-${PV}-Linux.tar.gz" |
|
9 | 9 |
S="${WORKDIR}/dist/Geekbench-${PV}-Linux" |
10 | 10 | |
11 | 11 |
KEYWORDS="-* amd64 x86" |
12 | 12 |
LICENSE="geekbench" |
13 |
SLOT="2" |
|
13 |
SLOT="3" |
|
14 | 14 | |
15 | 15 |
RESTRICT="bindist mirror" |
16 | 16 | |
17 |
QA_PREBUILT="opt/geekbench2/geekbench opt/geekbench2/geekbench_x86_32 opt/geekbench2/geekbench_x86_64" |
|
17 |
QA_PREBUILT="opt/geekbench3/geekbench opt/geekbench3/geekbench_x86_32 opt/geekbench3/geekbench_x86_64" |
|
18 | 18 | |
19 | 19 |
pkg_nofetch() { |
20 |
elog "Please download ${A} from ${HOMEPAGE}/${PN}2/download/linux" |
|
20 |
elog "Please download ${A} from ${HOMEPAGE}/${PN}3/download/linux" |
|
21 | 21 |
elog "and place it in your DISTDIR directory." |
22 | 22 |
} |
23 | 23 | |
24 | 24 |
src_install() { |
25 |
exeinto /opt/geekbench2 |
|
25 |
exeinto /opt/geekbench3 |
|
26 | 26 |
doexe geekbench geekbench_x86_32 geekbench_x86_64 |
27 | 27 | |
28 |
insinto /opt/geekbench2 |
|
28 |
insinto /opt/geekbench3 |
|
29 | 29 |
doins geekbench.plar |
30 | 30 | |
31 | 31 |
dodir /opt/bin |
32 |
dosym ../geekbench2/geekbench /opt/bin/geekbench2 |
|
32 |
dosym ../geekbench3/geekbench /opt/bin/geekbench3 |
|
33 | 33 |
} |
34 | 34 | |
35 | 35 |
pkg_postinst() { |
36 | 36 |
elog "If you have purchased a commercial license, you can enter" |
37 | 37 |
elog "your email address and your license key with the following command:" |
38 |
elog "geekbench2 -r <email address> <license key>" |
|
38 |
elog "geekbench3 -r <email address> <license key>" |
|
39 | 39 |
} |