Gentoo Archives: gentoo-commits

From: Mart Raudsepp <leio@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/evince/
Date: Sun, 31 Jan 2021 12:28:28
Message-Id: 1612096087.9eeeaa85c92559ada4e97748d23de1c5e8d5629c.leio@gentoo
1 commit: 9eeeaa85c92559ada4e97748d23de1c5e8d5629c
2 Author: Mart Raudsepp <leio <AT> gentoo <DOT> org>
3 AuthorDate: Sun Jan 31 12:28:07 2021 +0000
4 Commit: Mart Raudsepp <leio <AT> gentoo <DOT> org>
5 CommitDate: Sun Jan 31 12:28:07 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9eeeaa85
7
8 app-text/evince: bump to 3.36.8
9
10 Package-Manager: Portage-3.0.12, Repoman-3.0.2
11 Signed-off-by: Mart Raudsepp <leio <AT> gentoo.org>
12
13 app-text/evince/Manifest | 1 +
14 app-text/evince/evince-3.36.8.ebuild | 106 +++++++++++++++++++++++++++++++++++
15 2 files changed, 107 insertions(+)
16
17 diff --git a/app-text/evince/Manifest b/app-text/evince/Manifest
18 index 25fc5e8068c..4b2acf5c96d 100644
19 --- a/app-text/evince/Manifest
20 +++ b/app-text/evince/Manifest
21 @@ -1 +1,2 @@
22 DIST evince-3.36.7.tar.xz 2580208 BLAKE2B 76ba6d206289f9981af24e5d82c9567c05984ad71efe83391aa1f8fdd94d31c284e600cf81eab9868e01f120f71cde1ae9b6ee6b7a4b1da47458d17b95b78d87 SHA512 dacc26d2d75c3dcadceb0a35c995ae3501bd91e84632cdf87decd359350e74032444707ea152e24c01fb57fe0ef2a426813a33919833cefdeb8699f8c642d910
23 +DIST evince-3.36.8.tar.xz 2917872 BLAKE2B caa373c1f17f1d3401c0898d393e5e03b00d39fc2667be5bfcdab2024a5c47617039dcb690b0138c1c5aee0a98c9c316c52d06c429633270dd5f897c388358b8 SHA512 00de985e504f2ef9a21fac59a408915d23faa93c9a13222dfe850eabc060588423b71db1f9ff0fdc26760e066d90770f7dd6ef326776724a738dfdc64c26acdd
24
25 diff --git a/app-text/evince/evince-3.36.8.ebuild b/app-text/evince/evince-3.36.8.ebuild
26 new file mode 100644
27 index 00000000000..55eb01fe886
28 --- /dev/null
29 +++ b/app-text/evince/evince-3.36.8.ebuild
30 @@ -0,0 +1,106 @@
31 +# Copyright 1999-2021 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=7
35 +GNOME2_EAUTORECONF="yes"
36 +
37 +inherit gnome2 systemd
38 +
39 +DESCRIPTION="Simple document viewer for GNOME"
40 +HOMEPAGE="https://wiki.gnome.org/Apps/Evince"
41 +
42 +LICENSE="GPL-2+ CC-BY-SA-3.0"
43 +# subslot = evd3.(suffix of libevdocument3)-evv3.(suffix of libevview3)
44 +SLOT="0/evd3.4-evv3.3"
45 +IUSE="djvu dvi gstreamer gnome gnome-keyring +introspection nautilus nsplugin postscript spell t1lib tiff xps"
46 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-solaris"
47 +
48 +# atk used in libview
49 +# bundles unarr
50 +DEPEND="
51 + dev-libs/atk
52 + >=dev-libs/glib-2.38.0:2
53 + >=dev-libs/libxml2-2.5:2
54 + sys-libs/zlib:=
55 + >=x11-libs/gdk-pixbuf-2.36.5:2
56 + >=x11-libs/gtk+-3.22.0:3[introspection?]
57 + gnome-base/gsettings-desktop-schemas
58 + >=x11-libs/cairo-1.10:=
59 + >=app-text/poppler-0.76.0[cairo]
60 + >=app-arch/libarchive-3.2.0
61 + djvu? ( >=app-text/djvu-3.5.22:= )
62 + dvi? (
63 + virtual/tex-base
64 + dev-libs/kpathsea:=
65 + t1lib? ( >=media-libs/t1lib-5:= ) )
66 + gstreamer? (
67 + media-libs/gstreamer:1.0
68 + media-libs/gst-plugins-base:1.0
69 + media-libs/gst-plugins-good:1.0 )
70 + gnome? ( gnome-base/gnome-desktop:3= )
71 + gnome-keyring? ( >=app-crypt/libsecret-0.5 )
72 + introspection? ( >=dev-libs/gobject-introspection-1:= )
73 + nautilus? ( >=gnome-base/nautilus-3.28.0 )
74 + postscript? ( >=app-text/libspectre-0.2:= )
75 + spell? ( >=app-text/gspell-1.6.0:= )
76 + tiff? ( >=media-libs/tiff-3.6:0= )
77 + xps? ( >=app-text/libgxps-0.2.1:= )
78 +"
79 +RDEPEND="${DEPEND}
80 + gnome-base/gvfs
81 + gnome-base/librsvg
82 + || (
83 + >=x11-themes/adwaita-icon-theme-2.17.1
84 + >=x11-themes/hicolor-icon-theme-0.10 )
85 +"
86 +BDEPEND="
87 + app-text/docbook-xml-dtd:4.3
88 + dev-libs/appstream-glib
89 + dev-util/gdbus-codegen
90 + dev-util/glib-utils
91 + >=dev-util/gtk-doc-am-1.13
92 + dev-util/itstool
93 + >=sys-devel/gettext-0.19.8
94 + virtual/pkgconfig
95 + app-text/yelp-tools
96 +"
97 +# eautoreconf needs:
98 +# app-text/yelp-tools
99 +
100 +PATCHES=(
101 + "${FILESDIR}"/3.30.2-internal-synctex.patch # don't automagically link to synctex from texlive-core - always use internal copy of this small parser for now; requires eautoreconf
102 +)
103 +
104 +src_prepare() {
105 + gnome2_src_prepare
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 -e 's/adwaita-icon-theme >= $ADWAITA_ICON_THEME_REQUIRED//g' \
110 + -i configure || die "sed failed"
111 +}
112 +
113 +src_configure() {
114 + gnome2_src_configure \
115 + --disable-static \
116 + --enable-pdf \
117 + --enable-comics \
118 + --enable-thumbnailer \
119 + --with-platform=gnome \
120 + --enable-dbus \
121 + $(use_enable djvu) \
122 + $(use_enable dvi) \
123 + $(use_enable gstreamer multimedia) \
124 + $(use_enable gnome libgnome-desktop) \
125 + $(use_with gnome-keyring keyring) \
126 + $(use_enable introspection) \
127 + $(use_enable nautilus) \
128 + $(use_enable nsplugin browser-plugin) \
129 + $(use_enable postscript ps) \
130 + $(use_with spell gspell) \
131 + $(use_enable t1lib) \
132 + $(use_enable tiff) \
133 + $(use_enable xps) \
134 + BROWSER_PLUGIN_DIR="${EPREFIX}"/usr/$(get_libdir)/nsbrowser/plugins \
135 + --with-systemduserunitdir="$(systemd_get_userunitdir)"
136 +}