app-text/zathura: wire up test option

Why not?

Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sam James 2025-05-23 06:36:48 +01:00
parent b73456cd7e
commit ff6cf08c3f
No known key found for this signature in database
GPG Key ID: 738409F520DF9190
2 changed files with 7 additions and 5 deletions

View File

@ -10,8 +10,7 @@ HOMEPAGE="https://pwmt.org/projects/zathura/"
if [[ ${PV} == *9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://git.pwmt.org/pwmt/${PN}.git"
EGIT_BRANCH="develop"
EGIT_REPO_URI="https://github.com/pwmt/zathura.git"
else
SRC_URI="
https://github.com/pwmt/zathura/archive/${PV}.tar.gz -> ${P}.tar.gz
@ -58,7 +57,8 @@ src_configure() {
-Dmanpages=$(usex man enabled disabled)
-Dseccomp=$(usex seccomp enabled disabled)
-Dsynctex=$(usex synctex enabled disabled)
)
$(meson_feature test tests)
)
meson_src_configure
}

View File

@ -1,4 +1,4 @@
# Copyright 1999-2024 Gentoo Authors
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@ -49,6 +49,7 @@ BDEPEND="
>=sys-devel/gettext-0.19.8
virtual/pkgconfig
"
src_configure() {
local emesonargs=(
-Dconvert-icon=disabled
@ -56,7 +57,8 @@ src_configure() {
-Dmanpages=$(usex man enabled disabled)
-Dseccomp=$(usex seccomp enabled disabled)
-Dsynctex=$(usex synctex enabled disabled)
)
$(meson_feature test tests)
)
meson_src_configure
}