From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 90DC1138334 for ; Sun, 4 Nov 2018 08:34:01 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7A5D5E0B64; Sun, 4 Nov 2018 08:34:00 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 3DCD4E0B64 for ; Sun, 4 Nov 2018 08:34:00 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id E7556335C5A for ; Sun, 4 Nov 2018 08:33:57 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 2EAE443E for ; Sun, 4 Nov 2018 08:33:56 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1541320421.c294bde245b95141e77b9f7ae2b5db0b6939b7a4.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/libgit2-glib/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/libgit2-glib/Manifest dev-libs/libgit2-glib/libgit2-glib-0.27.7.ebuild X-VCS-Directories: dev-libs/libgit2-glib/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: c294bde245b95141e77b9f7ae2b5db0b6939b7a4 X-VCS-Branch: master Date: Sun, 4 Nov 2018 08:33:56 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: c06aa583-f418-4938-b11e-8ef6f71fa393 X-Archives-Hash: 2b58b93bb8397b207a1c07c60485b93b commit: c294bde245b95141e77b9f7ae2b5db0b6939b7a4 Author: Michał Górny gentoo org> AuthorDate: Sun Nov 4 08:07:42 2018 +0000 Commit: Michał Górny gentoo org> CommitDate: Sun Nov 4 08:33:41 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c294bde2 dev-libs/libgit2-glib: Bump to 0.27.7 The new version introduces libgit2-0.27.* support (without dumping 0.26* compatibility) and apparently fixed pkg-config file. The current version of gitg would probably work just fine if not for enforced libgit2-glib version constraint. Signed-off-by: Michał Górny gentoo.org> dev-libs/libgit2-glib/Manifest | 1 + dev-libs/libgit2-glib/libgit2-glib-0.27.7.ebuild | 60 ++++++++++++++++++++++++ 2 files changed, 61 insertions(+) diff --git a/dev-libs/libgit2-glib/Manifest b/dev-libs/libgit2-glib/Manifest index c393ca48882..cf4843f330b 100644 --- a/dev-libs/libgit2-glib/Manifest +++ b/dev-libs/libgit2-glib/Manifest @@ -1,2 +1,3 @@ DIST libgit2-glib-0.26.2.tar.xz 421956 BLAKE2B d38698f00d85b484d17078e78ad051a4c068b87df73fcf4d7b852dc6966628580cc4e5b3899a6edd5dc29fb47ef97ebe2c458992701b7642549f3e411d917dc5 SHA512 35fb3ec7a3757212f53cc884760f69725beff8462018b8e716fad389ba57d1acba99ece0fcd148ff40dc63e1fc7e7d566fe84759bd88d3a0ff9fdf970b0a5563 DIST libgit2-glib-0.26.4.tar.xz 138492 BLAKE2B 725c14076fb940186faac079cff1ea87c456ed41e943ae95a4a674632c1be261ab6d4d5bcb5c0800bbde5d86c1ff3095d59045a2fda1342a1cf5c691a2b424aa SHA512 9eb78f292583862890ca0cd27d7621da2f8f633a76f4679f897ce6cf9e06b64a3cb7b0ddda39d231d21d3faa830fe1a9a9326b4abd420df8356d50a734360b37 +DIST libgit2-glib-0.27.7.tar.xz 137784 BLAKE2B c27511045e81c2bc1dbf0793ae9630358bb13c3fcbb317ccad861e5796772c120895ab6e3dafe7fedc78406d0cd4bd31aee6cb022921ef28bcd45b72f22bdd04 SHA512 33bf9401dd96cc700d0365e51dfa5c81be3930f1ad01d16d878a27efd7e03bb089a23b6db6af500bc20903e6178300ac79fa4e8edfca29e8222aaa2cd3dab63b diff --git a/dev-libs/libgit2-glib/libgit2-glib-0.27.7.ebuild b/dev-libs/libgit2-glib/libgit2-glib-0.27.7.ebuild new file mode 100644 index 00000000000..ab9ce311746 --- /dev/null +++ b/dev-libs/libgit2-glib/libgit2-glib-0.27.7.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +PYTHON_COMPAT=( python{3_4,3_5,3_6,3_7} ) +VALA_USE_DEPEND="vapigen" + +inherit gnome.org meson python-r1 vala + +DESCRIPTION="Git library for GLib" +HOMEPAGE="https://wiki.gnome.org/Projects/Libgit2-glib" + +LICENSE="LGPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="python +ssh +vala" +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" + +# libgit2-glib is now compatible with SONAME 26 and 27 of libgit2. +RDEPEND=" + >=dev-libs/gobject-introspection-0.10.1:= + >=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} + dev-util/glib-utils + virtual/pkgconfig + vala? ( $(vala_depend) ) +" + +src_prepare() { + default + use vala && vala_src_prepare +} + +src_configure() { + local emesonargs=( + # apparently broken; fails to build + -Dgtk_doc=false + # we install python scripts manually + -Dpython=false + -Dssh=$(usex ssh true false) + -Dvapi=$(usex vala true false) + ) + + 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 +}