Gentoo Archives: gentoo-commits

From: Aisha Tammy <gentoo@×××××.cc>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/sci:master commit in: dev-libs/asmjit/
Date: Fri, 25 Sep 2020 23:19:59
Message-Id: 1601075963.17dca45a06c8959357a0980d914a473be35e7fbd.epsilon-0@gentoo
1 commit: 17dca45a06c8959357a0980d914a473be35e7fbd
2 Author: Aisha Tammy <gentoo <AT> aisha <DOT> cc>
3 AuthorDate: Fri Sep 25 23:19:23 2020 +0000
4 Commit: Aisha Tammy <gentoo <AT> aisha <DOT> cc>
5 CommitDate: Fri Sep 25 23:19:23 2020 +0000
6 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=17dca45a
7
8 dev-libs/asmjit: version bump to dated
9
10 Package-Manager: Portage-3.0.8, Repoman-3.0.1
11 Signed-off-by: Aisha Tammy <gentoo <AT> aisha.cc>
12
13 dev-libs/asmjit/asmjit-1.0_beta4.ebuild | 42 -----------------------------
14 dev-libs/asmjit/asmjit-1.0_p22092020.ebuild | 34 +++++++++++++++++++++++
15 dev-libs/asmjit/metadata.xml | 27 ++++++++++++-------
16 3 files changed, 51 insertions(+), 52 deletions(-)
17
18 diff --git a/dev-libs/asmjit/asmjit-1.0_beta4.ebuild b/dev-libs/asmjit/asmjit-1.0_beta4.ebuild
19 deleted file mode 100644
20 index f20a5c087..000000000
21 --- a/dev-libs/asmjit/asmjit-1.0_beta4.ebuild
22 +++ /dev/null
23 @@ -1,42 +0,0 @@
24 -# Copyright 1999-2014 Gentoo Foundation
25 -# Distributed under the terms of the GNU General Public License v2
26 -
27 -EAPI=5
28 -
29 -inherit cmake-utils versionator
30 -
31 -MY_PN=AsmJit
32 -MY_PV=$(replace_version_separator _ -)
33 -MY_PV=${MY_PV/_p/}
34 -MY_P=${MY_PN}-${MY_PV}
35 -
36 -DESCRIPTION="complete x86/x64 JIT-Assembler for C++ language"
37 -HOMEPAGE="http://code.google.com/p/asmjit/"
38 -SRC_URI="http://${PN}.googlecode.com/files/${MY_P}.zip"
39 -
40 -SLOT="0"
41 -LICENSE="BSD"
42 -KEYWORDS="~amd64 ~x86"
43 -IUSE="test"
44 -
45 -DEPEND="app-arch/unzip"
46 -RDEPEND=""
47 -
48 -S=${WORKDIR}/${MY_P}
49 -
50 -PATCHES=( "${FILESDIR}"/${PN}-test.patch )
51 -
52 -#TODO: Debug is currenlty handled by CMAKE_BUILD_TYPE=debug, fix that
53 -
54 -src_prepare() {
55 - sed -i -e "s:lib):lib\${LIB_SUFFIX}):" CMakeLists.txt || die
56 - cmake-utils_src_prepare
57 -}
58 -
59 -src_configure() {
60 - mycmakeargs=(
61 - -DASMJIT_BUILD_LIBRARY=1
62 - $(cmake-utils_use test ASMJIT_BUILD_TEST)
63 - )
64 - cmake-utils_src_configure
65 -}
66
67 diff --git a/dev-libs/asmjit/asmjit-1.0_p22092020.ebuild b/dev-libs/asmjit/asmjit-1.0_p22092020.ebuild
68 new file mode 100644
69 index 000000000..4aa72707c
70 --- /dev/null
71 +++ b/dev-libs/asmjit/asmjit-1.0_p22092020.ebuild
72 @@ -0,0 +1,34 @@
73 +# Copyright 1999-2020 Gentoo Authors
74 +# Distributed under the terms of the GNU General Public License v2
75 +
76 +EAPI=7
77 +
78 +inherit cmake
79 +
80 +DESCRIPTION="complete x86/x64 JIT-Assembler for C++ language"
81 +HOMEPAGE="http://asmjit.com/"
82 +
83 +if [[ ${PV} == 9999 ]]; then
84 + inherit git-r3
85 + EGIT_REPO_URI="https://github.com/asmjit/asmjit"
86 +else
87 + COMMIT=b49d685cd9e2e4488f55ce6004306a79bdea056b
88 + SRC_URI="https://github.com/asmjit/asmjit/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
89 + S="${WORKDIR}"/${PN}-${COMMIT}
90 + KEYWORDS="~amd64"
91 +fi
92 +
93 +SLOT="0"
94 +LICENSE="BSD"
95 +IUSE="natvis static-libs test"
96 +RESTRICT="!test? ( test )"
97 +
98 +src_configure() {
99 + local mycmakeargs=(
100 + -DASMJIT_EMBED=$(usex static-libs)
101 + -DASMJIT_BUILD_X86=ON
102 + -DASMJIT_NO_NATVIS=$(usex natvis)
103 + -DASMJIT_TEST=$(usex test)
104 + )
105 + cmake_src_configure
106 +}
107
108 diff --git a/dev-libs/asmjit/metadata.xml b/dev-libs/asmjit/metadata.xml
109 index a1c96691e..d8cc7be33 100644
110 --- a/dev-libs/asmjit/metadata.xml
111 +++ b/dev-libs/asmjit/metadata.xml
112 @@ -5,20 +5,27 @@
113 <email>xarthisius@g.o</email>
114 <name>Kacper Kowalik</name>
115 </maintainer>
116 + <maintainer type="person">
117 + <email>gentoo@×××××.cc</email>
118 + <name>Aisha Tammy</name>
119 + </maintainer>
120 <maintainer type="project">
121 <email>sci@g.o</email>
122 <name>Gentoo Science Project</name>
123 </maintainer>
124 <longdescription lang="en">
125 -AsmJit is complete x86/x64 JIT-Assembler for C++ language. It supports
126 -32/64-bit x86 processors including all usable extensions (FPU, MMX,
127 -3dNow, SSE, SSE2, SSE3 and SSE4) through type-safe API that mimics Intel
128 -assembler syntax and eliminates nearly all common mistakes that can be
129 -done by developers.
130 + AsmJit is complete x86/x64 JIT-Assembler for C++ language. It supports
131 + 32/64-bit x86 processors including all usable extensions (FPU, MMX,
132 + 3dNow, SSE, SSE2, SSE3 and SSE4) through type-safe API that mimics Intel
133 + assembler syntax and eliminates nearly all common mistakes that can be
134 + done by developers.
135
136 -AsmJit contains also high-level code generation classes that can be used
137 -as a portable way to create JIT code that should run on all supported
138 -architectures. High-level classes can handle various function
139 -calling-conventions, register allocation and 32/64-bit mode differences.
140 -</longdescription>
141 + AsmJit contains also high-level code generation classes that can be used
142 + as a portable way to create JIT code that should run on all supported
143 + architectures. High-level classes can handle various function
144 + calling-conventions, register allocation and 32/64-bit mode differences.
145 + </longdescription>
146 + <use>
147 + <flag name="natvis">build natvis files</flag>
148 + </use>
149 </pkgmetadata>