From 7a36a65c987a298331a241fb01e229665e4983cd Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Tue, 9 Apr 2024 06:31:10 +0100 Subject: gentoo auto-resync : 09:04:2024 - 06:31:10 --- dev-cpp/cppgir/cppgir-2.0_p20240315.ebuild | 46 ++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 dev-cpp/cppgir/cppgir-2.0_p20240315.ebuild (limited to 'dev-cpp/cppgir/cppgir-2.0_p20240315.ebuild') diff --git a/dev-cpp/cppgir/cppgir-2.0_p20240315.ebuild b/dev-cpp/cppgir/cppgir-2.0_p20240315.ebuild new file mode 100644 index 000000000000..8f7f7db42bab --- /dev/null +++ b/dev-cpp/cppgir/cppgir-2.0_p20240315.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2024 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="1cde1aaa0696ab7989f512abdb0694614ffe8d87" +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 +} -- cgit v1.2.3