Gentoo Archives: gentoo-commits

From: Gilles Dartiguelongue <eva@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-vcs/gitg/
Date: Mon, 05 Sep 2016 22:38:02
Message-Id: 1473114350.c68523d16fd225a885c2f585ab7d9586a4e34648.eva@gentoo
1 commit: c68523d16fd225a885c2f585ab7d9586a4e34648
2 Author: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org>
3 AuthorDate: Mon Sep 5 21:48:46 2016 +0000
4 Commit: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org>
5 CommitDate: Mon Sep 5 22:25:50 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c68523d1
7
8 dev-vcs/gitg: version bump to 3.20.2
9
10 Package-Manager: portage-2.3.0
11
12 dev-vcs/gitg/Manifest | 1 +
13 dev-vcs/gitg/gitg-3.20.2.ebuild | 83 +++++++++++++++++++++++++++++++++++++++++
14 2 files changed, 84 insertions(+)
15
16 diff --git a/dev-vcs/gitg/Manifest b/dev-vcs/gitg/Manifest
17 index 53a4b0c..13f373c 100644
18 --- a/dev-vcs/gitg/Manifest
19 +++ b/dev-vcs/gitg/Manifest
20 @@ -1,2 +1,3 @@
21 DIST gitg-3.18.0.tar.xz 1413188 SHA256 fa4b7b9c492f13f5f1d864af1281ea377ac8c7619c856e05f533b18989edf421 SHA512 df6944df057d6863ec6a551749edf4d003bf9954c474b0d83ef1476747df210f1e7ead4d007dce06de6f84e25afcafb8aa4f61d8af703861c014c4189cf008d0 WHIRLPOOL 4a27708999e33a533988d62e94a2ad2ee6424184d9862e79bd5dd4a1033e38505672f407f492d9831465249cae68b20a112de6d5737286d28d6d952793c33265
22 DIST gitg-3.20.1.tar.xz 1643492 SHA256 104420bcdd765fa2196a7b146ba1e0fa82a5686ed5ba9af40e31e88e601aa585 SHA512 e6ebf6ffb0ce05a23bd99114abb03332a03a40d37cadd118d342db347f69095cc64e983e092199d6125f7513b7535df117bf611470e1a6a36c6cc203f6659a20 WHIRLPOOL dbe97a0a9a66ad695fa42c55f283a2326503f8ad1cd901b6e3dd0ed95c9fbabc99cc8b3f926baed15a5b075e2734c4551812a03baca2f8ed1cb8e19f34be0ef8
23 +DIST gitg-3.20.2.tar.xz 1491092 SHA256 76cb421bbc5c1e57d4f58f9e63c7b77ed229cadc96c7de4296db60c46ee7d71b SHA512 4a63c74ed3ff9cf2ab95ed74df25ac572c55b5c1f4d5ad9e0d0c7faeba06b66b4b2a4cce200bce68c697995fd3e59a5ca9adbfe5a4bfc43cdfa5f5a2a4e39588 WHIRLPOOL 79d05f55a1da9623ae8496f1fc5ddd5a8729c41014ef6f4c5f6cccfa4310895fa469d2e942e54fb96fefe45721dee8d1de12ad14a0a22a2c3ca41c528c1f6729
24
25 diff --git a/dev-vcs/gitg/gitg-3.20.2.ebuild b/dev-vcs/gitg/gitg-3.20.2.ebuild
26 new file mode 100644
27 index 00000000..66b86db
28 --- /dev/null
29 +++ b/dev-vcs/gitg/gitg-3.20.2.ebuild
30 @@ -0,0 +1,83 @@
31 +# Copyright 1999-2016 Gentoo Foundation
32 +# Distributed under the terms of the GNU General Public License v2
33 +# $Id$
34 +
35 +EAPI=6
36 +GNOME2_LA_PUNT="yes"
37 +PYTHON_COMPAT=( python{3_3,3_4,3_5} )
38 +VALA_MIN_API_VERSION="0.32" # Needed when gtk+-3.20 is found
39 +
40 +inherit gnome2 pax-utils python-r1 vala
41 +
42 +DESCRIPTION="git repository viewer for GNOME"
43 +HOMEPAGE="https://wiki.gnome.org/Apps/Gitg"
44 +
45 +LICENSE="|| ( GPL-2 GPL-3 )"
46 +SLOT="0"
47 +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
48 +
49 +IUSE="debug glade +python"
50 +REQUIRED_USE="python? ( ^^ ( $(python_gen_useflags '*') ) )"
51 +
52 +# test if unbundling of libgd is possible
53 +# Currently it seems not to be (unstable API/ABI)
54 +RDEPEND="
55 + app-crypt/libsecret
56 + dev-libs/libgee:0.8[introspection]
57 + >=app-text/gtkspell-3.0.3:3
58 + >=dev-libs/glib-2.38:2[dbus]
59 + >=dev-libs/gobject-introspection-0.10.1:=
60 + dev-libs/libgit2:=[threads]
61 +
62 + >=dev-libs/libgit2-glib-0.24.0[ssh]
63 + <dev-libs/libgit2-glib-0.25.0
64 +
65 + >=dev-libs/libpeas-1.5.0[gtk]
66 + >=dev-libs/libxml2-2.9.0:2
67 + net-libs/libsoup:2.4
68 + >=gnome-base/gsettings-desktop-schemas-0.1.1
69 + >=x11-libs/gtk+-3.20.0:3
70 + >=x11-libs/gtksourceview-3.10:3.0
71 + x11-themes/adwaita-icon-theme
72 + glade? ( >=dev-util/glade-3.2:3.10 )
73 + python? (
74 + ${PYTHON_DEPS}
75 + dev-libs/libpeas[python,${PYTHON_USEDEP}]
76 + dev-python/pygobject:3[${PYTHON_USEDEP}]
77 + )
78 +"
79 +DEPEND="${RDEPEND}
80 + $(vala_depend)
81 + >=dev-libs/libgit2-glib-0.22.0[vala]
82 + gnome-base/gnome-common
83 + >=sys-devel/gettext-0.17
84 + virtual/pkgconfig
85 + >=dev-util/intltool-0.40
86 +"
87 +
88 +pkg_setup() {
89 + use python && [[ ${MERGE_TYPE} != binary ]] && python_setup
90 +}
91 +
92 +src_prepare() {
93 + sed \
94 + -e '/CFLAGS/s:-g::g' \
95 + -e '/CFLAGS/s:-O0::g' \
96 + -i configure.ac || die
97 +
98 + gnome2_src_prepare
99 + vala_src_prepare
100 +}
101 +
102 +src_configure() {
103 + gnome2_src_configure \
104 + --disable-static \
105 + --disable-deprecations \
106 + $(use_enable debug) \
107 + $(use_enable glade glade-catalog) \
108 + $(use_enable python)
109 +}
110 +
111 +src_install() {
112 + gnome2_src_install -j1
113 +}