mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 17:09:10 -07:00
app-text/zathura: fix 9999 ebuild
Update disable-seccomp-tests patch. Bump girara version. Make sqlite a hard dependency. Signed-off-by: Nicu Borta <nicu.borta111@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/36137 Signed-off-by: Joonas Niilola <juippis@gentoo.org>
This commit is contained in:
committed by
Joonas Niilola
parent
eedd9727fa
commit
15c83a66d3
@@ -0,0 +1,22 @@
|
||||
diff --git a/tests/meson.build b/tests/meson.build
|
||||
index 10531a5..1c79e29 100644
|
||||
--- a/tests/meson.build
|
||||
+++ b/tests/meson.build
|
||||
@@ -54,17 +54,5 @@ if check.found()
|
||||
args: xvfb_args + [session],
|
||||
timeout: 60*60
|
||||
)
|
||||
-
|
||||
- if seccomp.found()
|
||||
- sandbox = executable('test_sandbox', ['test_sandbox.c', 'tests.c'],
|
||||
- dependencies: build_dependencies + test_dependencies,
|
||||
- include_directories: include_directories,
|
||||
- c_args: defines + flags
|
||||
- )
|
||||
- test('sandbox', xvfb,
|
||||
- args: xvfb_args + [sandbox],
|
||||
- timeout: 60*60
|
||||
- )
|
||||
- endif
|
||||
endif
|
||||
endif
|
||||
@@ -22,19 +22,19 @@ fi
|
||||
|
||||
LICENSE="ZLIB"
|
||||
SLOT="0/5.6"
|
||||
IUSE="seccomp sqlite synctex test"
|
||||
IUSE="seccomp synctex test"
|
||||
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-libs/girara-0.4.1
|
||||
>=dev-libs/girara-0.4.3
|
||||
>=dev-libs/glib-2.50:2
|
||||
dev-libs/json-glib
|
||||
sys-apps/file
|
||||
x11-libs/cairo
|
||||
>=x11-libs/gtk+-3.22:3
|
||||
>=dev-db/sqlite-3.6.23:3
|
||||
seccomp? ( sys-libs/libseccomp )
|
||||
sqlite? ( >=dev-db/sqlite-3.6.23:3 )
|
||||
synctex? ( app-text/texlive-core )
|
||||
"
|
||||
DEPEND="
|
||||
@@ -50,7 +50,7 @@ BDEPEND="
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/zathura-0.5.4-disable-seccomp-tests.patch"
|
||||
"${FILESDIR}"/${P}-disable-seccomp-tests.patch
|
||||
)
|
||||
|
||||
src_configure() {
|
||||
@@ -58,7 +58,6 @@ src_configure() {
|
||||
-Dconvert-icon=disabled
|
||||
-Dmanpages=disabled
|
||||
-Dseccomp=$(usex seccomp enabled disabled)
|
||||
-Dsqlite=$(usex sqlite enabled disabled)
|
||||
-Dsynctex=$(usex synctex enabled disabled)
|
||||
)
|
||||
meson_src_configure
|
||||
|
||||
Reference in New Issue
Block a user