commit: 17dca45a06c8959357a0980d914a473be35e7fbd
Author: Aisha Tammy <gentoo <AT> aisha <DOT> cc>
AuthorDate: Fri Sep 25 23:19:23 2020 +0000
Commit: Aisha Tammy <gentoo <AT> aisha <DOT> cc>
CommitDate: Fri Sep 25 23:19:23 2020 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=17dca45a
dev-libs/asmjit: version bump to dated
Package-Manager: Portage-3.0.8, Repoman-3.0.1
Signed-off-by: Aisha Tammy <gentoo <AT> aisha.cc>
dev-libs/asmjit/asmjit-1.0_beta4.ebuild | 42 -----------------------------
dev-libs/asmjit/asmjit-1.0_p22092020.ebuild | 34 +++++++++++++++++++++++
dev-libs/asmjit/metadata.xml | 27 ++++++++++++-------
3 files changed, 51 insertions(+), 52 deletions(-)
diff --git a/dev-libs/asmjit/asmjit-1.0_beta4.ebuild
b/dev-libs/asmjit/asmjit-1.0_beta4.ebuild
deleted file mode 100644
index f20a5c087..000000000
--- a/dev-libs/asmjit/asmjit-1.0_beta4.ebuild
+++ /dev/null
@@ -1,42 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit cmake-utils versionator
-
-MY_PN=AsmJit
-MY_PV=$(replace_version_separator _ -)
-MY_PV=${MY_PV/_p/}
-MY_P=${MY_PN}-${MY_PV}
-
-DESCRIPTION="complete x86/x64 JIT-Assembler for C++ language"
-HOMEPAGE="http://code.google.com/p/asmjit/"
-SRC_URI="http://${PN}.googlecode.com/files/${MY_P}.zip"
-
-SLOT="0"
-LICENSE="BSD"
-KEYWORDS="~amd64 ~x86"
-IUSE="test"
-
-DEPEND="app-arch/unzip"
-RDEPEND=""
-
-S=${WORKDIR}/${MY_P}
-
-PATCHES=( "${FILESDIR}"/${PN}-test.patch )
-
-#TODO: Debug is currenlty handled by CMAKE_BUILD_TYPE=debug, fix that
-
-src_prepare() {
- sed -i -e "s:lib):lib\${LIB_SUFFIX}):" CMakeLists.txt || die
- cmake-utils_src_prepare
-}
-
-src_configure() {
- mycmakeargs=(
- -DASMJIT_BUILD_LIBRARY=1
- $(cmake-utils_use test ASMJIT_BUILD_TEST)
- )
- cmake-utils_src_configure
-}
diff --git a/dev-libs/asmjit/asmjit-1.0_p22092020.ebuild
b/dev-libs/asmjit/asmjit-1.0_p22092020.ebuild
new file mode 100644
index 000000000..4aa72707c
--- /dev/null
+++ b/dev-libs/asmjit/asmjit-1.0_p22092020.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake
+
+DESCRIPTION="complete x86/x64 JIT-Assembler for C++ language"
+HOMEPAGE="http://asmjit.com/"
+
+if [[ ${PV} == 9999 ]]; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/asmjit/asmjit"
+else
+ COMMIT=b49d685cd9e2e4488f55ce6004306a79bdea056b
+ SRC_URI="https://github.com/asmjit/asmjit/archive/${COMMIT}.tar.gz ->
${P}.tar.gz"
+ S="${WORKDIR}"/${PN}-${COMMIT}
+ KEYWORDS="~amd64"
+fi
+
+SLOT="0"
+LICENSE="BSD"
+IUSE="natvis static-libs test"
+RESTRICT="!test? ( test )"
+
+src_configure() {
+ local mycmakeargs=(
+ -DASMJIT_EMBED=$(usex static-libs)
+ -DASMJIT_BUILD_X86=ON
+ -DASMJIT_NO_NATVIS=$(usex natvis)
+ -DASMJIT_TEST=$(usex test)
+ )
+ cmake_src_configure
+}
diff --git a/dev-libs/asmjit/metadata.xml b/dev-libs/asmjit/metadata.xml
index a1c96691e..d8cc7be33 100644
--- a/dev-libs/asmjit/metadata.xml
+++ b/dev-libs/asmjit/metadata.xml
@@ -5,20 +5,27 @@
<email>[email protected]</email>
<name>Kacper Kowalik</name>
</maintainer>
+ <maintainer type="person">
+ <email>[email protected]</email>
+ <name>Aisha Tammy</name>
+ </maintainer>
<maintainer type="project">
<email>[email protected]</email>
<name>Gentoo Science Project</name>
</maintainer>
<longdescription lang="en">
-AsmJit is complete x86/x64 JIT-Assembler for C++ language. It supports
-32/64-bit x86 processors including all usable extensions (FPU, MMX,
-3dNow, SSE, SSE2, SSE3 and SSE4) through type-safe API that mimics Intel
-assembler syntax and eliminates nearly all common mistakes that can be
-done by developers.
+ AsmJit is complete x86/x64 JIT-Assembler for C++ language. It
supports
+ 32/64-bit x86 processors including all usable extensions (FPU,
MMX,
+ 3dNow, SSE, SSE2, SSE3 and SSE4) through type-safe API that
mimics Intel
+ assembler syntax and eliminates nearly all common mistakes that
can be
+ done by developers.
-AsmJit contains also high-level code generation classes that can be used
-as a portable way to create JIT code that should run on all supported
-architectures. High-level classes can handle various function
-calling-conventions, register allocation and 32/64-bit mode differences.
-</longdescription>
+ AsmJit contains also high-level code generation classes that
can be used
+ as a portable way to create JIT code that should run on all
supported
+ architectures. High-level classes can handle various function
+ calling-conventions, register allocation and 32/64-bit mode
differences.
+ </longdescription>
+ <use>
+ <flag name="natvis">build natvis files</flag>
+ </use>
</pkgmetadata>