Gentoo Archives: gentoo-commits

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