1 |
commit: 909fca4c4df3bdb3e6e3c45b7828c19b253c65bb |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Dec 2 08:34:46 2017 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Dec 2 09:36:42 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=909fca4c |
7 |
|
8 |
app-portage/cpuid2cpuflags: Bump to v5 |
9 |
|
10 |
app-portage/cpuid2cpuflags/Manifest | 1 + |
11 |
app-portage/cpuid2cpuflags/cpuid2cpuflags-5.ebuild | 28 ++++++++++++++++++++++ |
12 |
2 files changed, 29 insertions(+) |
13 |
|
14 |
diff --git a/app-portage/cpuid2cpuflags/Manifest b/app-portage/cpuid2cpuflags/Manifest |
15 |
index 807d1075238..bc12592bf01 100644 |
16 |
--- a/app-portage/cpuid2cpuflags/Manifest |
17 |
+++ b/app-portage/cpuid2cpuflags/Manifest |
18 |
@@ -1,2 +1,3 @@ |
19 |
DIST cpuid2cpuflags-4.tar.bz2 71216 SHA256 e8d911d06852ffa860ad175235f78aa8beb009ecb26d1809cd6c3fd253dbba4a SHA512 0f8a078a605687af9be0152d530dabfa7636827005747a5cce399103eec34f96216b4417e06472821aceecdca737a6ee106b63f056f221d6f2a3050bc3a03f6b WHIRLPOOL e887c998d0b5b4ffa9956c76f3853d4d695acc6eafaa4e94484ce3c895399a78e98eb91fb918a7df5e2cc07c6e28ea100725bf0b28af23cd082f6e719a62b74b |
20 |
+DIST cpuid2cpuflags-5.tar.bz2 72050 BLAKE2B e9b7022ae5b7d51c88b5e41d9d7af1175498cb5a1f32876bfb766f785060f501d07ba3a5c346961e742bbf7022121faf3d0d068ec711ee9ed4e67cbdcd72a58a SHA512 41dcd2b974f6bd96867dea15a3839a8d63a3ff600189107ab16a67b5bc77ef421acbedb83f3e3b16ec90ac900d187aa8c44baae6fbdb4988f3bf7caa2d0d19a2 |
21 |
DIST cpuinfo2cpuflags-1.tar.gz 1429 SHA256 aaa4b80568936acc4b2798f62254a5170328c862cadc70b22cd10e4e6716bbcc SHA512 68a21cfdb0fc8c6eb5aad5c6702d50dd56c927b2010efea1651dbc6a9657654b770bc5a4055fb11e790066c2c63c9ea29c3e03d91057abe187e7029e6797aede WHIRLPOOL 57c66d7eddbf6245735f037980a3d7a685dbccc11bba7e7dd0e1290a77960f17cdb81f161c012abc0eec213b951709df8d7677f0034d5b083bc6f45be1386ad8 |
22 |
|
23 |
diff --git a/app-portage/cpuid2cpuflags/cpuid2cpuflags-5.ebuild b/app-portage/cpuid2cpuflags/cpuid2cpuflags-5.ebuild |
24 |
new file mode 100644 |
25 |
index 00000000000..318806faa56 |
26 |
--- /dev/null |
27 |
+++ b/app-portage/cpuid2cpuflags/cpuid2cpuflags-5.ebuild |
28 |
@@ -0,0 +1,28 @@ |
29 |
+# Copyright 1999-2017 Gentoo Foundation |
30 |
+# Distributed under the terms of the GNU General Public License v2 |
31 |
+ |
32 |
+EAPI=6 |
33 |
+ |
34 |
+DESCRIPTION="Tool to guess CPU_FLAGS_X86 flags for the host" |
35 |
+HOMEPAGE="https://github.com/mgorny/cpuid2cpuflags" |
36 |
+SRC_URI="https://github.com/mgorny/cpuid2cpuflags/releases/download/v${PV}/${P}.tar.bz2" |
37 |
+ |
38 |
+LICENSE="BSD-2" |
39 |
+SLOT="0" |
40 |
+KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-fbsd ~x86-fbsd ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris" |
41 |
+IUSE="" |
42 |
+ |
43 |
+pkg_postinst() { |
44 |
+ local v |
45 |
+ for v in ${REPLACING_VERSIONS}; do |
46 |
+ if [[ ${v%-r*} -lt 2 ]]; then |
47 |
+ elog 'Please note that the output has changed in v2. The new format is suitable' |
48 |
+ elog 'both for Portage and Paludis. To use it, e.g.:' |
49 |
+ elog |
50 |
+ elog ' $ echo "*/* $(cpuid2cpuflags)" > /etc/portage/package.use/00cpuflags' |
51 |
+ elog |
52 |
+ elog '(you may need to convert package.use into a directory if you want to use' |
53 |
+ elog ' separate file as presented here)' |
54 |
+ fi |
55 |
+ done |
56 |
+} |