commit: 375179d0f86f4ca057932db2e122b26e42035406 Author: Alexander Golubev <fatzer2 <AT> gmail <DOT> com> AuthorDate: Sat Nov 9 17:53:28 2024 +0000 Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org> CommitDate: Sun Nov 10 08:38:56 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=375179d0
dev-libs/asmjit: add 2024.10.25, 9999 Signed-off-by: Alexander Golubev <fatzer2 <AT> gmail.com> Closes: https://github.com/gentoo/gentoo/pull/39251 Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org> dev-libs/asmjit/Manifest | 1 + dev-libs/asmjit/asmjit-2024.10.25.ebuild | 33 ++++++++++++++++++++++++++++++++ dev-libs/asmjit/asmjit-9999.ebuild | 33 ++++++++++++++++++++++++++++++++ 3 files changed, 67 insertions(+) diff --git a/dev-libs/asmjit/Manifest b/dev-libs/asmjit/Manifest index 02e1b92d572b..cf4ac5c9d1c3 100644 --- a/dev-libs/asmjit/Manifest +++ b/dev-libs/asmjit/Manifest @@ -1,2 +1,3 @@ DIST asmjit-2021.11.13.tar.gz 717251 BLAKE2B 2bcad7234b0cab2d60c9fcd09149c93397595ca4859cb415378dabf52f8660de3aa5de40ee192fca814ee62bfc690ae8260c2f54faf10eb52c3ed3d63d1f4258 SHA512 2774168ff0847b3c29aee87325f12e431693c70661f8c10e0dc0d6530a3683d51ca472ef993e88c9d4e179494b045b2e75c22d6eda19b0c75e19843b69162da1 DIST asmjit-2022.07.02.tar.gz 974040 BLAKE2B 28f2d23bcded48f1526b8820a5c9c919e014bdd6e8095762ba37414d2a47dc5665d89c4ca43fee9b216d5dfc71ef19835ce04f6dccc500451f204033b42be20c SHA512 c1196edb656833caa6d4d6817e34e4d2320ecda06bc6b531a0ff73f9e3786a98dad3f2348884de4e272d0e6853bb7b1eaab3feaa5d4430f28c3c9339ded1a58c +DIST asmjit-2024.10.25.tar.gz 1184167 BLAKE2B 2b07a470f1b7a3886aa67bd3d8efeb35f7218622df0f21da398b724226fa7253c37c3548f9a3f29ce0d2306794af02642969e9623829750e7ed6a0e6abfd88de SHA512 aef778b28bfb7187c93f5a7c8edacbb4d57b79d32b09ce30eab52e1708f641b123d19d5501c14625a155b4add8499782f4207145addbdf670266bc121d11138b diff --git a/dev-libs/asmjit/asmjit-2024.10.25.ebuild b/dev-libs/asmjit/asmjit-2024.10.25.ebuild new file mode 100644 index 000000000000..69fb1376fe46 --- /dev/null +++ b/dev-libs/asmjit/asmjit-2024.10.25.ebuild @@ -0,0 +1,33 @@ +# Copyright 2022-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +inherit cmake + +DESCRIPTION="Machine code generation for C++" +HOMEPAGE="https://asmjit.com/" +if [[ ${PV} == 9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/asmjit/asmjit" +else + CommitId=f1096428b87e9d16305de16e91f2a7f52aef5a88 + SRC_URI="https://github.com/asmjit/${PN}/archive/${CommitId}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64" + S="${WORKDIR}"/${PN}-${CommitId} +fi + +LICENSE="ZLIB" +SLOT="0" +IUSE="test" + +BDEPEND="test? ( dev-cpp/gtest )" +RESTRICT="!test? ( test )" + +DOCS=( README.md CONTRIBUTING.md ) + +src_configure() { + local mycmakeargs=( + -DASMJIT_TEST=$(usex test) + ) + cmake_src_configure +} diff --git a/dev-libs/asmjit/asmjit-9999.ebuild b/dev-libs/asmjit/asmjit-9999.ebuild new file mode 100644 index 000000000000..69fb1376fe46 --- /dev/null +++ b/dev-libs/asmjit/asmjit-9999.ebuild @@ -0,0 +1,33 @@ +# Copyright 2022-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +inherit cmake + +DESCRIPTION="Machine code generation for C++" +HOMEPAGE="https://asmjit.com/" +if [[ ${PV} == 9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/asmjit/asmjit" +else + CommitId=f1096428b87e9d16305de16e91f2a7f52aef5a88 + SRC_URI="https://github.com/asmjit/${PN}/archive/${CommitId}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64" + S="${WORKDIR}"/${PN}-${CommitId} +fi + +LICENSE="ZLIB" +SLOT="0" +IUSE="test" + +BDEPEND="test? ( dev-cpp/gtest )" +RESTRICT="!test? ( test )" + +DOCS=( README.md CONTRIBUTING.md ) + +src_configure() { + local mycmakeargs=( + -DASMJIT_TEST=$(usex test) + ) + cmake_src_configure +}