Gentoo Archives: gentoo-commits

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