1 |
commit: 45d55d2a675a30c2f0037a106c3d22927821eb7f |
2 |
Author: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat May 26 23:21:13 2018 +0000 |
4 |
Commit: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat May 26 23:45:04 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/gnome.git/commit/?id=45d55d2a |
7 |
|
8 |
app-dicts/gnome-dictionary: 3.24.1 → 3.26.1 |
9 |
|
10 |
Switch build system to meson. libgdict is now private, droping subslot, |
11 |
gtk-doc and introspection. Debug would only switch between options that |
12 |
are not considered adequate in Gentoo right now. |
13 |
|
14 |
.../gnome-dictionary-3.26.1.ebuild | 40 ++++++++++++++++++++ |
15 |
.../gnome-dictionary/gnome-dictionary-9999.ebuild | 44 ++++++++-------------- |
16 |
2 files changed, 56 insertions(+), 28 deletions(-) |
17 |
|
18 |
diff --git a/app-dicts/gnome-dictionary/gnome-dictionary-3.26.1.ebuild b/app-dicts/gnome-dictionary/gnome-dictionary-3.26.1.ebuild |
19 |
new file mode 100644 |
20 |
index 00000000..6eea5908 |
21 |
--- /dev/null |
22 |
+++ b/app-dicts/gnome-dictionary/gnome-dictionary-3.26.1.ebuild |
23 |
@@ -0,0 +1,40 @@ |
24 |
+# Copyright 1999-2018 Gentoo Foundation |
25 |
+# Distributed under the terms of the GNU General Public License v2 |
26 |
+ |
27 |
+EAPI=6 |
28 |
+inherit gnome-meson |
29 |
+ |
30 |
+DESCRIPTION="Dictionary utility for GNOME" |
31 |
+HOMEPAGE="https://wiki.gnome.org/Apps/Dictionary" |
32 |
+ |
33 |
+LICENSE="GPL-2+ LGPL-2.1+ FDL-1.1+" |
34 |
+SLOT="0" |
35 |
+IUSE="ipv6" |
36 |
+KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux" |
37 |
+ |
38 |
+COMMON_DEPEND=" |
39 |
+ >=dev-libs/glib-2.42:2[dbus] |
40 |
+ x11-libs/cairo:= |
41 |
+ >=x11-libs/gtk+-3.21.1:3 |
42 |
+ x11-libs/pango |
43 |
+" |
44 |
+RDEPEND="${COMMON_DEPEND} |
45 |
+ gnome-base/gsettings-desktop-schemas |
46 |
+ !<gnome-extra/gnome-utils-3.4 |
47 |
+" |
48 |
+# ${PN} was part of gnome-utils before 3.4 |
49 |
+DEPEND="${COMMON_DEPEND} |
50 |
+ app-text/docbook-xsl-stylesheets |
51 |
+ dev-libs/appstream-glib |
52 |
+ dev-libs/libxslt |
53 |
+ dev-util/itstool |
54 |
+ >=dev-util/meson-0.42.0 |
55 |
+ >=sys-devel/gettext-0.17 |
56 |
+ virtual/pkgconfig |
57 |
+" |
58 |
+ |
59 |
+src_configure() { |
60 |
+ gnome-meson_src_configure \ |
61 |
+ -Dbuild_man=true \ |
62 |
+ $(meson_use ipv6 use_ipv6) |
63 |
+} |
64 |
|
65 |
diff --git a/app-dicts/gnome-dictionary/gnome-dictionary-9999.ebuild b/app-dicts/gnome-dictionary/gnome-dictionary-9999.ebuild |
66 |
index ff799821..86cf0a8a 100644 |
67 |
--- a/app-dicts/gnome-dictionary/gnome-dictionary-9999.ebuild |
68 |
+++ b/app-dicts/gnome-dictionary/gnome-dictionary-9999.ebuild |
69 |
@@ -1,31 +1,24 @@ |
70 |
-# Copyright 1999-2017 Gentoo Foundation |
71 |
+# Copyright 1999-2018 Gentoo Foundation |
72 |
# Distributed under the terms of the GNU General Public License v2 |
73 |
|
74 |
EAPI=6 |
75 |
-inherit gnome2 |
76 |
-if [[ ${PV} = 9999 ]]; then |
77 |
- inherit gnome2-live |
78 |
-fi |
79 |
+inherit gnome-meson git-r3 |
80 |
|
81 |
DESCRIPTION="Dictionary utility for GNOME" |
82 |
HOMEPAGE="https://wiki.gnome.org/Apps/Dictionary" |
83 |
+SRC_URI="" |
84 |
+EGIT_REPO_URI="https://gitlab.gnome.org/GNOME/gnome-dictionary.git" |
85 |
|
86 |
LICENSE="GPL-2+ LGPL-2.1+ FDL-1.1+" |
87 |
-SLOT="0/10" # subslot = suffix of libgdict-1.0.so |
88 |
-IUSE="debug +introspection ipv6" |
89 |
-if [[ ${PV} = 9999 ]]; then |
90 |
- IUSE="${IUSE} doc" |
91 |
- KEYWORDS="" |
92 |
-else |
93 |
- KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux" |
94 |
-fi |
95 |
+SLOT="0" |
96 |
+IUSE="ipv6" |
97 |
+KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux" |
98 |
|
99 |
COMMON_DEPEND=" |
100 |
- >=dev-libs/glib-2.39:2[dbus] |
101 |
+ >=dev-libs/glib-2.42:2[dbus] |
102 |
x11-libs/cairo:= |
103 |
- >=x11-libs/gtk+-3.20:3 |
104 |
+ >=x11-libs/gtk+-3.21.1:3 |
105 |
x11-libs/pango |
106 |
- introspection? ( >=dev-libs/gobject-introspection-1.42:= ) |
107 |
" |
108 |
RDEPEND="${COMMON_DEPEND} |
109 |
gnome-base/gsettings-desktop-schemas |
110 |
@@ -33,22 +26,17 @@ RDEPEND="${COMMON_DEPEND} |
111 |
" |
112 |
# ${PN} was part of gnome-utils before 3.4 |
113 |
DEPEND="${COMMON_DEPEND} |
114 |
- >=dev-util/gtk-doc-am-1.15 |
115 |
- >=dev-util/intltool-0.40 |
116 |
+ app-text/docbook-xsl-stylesheets |
117 |
+ dev-libs/appstream-glib |
118 |
+ dev-libs/libxslt |
119 |
dev-util/itstool |
120 |
+ >=dev-util/meson-0.42.0 |
121 |
>=sys-devel/gettext-0.17 |
122 |
virtual/pkgconfig |
123 |
" |
124 |
|
125 |
-if [[ ${PV} = 9999 ]]; then |
126 |
- DEPEND="${DEPEND} |
127 |
- app-text/yelp-tools |
128 |
- doc? ( >=dev-util/gtk-doc-1.15 )" |
129 |
-fi |
130 |
- |
131 |
src_configure() { |
132 |
- gnome2_src_configure \ |
133 |
- $(usex debug --enable-debug=yes ' ') \ |
134 |
- $(use_enable introspection) \ |
135 |
- $(use_enable ipv6) |
136 |
+ gnome-meson_src_configure \ |
137 |
+ -Dbuild_man=true \ |
138 |
+ $(meson_use ipv6 use_ipv6) |
139 |
} |