From 29aabba0ea759c6a2864ff5631735b67ee38e5e0 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 5 Feb 2020 18:44:56 +0000 Subject: gentoo resync : 05.02.2020 --- dev-libs/libgit2-glib/Manifest | 1 + .../libgit2-glib/libgit2-glib-0.28.0.1-r1.ebuild | 62 ++++++++++++++++++++++ 2 files changed, 63 insertions(+) create mode 100644 dev-libs/libgit2-glib/libgit2-glib-0.28.0.1-r1.ebuild (limited to 'dev-libs/libgit2-glib') diff --git a/dev-libs/libgit2-glib/Manifest b/dev-libs/libgit2-glib/Manifest index df98e46470b9..6b51c1328e68 100644 --- a/dev-libs/libgit2-glib/Manifest +++ b/dev-libs/libgit2-glib/Manifest @@ -1,3 +1,4 @@ DIST libgit2-glib-0.28.0.1.tar.xz 138928 BLAKE2B 708523bb5a723f59e51501675c046da072bcdf18b3ded94920ce9eb181854780d6b44759531c8e949199a889578515994299facd14d10a07958019f6af0b6aba SHA512 6ae88bb56052461a9531016140edbd8517db8d5c0e5c217b4e8918ffef70b92652e4a95493c4290112068d0b793bff2b894f136b79929924fb7347926e3a8f51 +EBUILD libgit2-glib-0.28.0.1-r1.ebuild 1327 BLAKE2B a7c182d2f1d5fad28b81bbbddade798e41f5a4a555b86c505819833024971e744b06a2901d67862e3feb62201e9fd077a7f470cdc137a36df333f881d12750ea SHA512 1e9cf655d40b85038309cfc2d943e0e1a0f6a83ba796ca3a92e8ab6a4d03e17ccd73d3e959006d32767aa4ae7b93e8baf43ca0f9db8278f602f770cbf43ada0f EBUILD libgit2-glib-0.28.0.1.ebuild 1256 BLAKE2B 7246cecc6ae927178611caab2ade6d38a954b041f55c4486e62b2846ad7978a9ce7ebfac2f6b49feb53f771e48813bef38a3a1bcf7b8b31b28ece90ceceb4019 SHA512 b330da636839cc73691f0a33c778dd37c3d9318e470ce90210333235601c030ccac76b81914c02ea4291649392cd52607003aeae1b4b8dafb1e519cf2e21e600 MISC metadata.xml 431 BLAKE2B b9cd78ab798b15be24933f218649464c25a768b6fda11d29190a18d49d2d5b2011555ee047a6b6d14df94cde89dd6bd83a85cf525215ff84ccaa2c8b5d64bbc4 SHA512 7ec17f350ff55331f7c502957be11244f629201769446e9900660f1573872a4425036feee58a9c82f05ed16d7e36820719818b7cf29bff4c37ab944c4c19c970 diff --git a/dev-libs/libgit2-glib/libgit2-glib-0.28.0.1-r1.ebuild b/dev-libs/libgit2-glib/libgit2-glib-0.28.0.1-r1.ebuild new file mode 100644 index 000000000000..7c5113f4ed2d --- /dev/null +++ b/dev-libs/libgit2-glib/libgit2-glib-0.28.0.1-r1.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +PYTHON_COMPAT=( python{3_6,3_7} ) +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 ~x86" +IUSE="gtk-doc python +ssh +vala" +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" + +# libgit2-glib is now compatible with SOVERSION 26..28 of libgit2. +RDEPEND=" + >=dev-libs/gobject-introspection-1.54:= + >=dev-libs/glib-2.44.0:2 + =dev-libs/libgit2-0.26.0:0 + 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_prepare() { + xdg_src_prepare + use vala && vala_src_prepare +} + +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) + ) + + 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 +} -- cgit v1.2.3