summaryrefslogtreecommitdiff
path: root/dev-libs/libgit2-glib
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-07-19 14:39:08 +0100
committerV3n3RiX <venerix@koprulu.sector>2022-07-19 14:39:08 +0100
commitfc7e841956ae3cc385629bf33433de23a6d04db6 (patch)
tree48882d11ff725a7df862343487d339fdaae1c604 /dev-libs/libgit2-glib
parentdbb637a643576bbb9286907cd6c73e3cda3ca1f6 (diff)
gentoo auto-resync : 19:07:2022 - 14:39:08
Diffstat (limited to 'dev-libs/libgit2-glib')
-rw-r--r--dev-libs/libgit2-glib/Manifest2
-rw-r--r--dev-libs/libgit2-glib/libgit2-glib-1.1.0.ebuild62
2 files changed, 64 insertions, 0 deletions
diff --git a/dev-libs/libgit2-glib/Manifest b/dev-libs/libgit2-glib/Manifest
index 677b42af11b4..7e5ac98b9a71 100644
--- a/dev-libs/libgit2-glib/Manifest
+++ b/dev-libs/libgit2-glib/Manifest
@@ -1,3 +1,5 @@
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
EBUILD libgit2-glib-1.0.0.1.ebuild 1253 BLAKE2B 69db594f58807be22ad29aceed690eb17f96387403ade7577de007238556f1aa172cf380b874aee29e23c416e2924ea80ffdd3a0b1682f400b06ecfdabc2e4e6 SHA512 551dd9264d1f2a3e052b4dfe3bd829b136b1ecd20a0b4fb40256a6d47dbabd32f80027e853c64c3ae31b379c369020076cea073046685dcfe42914dec9720313
+EBUILD libgit2-glib-1.1.0.ebuild 1221 BLAKE2B 1be260039fe29829be4e5ffb0db065c9842a905bc3a7df585b86801bf750094cd9f96ff1452fbb01f53c9cf4129d94c1e791a48a5dd0587036c3169a6cdc299e SHA512 273f1dc0bbeb7645dd00c587f66455e1a9ef0f6a2de645e5ddf8acc395c045510d41f9fe9257cd357c0ee2cb419b5f348eae0f4a1b7800231b2c011e756f409a
MISC metadata.xml 432 BLAKE2B 69d6aa326333089515925cd4c8cc5c2d86318cbe148349f2e2f1554afd8c659a5ce3aed28ad02562d8552317bb010f866e10e3793e47f5a7a5c82d11d8702e51 SHA512 bf228fa30f58c6d860b7648eb40e841c72398390539980fd48e35860f6874e141c3b81c373ee3ca1cb8bbbde5dec36a94c5381b102e1ec33e91962455d9fa8ee
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
+}