Gentoo Archives: gentoo-commits

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