diff options
author | Guillermo Joandet <gjoandet@gmail.com> | 2023-09-03 09:26:02 -0300 |
---|---|---|
committer | Matt Turner <mattst88@gentoo.org> | 2023-09-03 10:00:59 -0400 |
commit | fce4e69ea1925972129cd34aa26881b6964baf28 (patch) | |
tree | 6604117511017e3c252614ff03255682786bb20d | |
parent | dev-vcs/gitg: Version bump to 44 (diff) | |
download | gentoo-fce4e69ea1925972129cd34aa26881b6964baf28.tar.gz gentoo-fce4e69ea1925972129cd34aa26881b6964baf28.tar.bz2 gentoo-fce4e69ea1925972129cd34aa26881b6964baf28.zip |
dev-libs/libgit2-glib: Version bump to 1.2.0
Signed-off-by: Guillermo Joandet <gjoandet@gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/32278
Signed-off-by: Matt Turner <mattst88@gentoo.org>
-rw-r--r-- | dev-libs/libgit2-glib/Manifest | 1 | ||||
-rw-r--r-- | dev-libs/libgit2-glib/libgit2-glib-1.2.0.ebuild | 62 |
2 files changed, 63 insertions, 0 deletions
diff --git a/dev-libs/libgit2-glib/Manifest b/dev-libs/libgit2-glib/Manifest index dc4789e2c233..17d388ed886f 100644 --- a/dev-libs/libgit2-glib/Manifest +++ b/dev-libs/libgit2-glib/Manifest @@ -1 +1,2 @@ DIST libgit2-glib-1.1.0.tar.xz 140128 BLAKE2B e1e87fca17ec801059245c5687399f48886450f7ca7ea948f2179fed383543dec1b18b78abc3ec5581f570b488a166e1e03e99201385698877075be8b3205dbe SHA512 5e493b85a2bcbfea2a291e6dd243ee6948a31e7305c96c0bf04a750114de6ba3a06b435502eeae09bc1b91d34d5174e27bd4171fe969f1b376e820f82a3b5e1d +DIST libgit2-glib-1.2.0.tar.xz 140576 BLAKE2B f49f808e7f97c45d7df49d780fdf036422b794e551f2e42d934b015fb227b1cb80d5067198a5ef7ac0539460bf6c0eab74025bcf367a0aebb43518448015e22e SHA512 37004e86c663ce5fe1bd54878b908575eb9195c1012e88e39c2efdb0b6cfa1de3d2ed9754cecc1b942d001698870025c87d95856f2a0a9f2d0dba1979b07b1f8 diff --git a/dev-libs/libgit2-glib/libgit2-glib-1.2.0.ebuild b/dev-libs/libgit2-glib/libgit2-glib-1.2.0.ebuild new file mode 100644 index 000000000000..5ed7edcfdeef --- /dev/null +++ b/dev-libs/libgit2-glib/libgit2-glib-1.2.0.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..12} ) + +inherit gnome.org meson python-r1 vala xdg + +DESCRIPTION="Git library for GLib" +HOMEPAGE="https://wiki.gnome.org/Projects/Libgit2-glib" + +LICENSE="LGPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" +IUSE="gtk-doc python +ssh +vala" +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" + +RDEPEND=" + >=dev-libs/gobject-introspection-1.54:= + >=dev-libs/glib-2.44.0:2 + >=dev-libs/libgit2-0.26.0:0=[ssh?] + python? ( + ${PYTHON_DEPS} + dev-python/pygobject:3[${PYTHON_USEDEP}] + ) +" +DEPEND="${RDEPEND}" +BDEPEND=" + dev-util/glib-utils + virtual/pkgconfig + gtk-doc? ( dev-util/gi-docgen ) + vala? ( $(vala_depend) ) +" + +src_prepare() { + default + + sed -i -e '/meson_python_compile.py/d' meson.build || die +} + +src_configure() { + local emesonargs=( + $(meson_use gtk-doc gtk_doc) + -Dintrospection=true + -Dpython=false # we install python scripts manually + $(meson_use ssh) + $(meson_use vala vapi) + ) + + use vala && vala_setup + meson_src_configure +} + +src_install() { + meson_src_install + + if use python ; then + python_moduleinto gi.overrides + python_foreach_impl python_domodule libgit2-glib/Ggit.py + fi +} |