summaryrefslogtreecommitdiff
path: root/dev-cpp/cppgir/cppgir-0_p20230701.ebuild
diff options
context:
space:
mode:
authorEsteve Varela Colominas <esteve.varela@gmail.com>2023-07-24 18:23:01 +0200
committerSam James <sam@gentoo.org>2023-07-26 04:11:48 +0100
commitb539c19ccd0861d38b83bc7dfc65bac6619da89a (patch)
tree2569bb45bb66aa39f4a0425f90a1dd69d10ce091 /dev-cpp/cppgir/cppgir-0_p20230701.ebuild
parent10c3fc41ee47042f6f3d16198e3fe178ec1d7752 (diff)
downloadgentoo-b539c19ccd0861d38b83bc7dfc65bac6619da89a.tar.gz
gentoo-b539c19ccd0861d38b83bc7dfc65bac6619da89a.tar.bz2
gentoo-b539c19ccd0861d38b83bc7dfc65bac6619da89a.zip
dev-cpp/cppgir: Bump to 0_p20230701
Upstreamed all patches for realsies this time. Signed-off-by: Esteve Varela Colominas <esteve.varela@gmail.com> Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-cpp/cppgir/cppgir-0_p20230701.ebuild')
-rw-r--r--dev-cpp/cppgir/cppgir-0_p20230701.ebuild46
1 files changed, 46 insertions, 0 deletions
diff --git a/dev-cpp/cppgir/cppgir-0_p20230701.ebuild b/dev-cpp/cppgir/cppgir-0_p20230701.ebuild
new file mode 100644
index 000000000000..dccf44596ee6
--- /dev/null
+++ b/dev-cpp/cppgir/cppgir-0_p20230701.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2023 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="ada922a260479da27c989e39ed47e17a36cc2969"
+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 ~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
+}