summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexandre Rostovtsev <tetromino@gentoo.org>2016-04-05 00:32:47 -0400
committerAlexandre Rostovtsev <tetromino@gentoo.org>2016-04-05 00:32:47 -0400
commita9a91c3a39d23ba34203fe4bebc72310a53079e3 (patch)
tree8c586a4782e8120353c837aacfa7443b2f05341b
parentgames-util/pyfa: bump to 1.20.1 for March 2016 1.3 release (diff)
downloadgentoo-a9a91c3a39d23ba34203fe4bebc72310a53079e3.tar.gz
gentoo-a9a91c3a39d23ba34203fe4bebc72310a53079e3.tar.bz2
gentoo-a9a91c3a39d23ba34203fe4bebc72310a53079e3.zip
dev-libs/libgit2-glib: bump to 0.24.0 for libgit-0.24 support
Package-Manager: portage-2.2.28
-rw-r--r--dev-libs/libgit2-glib/Manifest1
-rw-r--r--dev-libs/libgit2-glib/libgit2-glib-0.24.0.ebuild49
2 files changed, 50 insertions, 0 deletions
diff --git a/dev-libs/libgit2-glib/Manifest b/dev-libs/libgit2-glib/Manifest
index d60acf4c2fa..fbd498a1252 100644
--- a/dev-libs/libgit2-glib/Manifest
+++ b/dev-libs/libgit2-glib/Manifest
@@ -1,2 +1,3 @@
DIST libgit2-glib-0.22.8.tar.xz 429300 SHA256 05c9453b195f1af0df2a5d8bc71472c9fb26d14bb8fbb5b688ad1b8ef7a30959 SHA512 caa0076127cd846b31bc9d341ecb0a07b0a4e960b16387b241f1e322627d304636bf59c34a657675444a7a5be66ab645416be0be14cc0e841078f5ce2ac7c9fd WHIRLPOOL 831b57d9da81c5fb3e5ad06a6e7080b1570e2b215eb193a3704cb4b7caa2e361c3290e0b15ab3d27ecc4402756e9d1cd4e8db0da0ea4cd119eafefe32a987213
DIST libgit2-glib-0.23.10.tar.xz 450552 SHA256 398ea6ff5fb1eafa61f2908da5ff8722dc051a2081be6cbed76a2ab07ecab1af SHA512 bf85ca562bb1e00fb65d499d133daaa9deeb8abe37e1caa33148c469e91f43f685c222fe976985b4a5e9cef4ebaec9e92d90d5a87287f0c6012f798ed9755a07 WHIRLPOOL 91d55e52c507a80d28f110f7feb183dd046db4389732ff4a68996156ef2a04e956c71ef485c36c9b8f945208f699bed883d5c914eb8e53db1301c7e9b59eb1f1
+DIST libgit2-glib-0.24.0.tar.xz 456724 SHA256 d616c268821c28ff8dc1a6419dbf8555fa48e31dc6509c10f5151be7690f4845 SHA512 d613fc1aa17543500c448a6d0d90f7e0c17bacd1cced4a9d7a126fb1ebf96981fe9613b96cea397e7cfe46c2bb17b4c9de0535e5985f682bcb388fe5dd4dcc0a WHIRLPOOL f827845587794904d603527d82d6b10ae226e9e4709695b2e00cb1b640eb1d34c7751e5e5d78d59d694cf9696c4cd95bcc246e346524d114f846ae836d2ce987
diff --git a/dev-libs/libgit2-glib/libgit2-glib-0.24.0.ebuild b/dev-libs/libgit2-glib/libgit2-glib-0.24.0.ebuild
new file mode 100644
index 00000000000..b4c257ba2a8
--- /dev/null
+++ b/dev-libs/libgit2-glib/libgit2-glib-0.24.0.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+GCONF_DEBUG="no"
+PYTHON_COMPAT=( python{3_3,3_4,3_5} )
+VALA_USE_DEPEND="vapigen"
+
+inherit eutils gnome2 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} )"
+
+# Specify libgit2 dependency with subslot because libgit2 upstream has a habit
+# of changing their API in each release in ways that break libgit2-glib
+RDEPEND="
+ >=dev-libs/libgit2-0.24.0:0/24
+ >=dev-libs/glib-2.44.0:2
+ >=dev-libs/gobject-introspection-0.10.1:=
+ python? (
+ ${PYTHON_DEPS}
+ dev-python/pygobject:3[${PYTHON_USEDEP}] )
+ ssh? ( dev-libs/libgit2[ssh] )
+"
+DEPEND="${RDEPEND}
+ >=dev-util/gtk-doc-am-1.11
+ virtual/pkgconfig
+ vala? ( $(vala_depend) )
+"
+
+src_prepare() {
+ use vala && vala_src_prepare
+ gnome2_src_prepare
+}
+
+src_configure() {
+ gnome2_src_configure \
+ $(use_enable python) \
+ $(use_enable ssh) \
+ $(use_enable vala)
+}