1 |
commit: a5578ea112d3a0574b46f7e43972edca230e66c5 |
2 |
Author: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun May 27 11:00:31 2018 +0000 |
4 |
Commit: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun May 27 12:47:01 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/gnome.git/commit/?id=a5578ea1 |
7 |
|
8 |
dev-util/devhelp: 3.24.0 → 3.26.1 |
9 |
|
10 |
Various UI changes. Important code refactoing. Improved API |
11 |
documentation. |
12 |
|
13 |
Package-Manager: Portage-2.3.40, Repoman-2.3.9 |
14 |
Manifest-Sign-Key: 0x5A56C8CD0C13248A |
15 |
|
16 |
dev-util/devhelp/devhelp-3.26.1.ebuild | 68 ++++++++++++++++++++++++++++++++++ |
17 |
dev-util/devhelp/metadata.xml | 11 ++++++ |
18 |
2 files changed, 79 insertions(+) |
19 |
|
20 |
diff --git a/dev-util/devhelp/devhelp-3.26.1.ebuild b/dev-util/devhelp/devhelp-3.26.1.ebuild |
21 |
new file mode 100644 |
22 |
index 00000000..092f711b |
23 |
--- /dev/null |
24 |
+++ b/dev-util/devhelp/devhelp-3.26.1.ebuild |
25 |
@@ -0,0 +1,68 @@ |
26 |
+# Copyright 1999-2018 Gentoo Foundation |
27 |
+# Distributed under the terms of the GNU General Public License v2 |
28 |
+ |
29 |
+EAPI=6 |
30 |
+# gedit-3.8 is python3 only, this also per: |
31 |
+# https://bugzilla.redhat.com/show_bug.cgi?id=979450 |
32 |
+PYTHON_COMPAT=( python{3_4,3_5,3_6} ) |
33 |
+ |
34 |
+inherit gnome2 python-single-r1 toolchain-funcs |
35 |
+ |
36 |
+DESCRIPTION="An API documentation browser for GNOME" |
37 |
+HOMEPAGE="https://wiki.gnome.org/Apps/Devhelp" |
38 |
+ |
39 |
+LICENSE="GPL-2+" |
40 |
+SLOT="0/3-4" # subslot = 3-(libdevhelp-3 soname version) |
41 |
+KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd" |
42 |
+IUSE="gedit +introspection" |
43 |
+REQUIRED_USE="gedit? ( ${PYTHON_REQUIRED_USE} )" |
44 |
+ |
45 |
+COMMON_DEPEND=" |
46 |
+ >=dev-libs/glib-2.38:2[dbus] |
47 |
+ >=x11-libs/gtk+-3.22:3 |
48 |
+ >=net-libs/webkit-gtk-2.6.0:4 |
49 |
+ gnome-base/gsettings-desktop-schemas |
50 |
+ introspection? ( >=dev-libs/gobject-introspection-1.30:= ) |
51 |
+" |
52 |
+RDEPEND="${COMMON_DEPEND} |
53 |
+ gedit? ( |
54 |
+ ${PYTHON_DEPS} |
55 |
+ app-editors/gedit[introspection,python,${PYTHON_USEDEP}] |
56 |
+ dev-python/pygobject:3[${PYTHON_USEDEP}] |
57 |
+ x11-libs/gtk+[introspection] ) |
58 |
+" |
59 |
+# libxml2+gdk-pixbuf required for glib-compile-resources |
60 |
+DEPEND="${COMMON_DEPEND} |
61 |
+ ${PYTHON_DEPS} |
62 |
+ dev-libs/libxml2 |
63 |
+ >=dev-util/gtk-doc-am-1.25 |
64 |
+ >=sys-devel/gettext-0.19.7 |
65 |
+ virtual/pkgconfig |
66 |
+ x11-libs/gdk-pixbuf:2 |
67 |
+" |
68 |
+# eautoreconf requires: |
69 |
+# dev-libs/appstream-glib |
70 |
+# sys-devel/autoconf-archive |
71 |
+ |
72 |
+pkg_setup() { |
73 |
+ use gedit && python-single-r1_pkg_setup |
74 |
+} |
75 |
+ |
76 |
+src_prepare() { |
77 |
+ if ! use gedit ; then |
78 |
+ sed -e '/SUBDIRS/ s/gedit-plugin//' -i misc/Makefile.{am,in} || die |
79 |
+ fi |
80 |
+ |
81 |
+ gnome2_src_prepare |
82 |
+} |
83 |
+ |
84 |
+src_configure() { |
85 |
+ local myconf="" |
86 |
+ # ICC is crazy, silence warnings (bug #154010) |
87 |
+ if [[ $(tc-getCC) == "icc" ]] ; then |
88 |
+ myconf="--with-compile-warnings=no" |
89 |
+ fi |
90 |
+ gnome2_src_configure \ |
91 |
+ $(use_enable introspection) \ |
92 |
+ ${myconf} |
93 |
+} |
94 |
|
95 |
diff --git a/dev-util/devhelp/metadata.xml b/dev-util/devhelp/metadata.xml |
96 |
new file mode 100644 |
97 |
index 00000000..04f1a3c9 |
98 |
--- /dev/null |
99 |
+++ b/dev-util/devhelp/metadata.xml |
100 |
@@ -0,0 +1,11 @@ |
101 |
+<?xml version="1.0" encoding="UTF-8"?> |
102 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
103 |
+<pkgmetadata> |
104 |
+<maintainer type="project"> |
105 |
+ <email>gnome@g.o</email> |
106 |
+ <name>Gentoo GNOME Desktop</name> |
107 |
+</maintainer> |
108 |
+<use> |
109 |
+ <flag name="gedit">Install plugin for <pkg>app-editors/gedit</pkg></flag> |
110 |
+</use> |
111 |
+</pkgmetadata> |