Gentoo Archives: gentoo-commits

From: Gilles Dartiguelongue <eva@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/gnome:master commit in: gnome-extra/gnome-documents/
Date: Sun, 09 Dec 2018 22:58:04
Message-Id: 1544396271.28c9923883eb8130ecf6ee01eea12ca116a3ee6d.eva@gentoo
1 commit: 28c9923883eb8130ecf6ee01eea12ca116a3ee6d
2 Author: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org>
3 AuthorDate: Sun Dec 9 22:30:28 2018 +0000
4 Commit: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org>
5 CommitDate: Sun Dec 9 22:57:51 2018 +0000
6 URL: https://gitweb.gentoo.org/proj/gnome.git/commit/?id=28c99238
7
8 gnome-extra/gnome-documents: 3.26.3 → 3.28.2
9
10 Switched to meson build system. Keep getting_started disabled as it
11 requires inkscape and pdfunite which would require USE=doc at a minimum
12 but does not actually seem useful other than having a document to show
13 by default.
14
15 Drop pango and gdk-pixbuf dependencies are they are supposed to be pull
16 by gtk+3 with proper USE flags set already.
17
18 Add dependencies required for man page generation, gresources and
19 appdata translations.
20
21 Package-Manager: Portage-2.3.52, Repoman-2.3.12
22 Manifest-Sign-Key: 0x5A56C8CD0C13248A
23 Signed-off-by: Gilles Dartiguelongue <eva <AT> gentoo.org>
24
25 .../gnome-documents/gnome-documents-3.28.2.ebuild | 70 ++++++++++++++++++++++
26 1 file changed, 70 insertions(+)
27
28 diff --git a/gnome-extra/gnome-documents/gnome-documents-3.28.2.ebuild b/gnome-extra/gnome-documents/gnome-documents-3.28.2.ebuild
29 new file mode 100644
30 index 00000000..677ff08e
31 --- /dev/null
32 +++ b/gnome-extra/gnome-documents/gnome-documents-3.28.2.ebuild
33 @@ -0,0 +1,70 @@
34 +# Copyright 1999-2018 Gentoo Authors
35 +# Distributed under the terms of the GNU General Public License v2
36 +
37 +EAPI=6
38 +inherit gnome.org gnome2-utils meson xdg
39 +
40 +DESCRIPTION="A document manager application for GNOME"
41 +HOMEPAGE="https://wiki.gnome.org/Apps/Documents"
42 +
43 +LICENSE="GPL-2+"
44 +SLOT="0"
45 +IUSE=""
46 +KEYWORDS="~amd64 ~x86"
47 +
48 +# cairo-1.14 for cairo_surface_set_device_scale check and usage
49 +COMMON_DEPEND="
50 + >=dev-libs/gjs-1.48
51 + >=app-text/evince-3.13.3[introspection]
52 + >=dev-libs/glib-2.39.3:2
53 + gnome-base/gnome-desktop:3=[introspection]
54 + >=dev-libs/gobject-introspection-1.31.6:=
55 + >=x11-libs/gtk+-3.22.15:3[introspection]
56 + >=net-libs/libsoup-2.41.3:2.4
57 + >=app-misc/tracker-2:=
58 + >=net-libs/webkit-gtk-2.6:4[introspection]
59 +
60 + >=dev-libs/libgdata-0.13.3:=[crypt,gnome-online-accounts,introspection]
61 + >=app-text/libgepub-0.6[introspection]
62 + >=net-libs/gnome-online-accounts-3.2.0[introspection]
63 + >=net-libs/libzapojit-0.0.2[introspection]
64 +
65 + >=x11-libs/cairo-1.14
66 +"
67 +RDEPEND="${COMMON_DEPEND}
68 + >=app-misc/tracker-miners-2[miner-fs]
69 + net-misc/gnome-online-miners
70 + sys-apps/dbus
71 + x11-themes/adwaita-icon-theme
72 +"
73 +DEPEND="${COMMON_DEPEND}
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 +src_configure() {
86 + local emesonargs=(
87 + -Ddocumentation=true
88 + -Dgetting_started=false
89 + )
90 + meson_src_configure
91 +}
92 +
93 +pkg_postinst() {
94 + xdg_pkg_postinst
95 + gnome2_schemas_update
96 + gnome2_icon_cache_update
97 +}
98 +
99 +pkg_postrm() {
100 + xdg_pkg_postrm
101 + gnome2_schemas_update
102 + gnome2_icon_cache_update
103 +}