commit: 240562f9dcc5a49a7a761354807dd6594958d5d3
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Apr 5 03:07:00 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Apr 5 03:07:25 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=240562f9
dev-libs/keystone: support LLVM 13, LLVM 14
Thanks-to: Joonas Niilola <juippis <AT> gentoo.org>
Signed-off-by: Sam James <sam <AT> gentoo.org>
.../{keystone-9999.ebuild => keystone-0.9.2-r1.ebuild} | 10 +++++-----
dev-libs/keystone/keystone-9999.ebuild | 10 +++++-----
2 files changed, 10 insertions(+), 10 deletions(-)
diff --git a/dev-libs/keystone/keystone-9999.ebuild
b/dev-libs/keystone/keystone-0.9.2-r1.ebuild
similarity index 95%
copy from dev-libs/keystone/keystone-9999.ebuild
copy to dev-libs/keystone/keystone-0.9.2-r1.ebuild
index 7ef25cfa1b43..c0221f1ff7a7 100644
--- a/dev-libs/keystone/keystone-9999.ebuild
+++ b/dev-libs/keystone/keystone-0.9.2-r1.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
+EAPI=8
-LLVM_MAX_SLOT=12
+LLVM_MAX_SLOT=14
DISTUTILS_OPTIONAL=1
PYTHON_COMPAT=( python3_{8,9,10} )
@@ -19,6 +19,7 @@ else
SRC_URI="https://github.com/keystone-engine/keystone/archive/${PV/_rc/-rc}.tar.gz
-> ${P}.tar.gz"
KEYWORDS="~amd64 ~arm ~ppc64 ~x86"
fi
+S="${WORKDIR}"/${P/_rc/-rc}
LICENSE="GPL-2"
SLOT="0"
@@ -41,8 +42,6 @@ REQUIRED_USE="
python? ( ${PYTHON_REQUIRED_USE} )
"
-S=${WORKDIR}/${P/_rc/-rc}
-
wrap_python() {
if use python; then
pushd bindings/python >/dev/null || die
@@ -53,6 +52,7 @@ wrap_python() {
src_prepare() {
default
+
sed -i '/NOT uppercase_CMAKE_BUILD_TYPE MATCHES/ s/DEBUG/GENTOO|DEBUG/'
\
llvm/CMakeLists.txt || die
cmake_src_prepare
diff --git a/dev-libs/keystone/keystone-9999.ebuild
b/dev-libs/keystone/keystone-9999.ebuild
index 7ef25cfa1b43..c0221f1ff7a7 100644
--- a/dev-libs/keystone/keystone-9999.ebuild
+++ b/dev-libs/keystone/keystone-9999.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
+EAPI=8
-LLVM_MAX_SLOT=12
+LLVM_MAX_SLOT=14
DISTUTILS_OPTIONAL=1
PYTHON_COMPAT=( python3_{8,9,10} )
@@ -19,6 +19,7 @@ else
SRC_URI="https://github.com/keystone-engine/keystone/archive/${PV/_rc/-rc}.tar.gz
-> ${P}.tar.gz"
KEYWORDS="~amd64 ~arm ~ppc64 ~x86"
fi
+S="${WORKDIR}"/${P/_rc/-rc}
LICENSE="GPL-2"
SLOT="0"
@@ -41,8 +42,6 @@ REQUIRED_USE="
python? ( ${PYTHON_REQUIRED_USE} )
"
-S=${WORKDIR}/${P/_rc/-rc}
-
wrap_python() {
if use python; then
pushd bindings/python >/dev/null || die
@@ -53,6 +52,7 @@ wrap_python() {
src_prepare() {
default
+
sed -i '/NOT uppercase_CMAKE_BUILD_TYPE MATCHES/ s/DEBUG/GENTOO|DEBUG/'
\
llvm/CMakeLists.txt || die
cmake_src_prepare