Gentoo Archives: gentoo-commits

From: Mikle Kolyada <zlogene@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/zathura/
Date: Sun, 25 Nov 2018 15:53:13
Message-Id: 1543161184.3bf98c22f3038f00abb356954e6adbf0386dff59.zlogene@gentoo
1 commit: 3bf98c22f3038f00abb356954e6adbf0386dff59
2 Author: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
3 AuthorDate: Sun Nov 25 15:52:08 2018 +0000
4 Commit: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
5 CommitDate: Sun Nov 25 15:53:04 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3bf98c22
7
8 app-text/zathura: revbump: reduce dependencies
9
10 Signed-off-by: Mikle Kolyada <zlogene <AT> gentoo.org>
11 Package-Manager: Portage-2.3.51, Repoman-2.3.11
12
13 app-text/zathura/zathura-0.4.1-r1.ebuild | 64 ++++++++++++++++++++++++++++++++
14 1 file changed, 64 insertions(+)
15
16 diff --git a/app-text/zathura/zathura-0.4.1-r1.ebuild b/app-text/zathura/zathura-0.4.1-r1.ebuild
17 new file mode 100644
18 index 00000000000..9722d873832
19 --- /dev/null
20 +++ b/app-text/zathura/zathura-0.4.1-r1.ebuild
21 @@ -0,0 +1,64 @@
22 +# Copyright 1999-2018 Gentoo Authors
23 +# Distributed under the terms of the GNU General Public License v2
24 +
25 +EAPI=6
26 +
27 +inherit gnome2-utils meson virtualx xdg-utils
28 +
29 +DESCRIPTION="A highly customizable and functional document viewer"
30 +HOMEPAGE="http://pwmt.org/projects/zathura/"
31 +
32 +if [[ ${PV} == *9999 ]]; then
33 + inherit git-r3
34 + EGIT_REPO_URI="https://git.pwmt.org/pwmt/${PN}.git"
35 + EGIT_BRANCH="develop"
36 +else
37 + SRC_URI="https://pwmt.org/projects/zathura/download/${P}.tar.xz"
38 + KEYWORDS="amd64 ~arm ~x86 ~amd64-linux ~x86-linux"
39 +fi
40 +
41 +LICENSE="ZLIB"
42 +SLOT="0"
43 +IUSE="+magic seccomp sqlite synctex test"
44 +
45 +PATCHES=( "${FILESDIR}"/${PN}-find-libm.patch )
46 +
47 +RDEPEND=">=dev-libs/girara-0.3.1
48 + >=dev-libs/glib-2.50:2
49 + dev-python/sphinx
50 + x11-libs/cairo
51 + >=x11-libs/gtk+-3.22:3
52 + magic? ( sys-apps/file )
53 + seccomp? ( sys-libs/libseccomp )
54 + sqlite? ( >=dev-db/sqlite-3.5.9:3 )
55 + synctex? ( app-text/texlive-core )"
56 +
57 +DEPEND="${RDEPEND}
58 + test? ( dev-libs/check )"
59 +
60 +BDEPEND="virtual/pkgconfig"
61 +
62 +src_configure() {
63 + local emesonargs=(
64 + --libdir=/usr/$(get_libdir)
65 + -Denable-magic=$(usex magic true false)
66 + -Denable-seccomp=$(usex seccomp true false)
67 + -Denable-sqlite=$(usex sqlite true false)
68 + -Denable-synctex=$(usex synctex true false)
69 + )
70 + meson_src_configure
71 +}
72 +
73 +src_test() {
74 + virtx meson_src_test
75 +}
76 +
77 +pkg_postinst() {
78 + gnome2_icon_cache_update
79 + xdg_desktop_database_update
80 +}
81 +
82 +pkg_postrm() {
83 + gnome2_icon_cache_update
84 + xdg_desktop_database_update
85 +}