1 |
commit: ea0ce17f637afbf0825a136b9127fc30abf939a7 |
2 |
Author: Pacho Ramos <pacho <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Jul 16 08:02:35 2021 +0000 |
4 |
Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Jul 16 08:02:35 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ea0ce17f |
7 |
|
8 |
app-text/evince: Bump to 40.4 |
9 |
|
10 |
Package-Manager: Portage-3.0.20, Repoman-3.0.3 |
11 |
Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org> |
12 |
|
13 |
app-text/evince/Manifest | 1 + |
14 |
app-text/evince/evince-40.4.ebuild | 127 +++++++++++++++++++++++++++++++++++++ |
15 |
2 files changed, 128 insertions(+) |
16 |
|
17 |
diff --git a/app-text/evince/Manifest b/app-text/evince/Manifest |
18 |
index 28de787e57b..25bb26647bb 100644 |
19 |
--- a/app-text/evince/Manifest |
20 |
+++ b/app-text/evince/Manifest |
21 |
@@ -1,3 +1,4 @@ |
22 |
DIST evince-40.1.tar.xz 2928924 BLAKE2B e9376c186da9fed132b820b2e9a1ef6bb0997f22abca3d7b271691291ea4870132b48075ada5a992e056193e6af51bdf95e6bbdac79c789475fb985d692f9ccc SHA512 c688ee962cfff8b024b572161bae689d25b5b566ac623abeff38b4b8e6e541ce343023ed2c1ba0df1f65d6ec9a631aac3a748c940db556dbb89ab45ac565147d |
23 |
DIST evince-40.2.tar.xz 2928072 BLAKE2B 86051e8568044ec484a7a3c036a523ee44d22e46bdf5e75c6052d3302f92a27d48cb26e2408b176cfee3fafd3879a8771f4bf29a51f6b8085c31fa28f4885660 SHA512 f3ee19053a0bc6989a50fc790d1d54747d7aac5cbf0cd1e0eaea6cb743c0ebbbdf2565e88ea995fbba31c7f97e4279f9c0fa44c386bcf635a500033f6105ca9f |
24 |
DIST evince-40.3.tar.xz 2928396 BLAKE2B 00129c036a6b01efa44b7a72587e51d2399f4f262a0c38026e0797a44992675ef04861c869b81772774aad63e8ffd1453ab25c382fed6ad4759e899af41dd82f SHA512 cf0c5468121ba952df3e16682a29ec2e46e0796f3c51c347c75a0385ab528af28bdecc907e7a30087efa1d5d1b6a794416fdecdb995b2cc062e657b2368bc4e7 |
25 |
+DIST evince-40.4.tar.xz 2928100 BLAKE2B 491b2333e21093b032ec9c4f24c61cdaa31e4a46ee058b0f109b0998fb7216ada2c933e6202eae1d6193caad0cfa94a77434ef042555bab7cf4aeed959be759b SHA512 dbec3828f1e8f0b9b48dd90ce605ce83312e53cbeb8f8e7358c1318f1701680a69a9bcd26b7cf1da4b53679ae11e334ce514f5df4c5bbcc976581441e0d654cd |
26 |
|
27 |
diff --git a/app-text/evince/evince-40.4.ebuild b/app-text/evince/evince-40.4.ebuild |
28 |
new file mode 100644 |
29 |
index 00000000000..f3d4f7e417e |
30 |
--- /dev/null |
31 |
+++ b/app-text/evince/evince-40.4.ebuild |
32 |
@@ -0,0 +1,127 @@ |
33 |
+# Copyright 1999-2021 Gentoo Authors |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+ |
36 |
+EAPI=7 |
37 |
+ |
38 |
+inherit gnome.org meson systemd xdg |
39 |
+ |
40 |
+DESCRIPTION="Simple document viewer for GNOME" |
41 |
+HOMEPAGE="https://wiki.gnome.org/Apps/Evince" |
42 |
+ |
43 |
+LICENSE="GPL-2+ CC-BY-SA-3.0" |
44 |
+# subslot = evd3.(suffix of libevdocument3)-evv3.(suffix of libevview3) |
45 |
+SLOT="0/evd3.4-evv3.3" |
46 |
+IUSE="cups djvu dvi gstreamer gnome gnome-keyring gtk-doc +introspection nautilus nsplugin postscript spell t1lib tiff xps" |
47 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-solaris" |
48 |
+ |
49 |
+# atk used in libview |
50 |
+# bundles unarr |
51 |
+DEPEND=" |
52 |
+ dev-libs/atk |
53 |
+ >=dev-libs/glib-2.44.0:2 |
54 |
+ >=gui-libs/libhandy-1.0:1= |
55 |
+ >=dev-libs/libxml2-2.5:2 |
56 |
+ sys-libs/zlib:= |
57 |
+ >=x11-libs/gdk-pixbuf-2.40:2 |
58 |
+ >=x11-libs/gtk+-3.22.0:3[cups?,introspection?] |
59 |
+ gnome-base/gsettings-desktop-schemas |
60 |
+ >=x11-libs/cairo-1.10:= |
61 |
+ >=app-text/poppler-0.76.0[cairo] |
62 |
+ >=app-arch/libarchive-3.2.0 |
63 |
+ djvu? ( >=app-text/djvu-3.5.22:= ) |
64 |
+ dvi? ( |
65 |
+ >=app-text/libspectre-0.2:= |
66 |
+ dev-libs/kpathsea:= |
67 |
+ t1lib? ( >=media-libs/t1lib-5:= ) ) |
68 |
+ gstreamer? ( |
69 |
+ media-libs/gstreamer:1.0 |
70 |
+ media-libs/gst-plugins-base:1.0 |
71 |
+ media-libs/gst-plugins-good:1.0 ) |
72 |
+ gnome? ( gnome-base/gnome-desktop:3= ) |
73 |
+ gnome-keyring? ( >=app-crypt/libsecret-0.5 ) |
74 |
+ introspection? ( >=dev-libs/gobject-introspection-1:= ) |
75 |
+ nautilus? ( >=gnome-base/nautilus-3.28.0 ) |
76 |
+ postscript? ( >=app-text/libspectre-0.2:= ) |
77 |
+ spell? ( >=app-text/gspell-1.6.0:= ) |
78 |
+ tiff? ( >=media-libs/tiff-3.6:0= ) |
79 |
+ xps? ( >=app-text/libgxps-0.2.1:= ) |
80 |
+" |
81 |
+RDEPEND="${DEPEND} |
82 |
+ gnome-base/gvfs |
83 |
+ gnome-base/librsvg |
84 |
+ || ( |
85 |
+ >=x11-themes/adwaita-icon-theme-2.17.1 |
86 |
+ >=x11-themes/hicolor-icon-theme-0.10 |
87 |
+ ) |
88 |
+" |
89 |
+BDEPEND=" |
90 |
+ gtk-doc? ( >=dev-util/gtk-doc-1.33 ) |
91 |
+ app-text/docbook-xml-dtd:4.3 |
92 |
+ dev-libs/appstream-glib |
93 |
+ dev-util/gdbus-codegen |
94 |
+ dev-util/glib-utils |
95 |
+ dev-util/itstool |
96 |
+ >=sys-devel/gettext-0.19.8 |
97 |
+ virtual/pkgconfig |
98 |
+" |
99 |
+ |
100 |
+PATCHES=( |
101 |
+ "${FILESDIR}"/40.0-internal-synctex.patch |
102 |
+) |
103 |
+ |
104 |
+src_prepare() { |
105 |
+ default |
106 |
+ |
107 |
+ # Do not depend on adwaita-icon-theme, bug #326855, #391859 |
108 |
+ # https://gitlab.freedesktop.org/xdg/default-icon-theme/issues/7 |
109 |
+ sed -i '/adwaita_icon_theme_dep/d' meson.build shell/meson.build || die |
110 |
+} |
111 |
+ |
112 |
+src_configure() { |
113 |
+ local emesonargs=( |
114 |
+ -Dplatform=gnome |
115 |
+ |
116 |
+ -Dviewer=true |
117 |
+ -Dpreviewer=true |
118 |
+ -Dthumbnailer=true |
119 |
+ $(meson_use nsplugin browser_plugin) |
120 |
+ $(meson_use nautilus) |
121 |
+ |
122 |
+ -Dcomics=enabled |
123 |
+ $(meson_feature djvu) |
124 |
+ $(meson_feature dvi) |
125 |
+ -Dpdf=enabled |
126 |
+ $(meson_feature postscript ps) |
127 |
+ $(meson_feature tiff) |
128 |
+ $(meson_feature xps) |
129 |
+ |
130 |
+ $(meson_use gtk-doc gtk_doc) |
131 |
+ -Duser_doc=true |
132 |
+ $(meson_use introspection) |
133 |
+ -Ddbus=true |
134 |
+ $(meson_feature gnome-keyring keyring) |
135 |
+ $(meson_feature cups gtk_unix_print) |
136 |
+ $(meson_feature gnome thumbnail_cache) |
137 |
+ $(meson_feature gstreamer multimedia) |
138 |
+ $(meson_feature spell gspell) |
139 |
+ |
140 |
+ $(meson_feature t1lib) |
141 |
+ |
142 |
+ -Dbrowser_plugin_dir="${EPREFIX}/usr/$(get_libdir)/nsbrowser/plugins" |
143 |
+ -Dsystemduserunitdir="$(systemd_get_userunitdir)" |
144 |
+ |
145 |
+ ) |
146 |
+ meson_src_configure |
147 |
+} |
148 |
+ |
149 |
+src_compile() { |
150 |
+ meson_src_compile |
151 |
+} |
152 |
+ |
153 |
+src_test() { |
154 |
+ meson_src_test |
155 |
+} |
156 |
+ |
157 |
+src_install() { |
158 |
+ meson_src_install |
159 |
+} |