summaryrefslogtreecommitdiff
path: root/dev-cpp/cppgir
diff options
context:
space:
mode:
Diffstat (limited to 'dev-cpp/cppgir')
-rw-r--r--dev-cpp/cppgir/Manifest1
-rw-r--r--dev-cpp/cppgir/cppgir-2.0_p20250629.ebuild46
2 files changed, 47 insertions, 0 deletions
diff --git a/dev-cpp/cppgir/Manifest b/dev-cpp/cppgir/Manifest
index d8867021f146..dbdab9c5df30 100644
--- a/dev-cpp/cppgir/Manifest
+++ b/dev-cpp/cppgir/Manifest
@@ -1,2 +1,3 @@
DIST cppgir-2.0_p20240928.tar.bz2 137200 BLAKE2B 8841b721120add8f75516d63217ffa1c293d7ffba7599353f8cb34400ebb0984224e49f434498bbe879a9864697b5e85fc7908a7977fd6c4874111daec5af72c SHA512 b2e0cf180b9ebe527d90c81cb4587282c71848fe6e54dee24d5fc88643adfd9915f63fa43f45f45177459d05a1f7deaa414caf0d41378849db968c8bfbd4e24c
DIST cppgir-2.0_p20250508.tar.bz2 142126 BLAKE2B baccddc384ea55712ad7fc3ec09e47e2f4a4e34d1be2246ca4b4e54f758c64f827f78026e638662498fbdcf0988a552a76fba8284f1b57f9a1beaf9089575b1b SHA512 43f5266bc0c21b794f66467e7daf8de16c0eb682a30884cc13a8aa082a33046197a9d50b51aca995a6ee32aba082ecd942421d794ba30bff19923b18f8fcb6dc
+DIST cppgir-2.0_p20250629.tar.bz2 159868 BLAKE2B df2d6b947e6303aabf17a3e40b175fb261dccf6e11f6a2870e0cdc08d247b416f48c370bdd1541bc21acd861cf5112b96aa472b46bbe0a3e815e33cfcda3678a SHA512 59578481542973e51fa7b7374a5a9cacc3d6c1c300e6ef128c3dd6d7093927de7957a2ecc0f762ae620bc61c94a4b31992d10f170ea11e17caad8c74a1ffb0b7
diff --git a/dev-cpp/cppgir/cppgir-2.0_p20250629.ebuild b/dev-cpp/cppgir/cppgir-2.0_p20250629.ebuild
new file mode 100644
index 000000000000..9f6178adafbd
--- /dev/null
+++ b/dev-cpp/cppgir/cppgir-2.0_p20250629.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="2a7d9cef68202a29d5e8a679ce9519c76eb26dc3"
+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
+}