Gentoo Archives: gentoo-commits

From: Sobhan Mohammadpour <sobhan@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/gnome:master commit in: app-text/evince/
Date: Sun, 28 Jan 2018 20:01:31
Message-Id: 1517169679.871a2861e3c2a64fbc5660cc73f286fa1b9f1986.sobhan@gentoo
1 commit: 871a2861e3c2a64fbc5660cc73f286fa1b9f1986
2 Author: Sobhan Mohammadpour <sobhan <AT> gentoo <DOT> org>
3 AuthorDate: Sun Jan 28 20:01:19 2018 +0000
4 Commit: Sobhan Mohammadpour <sobhan <AT> gentoo <DOT> org>
5 CommitDate: Sun Jan 28 20:01:19 2018 +0000
6 URL: https://gitweb.gentoo.org/proj/gnome.git/commit/?id=871a2861
7
8 app-text/evince: version bump to 3.26.0
9
10 Package-Manager: Portage-2.3.20, Repoman-2.3.6
11 RepoMan-Options: --force
12 Manifest-Sign-Key: 0x7DF238CF0AA182E1
13
14 app-text/evince/evince-3.26.0.ebuild | 99 ++++++++++++++++++++++++++++++++++++
15 1 file changed, 99 insertions(+)
16
17 diff --git a/app-text/evince/evince-3.26.0.ebuild b/app-text/evince/evince-3.26.0.ebuild
18 new file mode 100644
19 index 00000000..af4f9e25
20 --- /dev/null
21 +++ b/app-text/evince/evince-3.26.0.ebuild
22 @@ -0,0 +1,99 @@
23 +# Copyright 1999-2018 Gentoo Foundation
24 +# Distributed under the terms of the GNU General Public License v2
25 +
26 +EAPI=6
27 +GNOME2_LA_PUNT="yes"
28 +
29 +inherit gnome2 systemd
30 +
31 +DESCRIPTION="Simple document viewer for GNOME"
32 +HOMEPAGE="https://wiki.gnome.org/Apps/Evince"
33 +
34 +LICENSE="GPL-2+ CC-BY-SA-3.0"
35 +# subslot = evd3.(suffix of libevdocument3)-evv3.(suffix of libevview3)
36 +SLOT="0/evd3.4-evv3.3"
37 +IUSE="djvu dvi gstreamer gnome gnome-keyring +introspection nautilus nsplugin +postscript t1lib tiff xps"
38 +KEYWORDS="~alpha amd64 ~arm ~arm64 ~ia64 ~mips ~ppc ~ppc64 ~sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~x64-solaris"
39 +
40 +# atk used in libview
41 +# gdk-pixbuf used all over the place
42 +COMMON_DEPEND="
43 + dev-libs/atk
44 + >=dev-libs/glib-2.36:2[dbus]
45 + >=dev-libs/libxml2-2.5:2
46 + sys-libs/zlib:=
47 + x11-libs/gdk-pixbuf:2
48 + >=x11-libs/gtk+-3.16.0:3[introspection?]
49 + gnome-base/gsettings-desktop-schemas
50 + >=x11-libs/cairo-1.10:=
51 + >=app-text/poppler-0.33[cairo]
52 + >=app-arch/libarchive-3.1.2
53 + djvu? ( >=app-text/djvu-3.5.22:= )
54 + dvi? (
55 + virtual/tex-base
56 + dev-libs/kpathsea:=
57 + t1lib? ( >=media-libs/t1lib-5:= ) )
58 + gstreamer? (
59 + media-libs/gstreamer:1.0
60 + media-libs/gst-plugins-base:1.0
61 + media-libs/gst-plugins-good:1.0 )
62 + gnome? ( gnome-base/gnome-desktop:3= )
63 + gnome-keyring? ( >=app-crypt/libsecret-0.5 )
64 + introspection? ( >=dev-libs/gobject-introspection-1:= )
65 + nautilus? ( >=gnome-base/nautilus-2.91.4[introspection?] )
66 + postscript? ( >=app-text/libspectre-0.2:= )
67 + tiff? ( >=media-libs/tiff-3.6:0= )
68 + xps? ( >=app-text/libgxps-0.2.1:= )
69 +"
70 +RDEPEND="${COMMON_DEPEND}
71 + gnome-base/gvfs
72 + gnome-base/librsvg
73 + || (
74 + >=x11-themes/adwaita-icon-theme-2.17.1
75 + >=x11-themes/hicolor-icon-theme-0.10 )
76 +"
77 +DEPEND="${COMMON_DEPEND}
78 + app-text/docbook-xml-dtd:4.3
79 + app-text/yelp-tools
80 + dev-util/gdbus-codegen
81 + >=dev-util/gtk-doc-am-1.13
82 + >=dev-util/intltool-0.35
83 + dev-util/itstool
84 + sys-devel/gettext
85 + virtual/pkgconfig
86 +"
87 +# eautoreconf needs:
88 +# app-text/yelp-tools
89 +
90 +src_prepare() {
91 + gnome2_src_prepare
92 +
93 + # Do not depend on adwaita-icon-theme, bug #326855, #391859
94 + # https://bugs.freedesktop.org/show_bug.cgi?id=29942
95 + sed -e 's/adwaita-icon-theme >= $ADWAITA_ICON_THEME_REQUIRED//g' \
96 + -i configure || die "sed failed"
97 +}
98 +
99 +src_configure() {
100 + gnome2_src_configure \
101 + --disable-static \
102 + --enable-pdf \
103 + --enable-comics \
104 + --enable-thumbnailer \
105 + --with-platform=gnome \
106 + --enable-dbus \
107 + $(use_enable djvu) \
108 + $(use_enable dvi) \
109 + $(use_enable gstreamer multimedia) \
110 + $(use_enable gnome libgnome-desktop) \
111 + $(use_with gnome-keyring keyring) \
112 + $(use_enable introspection) \
113 + $(use_enable nautilus) \
114 + $(use_enable nsplugin browser-plugin) \
115 + $(use_enable postscript ps) \
116 + $(use_enable t1lib) \
117 + $(use_enable tiff) \
118 + $(use_enable xps) \
119 + BROWSER_PLUGIN_DIR="${EPREFIX}"/usr/$(get_libdir)/nsbrowser/plugins \
120 + --with-systemduserunitdir="$(systemd_get_userunitdir)"
121 +}