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 18:52:12
Message-Id: 1612119108.0e2ba12ad7f682cbcf029e5959cd852bc4f6eac4.leio@gentoo
1 commit: 0e2ba12ad7f682cbcf029e5959cd852bc4f6eac4
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 18:51:48 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0e2ba12a
7
8 app-text/evince: bump to 3.36.9
9
10 Bug: https://bugs.gentoo.org/768054
11 Package-Manager: Portage-3.0.12, Repoman-3.0.2
12 Signed-off-by: Mart Raudsepp <leio <AT> gentoo.org>
13
14 app-text/evince/Manifest | 1 +
15 app-text/evince/evince-3.36.9.ebuild | 106 +++++++++++++++++++++++++++++++++++
16 2 files changed, 107 insertions(+)
17
18 diff --git a/app-text/evince/Manifest b/app-text/evince/Manifest
19 index 25fc5e8068c..e94d57154cf 100644
20 --- a/app-text/evince/Manifest
21 +++ b/app-text/evince/Manifest
22 @@ -1 +1,2 @@
23 DIST evince-3.36.7.tar.xz 2580208 BLAKE2B 76ba6d206289f9981af24e5d82c9567c05984ad71efe83391aa1f8fdd94d31c284e600cf81eab9868e01f120f71cde1ae9b6ee6b7a4b1da47458d17b95b78d87 SHA512 dacc26d2d75c3dcadceb0a35c995ae3501bd91e84632cdf87decd359350e74032444707ea152e24c01fb57fe0ef2a426813a33919833cefdeb8699f8c642d910
24 +DIST evince-3.36.9.tar.xz 2429740 BLAKE2B 7154d473561955df9be545bbda520034e7de1556ea241dd30833ac014af2bb20fc3ef1d7fe6777cdcfab90553eb3f0562e1452df62c1c1eeb6b47b5bb64298bf SHA512 54f2dfc287fa627e1474c4bb23e6127bc5daa7044c2158805e5af487b7d65e776da9b86adbb83ec63fad3ce4c339f57483a3a2d7b95ad14de2dc76e29a29a8fb
25
26 diff --git a/app-text/evince/evince-3.36.9.ebuild b/app-text/evince/evince-3.36.9.ebuild
27 new file mode 100644
28 index 00000000000..55eb01fe886
29 --- /dev/null
30 +++ b/app-text/evince/evince-3.36.9.ebuild
31 @@ -0,0 +1,106 @@
32 +# Copyright 1999-2021 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=7
36 +GNOME2_EAUTORECONF="yes"
37 +
38 +inherit gnome2 systemd
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="djvu dvi gstreamer gnome gnome-keyring +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.38.0:2
54 + >=dev-libs/libxml2-2.5:2
55 + sys-libs/zlib:=
56 + >=x11-libs/gdk-pixbuf-2.36.5:2
57 + >=x11-libs/gtk+-3.22.0:3[introspection?]
58 + gnome-base/gsettings-desktop-schemas
59 + >=x11-libs/cairo-1.10:=
60 + >=app-text/poppler-0.76.0[cairo]
61 + >=app-arch/libarchive-3.2.0
62 + djvu? ( >=app-text/djvu-3.5.22:= )
63 + dvi? (
64 + virtual/tex-base
65 + dev-libs/kpathsea:=
66 + t1lib? ( >=media-libs/t1lib-5:= ) )
67 + gstreamer? (
68 + media-libs/gstreamer:1.0
69 + media-libs/gst-plugins-base:1.0
70 + media-libs/gst-plugins-good:1.0 )
71 + gnome? ( gnome-base/gnome-desktop:3= )
72 + gnome-keyring? ( >=app-crypt/libsecret-0.5 )
73 + introspection? ( >=dev-libs/gobject-introspection-1:= )
74 + nautilus? ( >=gnome-base/nautilus-3.28.0 )
75 + postscript? ( >=app-text/libspectre-0.2:= )
76 + spell? ( >=app-text/gspell-1.6.0:= )
77 + tiff? ( >=media-libs/tiff-3.6:0= )
78 + xps? ( >=app-text/libgxps-0.2.1:= )
79 +"
80 +RDEPEND="${DEPEND}
81 + gnome-base/gvfs
82 + gnome-base/librsvg
83 + || (
84 + >=x11-themes/adwaita-icon-theme-2.17.1
85 + >=x11-themes/hicolor-icon-theme-0.10 )
86 +"
87 +BDEPEND="
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/gtk-doc-am-1.13
93 + dev-util/itstool
94 + >=sys-devel/gettext-0.19.8
95 + virtual/pkgconfig
96 + app-text/yelp-tools
97 +"
98 +# eautoreconf needs:
99 +# app-text/yelp-tools
100 +
101 +PATCHES=(
102 + "${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
103 +)
104 +
105 +src_prepare() {
106 + gnome2_src_prepare
107 +
108 + # Do not depend on adwaita-icon-theme, bug #326855, #391859
109 + # https://gitlab.freedesktop.org/xdg/default-icon-theme/issues/7
110 + sed -e 's/adwaita-icon-theme >= $ADWAITA_ICON_THEME_REQUIRED//g' \
111 + -i configure || die "sed failed"
112 +}
113 +
114 +src_configure() {
115 + gnome2_src_configure \
116 + --disable-static \
117 + --enable-pdf \
118 + --enable-comics \
119 + --enable-thumbnailer \
120 + --with-platform=gnome \
121 + --enable-dbus \
122 + $(use_enable djvu) \
123 + $(use_enable dvi) \
124 + $(use_enable gstreamer multimedia) \
125 + $(use_enable gnome libgnome-desktop) \
126 + $(use_with gnome-keyring keyring) \
127 + $(use_enable introspection) \
128 + $(use_enable nautilus) \
129 + $(use_enable nsplugin browser-plugin) \
130 + $(use_enable postscript ps) \
131 + $(use_with spell gspell) \
132 + $(use_enable t1lib) \
133 + $(use_enable tiff) \
134 + $(use_enable xps) \
135 + BROWSER_PLUGIN_DIR="${EPREFIX}"/usr/$(get_libdir)/nsbrowser/plugins \
136 + --with-systemduserunitdir="$(systemd_get_userunitdir)"
137 +}