1 |
commit: f9326b0778de0569e36f59d6be43c4cbc5d1e7c2 |
2 |
Author: Mikle Kolyada <zlogene <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Sep 13 11:21:14 2019 +0000 |
4 |
Commit: Mikle Kolyada <zlogene <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Sep 13 11:22:28 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f9326b07 |
7 |
|
8 |
app-text/zathura: Sync live ebuild |
9 |
|
10 |
Package-Manager: Portage-2.3.69, Repoman-2.3.16 |
11 |
Signed-off-by: Mikle Kolyada <zlogene <AT> gentoo.org> |
12 |
|
13 |
app-text/zathura/zathura-9999.ebuild | 43 ++++++++++++++++-------------------- |
14 |
1 file changed, 19 insertions(+), 24 deletions(-) |
15 |
|
16 |
diff --git a/app-text/zathura/zathura-9999.ebuild b/app-text/zathura/zathura-9999.ebuild |
17 |
index fcb0645c089..83ead1f313e 100644 |
18 |
--- a/app-text/zathura/zathura-9999.ebuild |
19 |
+++ b/app-text/zathura/zathura-9999.ebuild |
20 |
@@ -1,9 +1,9 @@ |
21 |
# Copyright 1999-2019 Gentoo Authors |
22 |
# Distributed under the terms of the GNU General Public License v2 |
23 |
|
24 |
-EAPI=6 |
25 |
+EAPI=7 |
26 |
|
27 |
-inherit gnome2-utils meson virtualx xdg-utils |
28 |
+inherit meson virtualx |
29 |
|
30 |
DESCRIPTION="A highly customizable and functional document viewer" |
31 |
HOMEPAGE="http://pwmt.org/projects/zathura/" |
32 |
@@ -13,36 +13,41 @@ if [[ ${PV} == *9999 ]]; then |
33 |
EGIT_REPO_URI="https://git.pwmt.org/pwmt/${PN}.git" |
34 |
EGIT_BRANCH="develop" |
35 |
else |
36 |
- SRC_URI="https://pwmt.org/projects/zathura/download/${P}.tar.xz" |
37 |
+ SRC_URI="https://github.com/pwmt/zathura/archive/${PV}.tar.gz -> ${P}.tar.gz" |
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 |
+IUSE="doc +magic seccomp sqlite synctex test" |
45 |
|
46 |
-RDEPEND=">=dev-libs/girara-0.3.1 |
47 |
+RESTRICT="!test? ( test )" |
48 |
+ |
49 |
+DEPEND=">=dev-libs/girara-0.3.3 |
50 |
>=dev-libs/glib-2.50:2 |
51 |
- dev-python/sphinx |
52 |
>=sys-devel/gettext-0.19.8 |
53 |
- x11-libs/cairo |
54 |
+ x11-libs/cairo[X] |
55 |
>=x11-libs/gtk+-3.22:3 |
56 |
magic? ( sys-apps/file ) |
57 |
seccomp? ( sys-libs/libseccomp ) |
58 |
sqlite? ( >=dev-db/sqlite-3.5.9:3 ) |
59 |
synctex? ( app-text/texlive-core )" |
60 |
|
61 |
-DEPEND="${RDEPEND} |
62 |
- test? ( dev-libs/check )" |
63 |
+RDEPEND="${DEPEND}" |
64 |
|
65 |
-BDEPEND="virtual/pkgconfig" |
66 |
+BDEPEND="doc? ( dev-python/sphinx ) |
67 |
+ test? ( dev-libs/appstream-glib |
68 |
+ dev-libs/check ) |
69 |
+ virtual/pkgconfig" |
70 |
|
71 |
src_configure() { |
72 |
local emesonargs=( |
73 |
- -Denable-magic=$(usex magic true false) |
74 |
- -Denable-seccomp=$(usex seccomp true false) |
75 |
- -Denable-sqlite=$(usex sqlite true false) |
76 |
- -Denable-synctex=$(usex synctex true false) |
77 |
+ -Dconvert-icon=disabled |
78 |
+ -Dmagic=$(usex magic enabled disabled) |
79 |
+ -Dmanpages=$(usex doc enabled disabled) |
80 |
+ -Dseccomp=$(usex seccomp enabled disabled) |
81 |
+ -Dsqlite=$(usex sqlite enabled disabled) |
82 |
+ -Dsynctex=$(usex synctex enabled disabled) |
83 |
) |
84 |
meson_src_configure |
85 |
} |
86 |
@@ -50,13 +55,3 @@ src_configure() { |
87 |
src_test() { |
88 |
virtx meson_src_test |
89 |
} |
90 |
- |
91 |
-pkg_postinst() { |
92 |
- gnome2_icon_cache_update |
93 |
- xdg_desktop_database_update |
94 |
-} |
95 |
- |
96 |
-pkg_postrm() { |
97 |
- gnome2_icon_cache_update |
98 |
- xdg_desktop_database_update |
99 |
-} |