commit:     5026a60a810a9bc447c537320b64b314adee0c76
Author:     Joe Kappus <joe <AT> wt <DOT> gd>
AuthorDate: Wed Mar  4 03:51:55 2026 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Mar  5 21:28:44 2026 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5026a60a

dev-cpp/cppgir: add 2.0_p20260226

Bump needed to compile future net-im/telegram-desktop versions.

Adds --only-changed which is used for >6.6 versions of telegram:
https://gitlab.com/mnauw/cppgir/-/commit/52de2954433ee3fe06f863724f4fd166269a4b38

Signed-off-by: Joe Kappus <joe <AT> wt.gd>
Part-of: https://codeberg.org/gentoo/gentoo/pulls/211
Merges: https://codeberg.org/gentoo/gentoo/pulls/211
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-cpp/cppgir/Manifest                    |  1 +
 dev-cpp/cppgir/cppgir-2.0_p20260226.ebuild | 46 ++++++++++++++++++++++++++++++
 2 files changed, 47 insertions(+)

diff --git a/dev-cpp/cppgir/Manifest b/dev-cpp/cppgir/Manifest
index e962fb566199..6b3310d5ca55 100644
--- a/dev-cpp/cppgir/Manifest
+++ b/dev-cpp/cppgir/Manifest
@@ -1,2 +1,3 @@
 DIST cppgir-2.0_p20250629.tar.bz2 159868 BLAKE2B 
df2d6b947e6303aabf17a3e40b175fb261dccf6e11f6a2870e0cdc08d247b416f48c370bdd1541bc21acd861cf5112b96aa472b46bbe0a3e815e33cfcda3678a
 SHA512 
59578481542973e51fa7b7374a5a9cacc3d6c1c300e6ef128c3dd6d7093927de7957a2ecc0f762ae620bc61c94a4b31992d10f170ea11e17caad8c74a1ffb0b7
 DIST cppgir-2.0_p20260109.tar.bz2 160502 BLAKE2B 
3b4a0ca041001388e5b3b266a01ecaa405ef017102c327842a2673e9876451b45e4fdd6d03bfafbc0de6f9761423f423178c80ea71c10ba6bcb8c0cef5fe2a84
 SHA512 
7fbce18ec9c3794bf12ef2edeed18d1f5a972519c931bbd0b2d53405286c56f14811286ee7be6758f81de4c3c0d43f7c73c9778923c5bd181f43bcf2d77d2a65
+DIST cppgir-2.0_p20260226.tar.bz2 160619 BLAKE2B 
ce8d2a3155b3740aad71729c428abfc3b4f872e06d64abd33c725b8f50f26447adf3c8615419b83f3130e9fa7b42ac9aed18c2110cd729cd326d4ff7e42c8580
 SHA512 
259d3a0f0c6ced89882e95e7c98fb984943fb1884a5ed2bcfc65cc3095d88a4d5ad137ac25f7e052d592fc33e87825d7e2ed4275eb79c4f85214141ba4d525c7

diff --git a/dev-cpp/cppgir/cppgir-2.0_p20260226.ebuild 
b/dev-cpp/cppgir/cppgir-2.0_p20260226.ebuild
new file mode 100644
index 000000000000..3c2efae9e031
--- /dev/null
+++ b/dev-cpp/cppgir/cppgir-2.0_p20260226.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2026 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="47cf94f83b54cda59018135601e19d7fb0c77776"
+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
+}

Reply via email to