Diff zathura-0.4.9 with a zathura-0.5.2-r4
/usr/portage/app-text/zathura/zathura-0.5.2-r4.ebuild 2023-10-09 14:52:28.904368335 +0300 | ||
---|---|---|
1 |
# Copyright 1999-2022 Gentoo Authors |
|
1 |
# Copyright 1999-2023 Gentoo Authors |
|
2 | 2 |
# Distributed under the terms of the GNU General Public License v2 |
3 | 3 | |
4 | 4 |
EAPI=7 |
... | ... | |
13 | 13 |
EGIT_REPO_URI="https://git.pwmt.org/pwmt/${PN}.git" |
14 | 14 |
EGIT_BRANCH="develop" |
15 | 15 |
else |
16 |
SRC_URI="https://github.com/pwmt/zathura/archive/${PV}.tar.gz -> ${P}.tar.gz" |
|
16 |
SRC_URI=" |
|
17 |
https://github.com/pwmt/zathura/archive/${PV}.tar.gz -> ${P}.tar.gz |
|
18 |
https://dev.gentoo.org/~slashbeast/distfiles/${PN}/${P}-manpages.tar.xz |
|
19 |
" |
|
17 | 20 |
KEYWORDS="amd64 arm ~riscv x86 ~amd64-linux ~x86-linux" |
18 | 21 |
fi |
19 | 22 | |
20 | 23 |
LICENSE="ZLIB" |
21 |
SLOT="0" |
|
22 |
IUSE="doc +magic seccomp sqlite synctex test" |
|
24 |
SLOT="0/$(ver_cut 1-2)" |
|
25 |
IUSE="seccomp sqlite synctex test" |
|
23 | 26 | |
24 | 27 |
RESTRICT="!test? ( test )" |
25 | 28 | |
... | ... | |
28 | 31 |
>=sys-devel/gettext-0.19.8 |
29 | 32 |
x11-libs/cairo |
30 | 33 |
>=x11-libs/gtk+-3.22:3 |
31 |
magic? ( sys-apps/file ) |
|
34 |
sys-apps/file |
|
32 | 35 |
seccomp? ( sys-libs/libseccomp ) |
33 | 36 |
sqlite? ( >=dev-db/sqlite-3.5.9:3 ) |
34 | 37 |
synctex? ( app-text/texlive-core )" |
35 | 38 | |
36 | 39 |
RDEPEND="${DEPEND}" |
37 | 40 | |
38 |
BDEPEND="doc? ( dev-python/sphinx ) |
|
41 |
BDEPEND=" |
|
39 | 42 |
test? ( dev-libs/appstream-glib |
40 | 43 |
dev-libs/check ) |
41 | 44 |
virtual/pkgconfig" |
42 | 45 | |
46 |
PATCHES=( |
|
47 |
"${FILESDIR}"/zathura-disable-seccomp-tests.patch |
|
48 |
) |
|
49 | ||
43 | 50 |
src_configure() { |
44 | 51 |
local emesonargs=( |
45 | 52 |
-Dconvert-icon=disabled |
46 |
-Dmagic=$(usex magic enabled disabled) |
|
47 |
-Dmanpages=$(usex doc enabled disabled) |
|
53 |
-Dmanpages=disabled |
|
48 | 54 |
-Dseccomp=$(usex seccomp enabled disabled) |
49 | 55 |
-Dsqlite=$(usex sqlite enabled disabled) |
50 | 56 |
-Dsynctex=$(usex synctex enabled disabled) |
... | ... | |
52 | 58 |
meson_src_configure |
53 | 59 |
} |
54 | 60 | |
61 |
src_install() { |
|
62 |
meson_src_install |
|
63 |
doman "${WORKDIR}"/man/zathura* |
|
64 |
} |
|
65 | ||
55 | 66 |
src_test() { |
56 | 67 |
virtx meson_src_test |
57 | 68 |
} |