Gentoo Archives: gentoo-commits

From: Gilles Dartiguelongue <eva@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/gnome:master commit in: dev-util/devhelp/
Date: Sun, 01 Dec 2013 23:19:05
Message-Id: 1385935426.60ea023e1f626aa8e4e35042d93c55dda20aecf8.eva@gentoo
1 commit: 60ea023e1f626aa8e4e35042d93c55dda20aecf8
2 Author: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org>
3 AuthorDate: Sun Oct 13 16:25:41 2013 +0000
4 Commit: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org>
5 CommitDate: Sun Dec 1 22:03:46 2013 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/gnome.git;a=commit;h=60ea023e
7
8 dev-util/devhelp: 3.8.2 → 3.10.2
9
10 ---
11 dev-util/devhelp/devhelp-3.10.2.ebuild | 60 ++++++++++++++++++++++++++++++++++
12 1 file changed, 60 insertions(+)
13
14 diff --git a/dev-util/devhelp/devhelp-3.10.2.ebuild b/dev-util/devhelp/devhelp-3.10.2.ebuild
15 new file mode 100644
16 index 0000000..9191779
17 --- /dev/null
18 +++ b/dev-util/devhelp/devhelp-3.10.2.ebuild
19 @@ -0,0 +1,60 @@
20 +# Copyright 1999-2013 Gentoo Foundation
21 +# Distributed under the terms of the GNU General Public License v2
22 +# $Header: $
23 +
24 +EAPI="5"
25 +GCONF_DEBUG="no"
26 +# gedit-3.8 is python3 only, this also per:
27 +# https://bugzilla.redhat.com/show_bug.cgi?id=979450
28 +PYTHON_COMPAT=( python{3_2,3_3} )
29 +
30 +inherit gnome2 python-single-r1 toolchain-funcs
31 +
32 +DESCRIPTION="An API documentation browser for GNOME"
33 +HOMEPAGE="http://live.gnome.org/devhelp"
34 +
35 +LICENSE="GPL-2+"
36 +SLOT="0/3-1" # subslot = 3-(libdevhelp-3 soname version)
37 +KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd"
38 +IUSE="gedit"
39 +REQUIRED_USE="gedit? ( ${PYTHON_REQUIRED_USE} )"
40 +
41 +# FIXME: automagic python dependency
42 +COMMON_DEPEND="
43 + >=dev-libs/glib-2.37.3:2
44 + >=x11-libs/gtk+-3.9.8:3
45 + >=net-libs/webkit-gtk-2:3
46 +"
47 +RDEPEND="${COMMON_DEPEND}
48 + gedit? (
49 + ${PYTHON_DEPS}
50 + app-editors/gedit[introspection,python,${PYTHON_USEDEP}]
51 + dev-python/pygobject:3[${PYTHON_USEDEP}]
52 + x11-libs/gtk+[introspection] )
53 + gnome-base/gsettings-desktop-schemas
54 +"
55 +DEPEND="${COMMON_DEPEND}
56 + ${PYTHON_DEPS}
57 + >=dev-util/intltool-0.40
58 + virtual/pkgconfig
59 +"
60 +pkg_setup() {
61 + use gedit && python-single-r1_pkg_setup
62 +}
63 +
64 +src_prepare() {
65 + if ! use gedit ; then
66 + sed -e '/SUBDIRS/ s/gedit-plugin//' -i misc/Makefile.{am,in} || die
67 + fi
68 +
69 + gnome2_src_prepare
70 +}
71 +
72 +src_configure() {
73 + local myconf=""
74 + # ICC is crazy, silence warnings (bug #154010)
75 + if [[ $(tc-getCC) == "icc" ]] ; then
76 + myconf="--with-compile-warnings=no"
77 + fi
78 + gnome2_src_configure ${myconf}
79 +}