diff options
author | Michał Górny <mgorny@gentoo.org> | 2022-07-19 09:24:28 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2022-07-19 09:43:22 +0200 |
commit | b98ea459519a62eeaceebb47cab9464f51e30085 (patch) | |
tree | e694c9890143b8890e8de683a61ffdcd0ec55d4f /dev-libs/libgit2-glib | |
parent | sci-geosciences/josm-bin: stabilize 18463 for amd64, x86 (diff) | |
download | gentoo-b98ea459519a62eeaceebb47cab9464f51e30085.tar.gz gentoo-b98ea459519a62eeaceebb47cab9464f51e30085.tar.bz2 gentoo-b98ea459519a62eeaceebb47cab9464f51e30085.zip |
dev-libs/libgit2-glib: Bump to 1.1.0
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-libs/libgit2-glib')
-rw-r--r-- | dev-libs/libgit2-glib/Manifest | 1 | ||||
-rw-r--r-- | dev-libs/libgit2-glib/libgit2-glib-1.1.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 358ae576cfbf..51e83c96be97 100644 --- a/dev-libs/libgit2-glib/Manifest +++ b/dev-libs/libgit2-glib/Manifest @@ -1 +1,2 @@ DIST libgit2-glib-1.0.0.1.tar.xz 141664 BLAKE2B a99ad6db55d0d4bee4d7d96b92e92d12712843e41e25e5ab57f5722926fe3e95109a33654d0ab94b7f919bd5d51a0b159dcae720eee763200c964d0327b8a37d SHA512 8e156791783f79d585fa83267a5e14a4a93324fcca75e836478ddd5b5c53d9e827b07a3738c67116478435613639aab0992f32413b9a4de5fc4ff641dd042e80 +DIST libgit2-glib-1.1.0.tar.xz 140128 BLAKE2B e1e87fca17ec801059245c5687399f48886450f7ca7ea948f2179fed383543dec1b18b78abc3ec5581f570b488a166e1e03e99201385698877075be8b3205dbe SHA512 5e493b85a2bcbfea2a291e6dd243ee6948a31e7305c96c0bf04a750114de6ba3a06b435502eeae09bc1b91d34d5174e27bd4171fe969f1b376e820f82a3b5e1d diff --git a/dev-libs/libgit2-glib/libgit2-glib-1.1.0.ebuild b/dev-libs/libgit2-glib/libgit2-glib-1.1.0.ebuild new file mode 100644 index 000000000000..4279ac703ab6 --- /dev/null +++ b/dev-libs/libgit2-glib/libgit2-glib-1.1.0.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..10} ) +VALA_USE_DEPEND="vapigen" + +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/gtk-doc + app-text/docbook-xml-dtd:4.1.2 + ) + vala? ( + $(vala_depend) + ) +" + +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 +} |