1 |
commit: b2cc62b2025b163bef0d11dd8df8210f86030eaa |
2 |
Author: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Dec 11 13:13:32 2018 +0000 |
4 |
Commit: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Dec 11 13:13:40 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/gnome.git/commit/?id=b2cc62b2 |
7 |
|
8 |
gnome-extra/gnome-documents: update live ebuild |
9 |
|
10 |
Package-Manager: Portage-2.3.52, Repoman-2.3.12 |
11 |
Manifest-Sign-Key: 0x5A56C8CD0C13248A |
12 |
Signed-off-by: Gilles Dartiguelongue <eva <AT> gentoo.org> |
13 |
|
14 |
.../gnome-documents/gnome-documents-9999.ebuild | 53 +++++++++++++++------- |
15 |
1 file changed, 36 insertions(+), 17 deletions(-) |
16 |
|
17 |
diff --git a/gnome-extra/gnome-documents/gnome-documents-9999.ebuild b/gnome-extra/gnome-documents/gnome-documents-9999.ebuild |
18 |
index 77c590d8..2d8cee6a 100644 |
19 |
--- a/gnome-extra/gnome-documents/gnome-documents-9999.ebuild |
20 |
+++ b/gnome-extra/gnome-documents/gnome-documents-9999.ebuild |
21 |
@@ -1,10 +1,12 @@ |
22 |
-# Copyright 1999-2018 Gentoo Foundation |
23 |
+# Copyright 1999-2018 Gentoo Authors |
24 |
# Distributed under the terms of the GNU General Public License v2 |
25 |
|
26 |
EAPI=6 |
27 |
-inherit gnome2 |
28 |
+inherit gnome.org gnome2-utils meson xdg |
29 |
if [[ ${PV} = 9999 ]]; then |
30 |
- inherit gnome2-live |
31 |
+ inherit git-r3 |
32 |
+ SRC_URI="" |
33 |
+ EGIT_REPO_URI="https://gitlab.gnome.org/GNOME/${GNOME_ORG_MODULE}" |
34 |
fi |
35 |
|
36 |
DESCRIPTION="A document manager application for GNOME" |
37 |
@@ -21,22 +23,22 @@ fi |
38 |
|
39 |
# cairo-1.14 for cairo_surface_set_device_scale check and usage |
40 |
COMMON_DEPEND=" |
41 |
- >=app-text/evince-3.13.3[introspection] |
42 |
- >=net-libs/webkit-gtk-2.6:4[introspection] |
43 |
>=dev-libs/gjs-1.48 |
44 |
+ >=app-text/evince-3.13.3[introspection] |
45 |
>=dev-libs/glib-2.39.3:2 |
46 |
+ gnome-base/gnome-desktop:3=[introspection] |
47 |
>=dev-libs/gobject-introspection-1.31.6:= |
48 |
>=x11-libs/gtk+-3.22.15:3[introspection] |
49 |
>=net-libs/libsoup-2.41.3:2.4 |
50 |
- gnome-base/gnome-desktop:3=[introspection] |
51 |
>=app-misc/tracker-2:= |
52 |
- >=x11-libs/cairo-1.14 |
53 |
+ >=net-libs/webkit-gtk-2.6:4[introspection] |
54 |
+ |
55 |
>=dev-libs/libgdata-0.13.3:=[crypt,gnome-online-accounts,introspection] |
56 |
- x11-libs/gdk-pixbuf:2[introspection] |
57 |
+ >=app-text/libgepub-0.6[introspection] |
58 |
>=net-libs/gnome-online-accounts-3.2.0[introspection] |
59 |
- x11-libs/pango[introspection] |
60 |
>=net-libs/libzapojit-0.0.2[introspection] |
61 |
- >=app-text/libgepub-0.5[introspection] |
62 |
+ |
63 |
+ >=x11-libs/cairo-1.14 |
64 |
" |
65 |
RDEPEND="${COMMON_DEPEND} |
66 |
>=app-misc/tracker-miners-2[miner-fs] |
67 |
@@ -44,17 +46,34 @@ RDEPEND="${COMMON_DEPEND} |
68 |
sys-apps/dbus |
69 |
x11-themes/adwaita-icon-theme |
70 |
" |
71 |
-# libxml2+gdk-pixbuf required for glib-compile-resources |
72 |
DEPEND="${COMMON_DEPEND} |
73 |
- dev-libs/libxml2 |
74 |
+ dev-libs/appstream-glib |
75 |
+ app-text/docbook-xml-dtd:4.2 |
76 |
+ app-text/docbook-xsl-stylesheets |
77 |
+ dev-libs/libxml2:2 |
78 |
+ x11-libs/gdk-pixbuf:2 |
79 |
dev-libs/libxslt |
80 |
>=sys-devel/gettext-0.19.8 |
81 |
dev-util/itstool |
82 |
virtual/pkgconfig |
83 |
" |
84 |
|
85 |
-if [[ ${PV} = 9999 ]]; then |
86 |
- DEPEND="${DEPEND} |
87 |
- app-text/yelp-tools |
88 |
- " |
89 |
-fi |
90 |
+src_configure() { |
91 |
+ local emesonargs=( |
92 |
+ -Ddocumentation=true |
93 |
+ -Dgetting_started=false |
94 |
+ ) |
95 |
+ meson_src_configure |
96 |
+} |
97 |
+ |
98 |
+pkg_postinst() { |
99 |
+ xdg_pkg_postinst |
100 |
+ gnome2_schemas_update |
101 |
+ gnome2_icon_cache_update |
102 |
+} |
103 |
+ |
104 |
+pkg_postrm() { |
105 |
+ xdg_pkg_postrm |
106 |
+ gnome2_schemas_update |
107 |
+ gnome2_icon_cache_update |
108 |
+} |