public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Aisha Tammy" <gentoo@aisha.cc>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/sci:master commit in: dev-libs/asmjit/
Date: Fri, 25 Sep 2020 23:19:56 +0000 (UTC)	[thread overview]
Message-ID: <1601075963.17dca45a06c8959357a0980d914a473be35e7fbd.epsilon-0@gentoo> (raw)

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>xarthisius@gentoo.org</email>
 		<name>Kacper Kowalik</name>
 	</maintainer>
+	<maintainer type="person">
+		<email>gentoo@aisha.cc</email>
+		<name>Aisha Tammy</name>
+	</maintainer>
 	<maintainer type="project">
 		<email>sci@gentoo.org</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>


             reply	other threads:[~2020-09-25 23:19 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-25 23:19 Aisha Tammy [this message]
  -- strict thread matches above, loose matches on Subject: below --
2022-07-03  8:37 [gentoo-commits] proj/sci:master commit in: dev-libs/asmjit/ Andrew Ammerlaan
2021-01-13 21:06 Andrew Ammerlaan
2020-09-25 23:19 Aisha Tammy
2013-06-12  8:13 Justin Lecher

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1601075963.17dca45a06c8959357a0980d914a473be35e7fbd.epsilon-0@gentoo \
    --to=gentoo@aisha.cc \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox