commit: 3a341e9192f750a55699436c26572f492ccfdefe Author: Esteve Varela Colominas <esteve.varela <AT> gmail <DOT> com> AuthorDate: Wed May 21 19:27:45 2025 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Wed May 21 20:51:51 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3a341e91
dev-cpp/cppgir: Bump to 2.0_p20250508 Signed-off-by: Esteve Varela Colominas <esteve.varela <AT> gmail.com> Part-of: https://github.com/gentoo/gentoo/pull/42194 Signed-off-by: Sam James <sam <AT> gentoo.org> dev-cpp/cppgir/Manifest | 1 + dev-cpp/cppgir/cppgir-2.0_p20250508.ebuild | 46 ++++++++++++++++++++++++++++++ 2 files changed, 47 insertions(+) diff --git a/dev-cpp/cppgir/Manifest b/dev-cpp/cppgir/Manifest index 49a377a5abab..d8867021f146 100644 --- a/dev-cpp/cppgir/Manifest +++ b/dev-cpp/cppgir/Manifest @@ -1 +1,2 @@ DIST cppgir-2.0_p20240928.tar.bz2 137200 BLAKE2B 8841b721120add8f75516d63217ffa1c293d7ffba7599353f8cb34400ebb0984224e49f434498bbe879a9864697b5e85fc7908a7977fd6c4874111daec5af72c SHA512 b2e0cf180b9ebe527d90c81cb4587282c71848fe6e54dee24d5fc88643adfd9915f63fa43f45f45177459d05a1f7deaa414caf0d41378849db968c8bfbd4e24c +DIST cppgir-2.0_p20250508.tar.bz2 142126 BLAKE2B baccddc384ea55712ad7fc3ec09e47e2f4a4e34d1be2246ca4b4e54f758c64f827f78026e638662498fbdcf0988a552a76fba8284f1b57f9a1beaf9089575b1b SHA512 43f5266bc0c21b794f66467e7daf8de16c0eb682a30884cc13a8aa082a33046197a9d50b51aca995a6ee32aba082ecd942421d794ba30bff19923b18f8fcb6dc diff --git a/dev-cpp/cppgir/cppgir-2.0_p20250508.ebuild b/dev-cpp/cppgir/cppgir-2.0_p20250508.ebuild new file mode 100644 index 000000000000..2f834b2ed82e --- /dev/null +++ b/dev-cpp/cppgir/cppgir-2.0_p20250508.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake flag-o-matic + +DESCRIPTION="GObject-Introspection C++ binding wrapper generator" +HOMEPAGE="https://gitlab.com/mnauw/cppgir" + +MY_PV="2f8680bb8278b0940c7d2347213fed5bcc098923" +SRC_URI="https://gitlab.com/mnauw/cppgir/-/archive/${MY_PV}/cppgir-${MY_PV}.tar.bz2 -> ${P}.tar.bz2" +S="${WORKDIR}/${PN}-${MY_PV}" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~loong ~ppc64 ~riscv" +IUSE="doc test" +RESTRICT="!test? ( test )" + +RDEPEND=" + dev-libs/boost:= + dev-libs/libfmt:= +" +DEPEND="${RDEPEND} + dev-cpp/expected-lite +" +BDEPEND=" + doc? ( app-text/ronn-ng ) + test? ( dev-libs/glib ) +" + +src_configure() { + local mycmakeargs=( + -DBUILD_DOC=$(usex doc) + -DBUILD_TESTING=$(usex test) + -DBUILD_EXAMPLES=no + -DINTERNAL_EXPECTED=no + ) + + append-cppflags \ + -UDEFAULT_GIRPATH \ + -DDEFAULT_GIRPATH="${EPREFIX}/usr/share:${EPREFIX}/usr/local/share" + + cmake_src_configure +}
