summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMason Rocha <turret@turret.cyou>2023-12-09 14:09:30 -0600
committerSam James <sam@gentoo.org>2024-01-21 03:56:36 +0000
commit6ca4cc6ca7af63a24b266a59a1640b2eaab301d2 (patch)
tree57fba51ebe0386a7cbb0ab8542a7a0dcdd828168 /app-text
parentapp-text/zathura: add 0.5.3 (diff)
downloadgentoo-6ca4cc6ca7af63a24b266a59a1640b2eaab301d2.tar.gz
gentoo-6ca4cc6ca7af63a24b266a59a1640b2eaab301d2.tar.bz2
gentoo-6ca4cc6ca7af63a24b266a59a1640b2eaab301d2.zip
app-text/zathura: update dependencies, rebase patch for 9999
upstream's changes to tests/meson.build require patch rebase, 0.5.3 introduced some dependency changes so those are also reflected here. Signed-off-by: Mason Rocha <turret@turret.cyou> Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'app-text')
-rw-r--r--app-text/zathura/files/zathura-9999-disable-seccomp-tests.patch22
-rw-r--r--app-text/zathura/zathura-9999.ebuild24
2 files changed, 35 insertions, 11 deletions
diff --git a/app-text/zathura/files/zathura-9999-disable-seccomp-tests.patch b/app-text/zathura/files/zathura-9999-disable-seccomp-tests.patch
new file mode 100644
index 000000000000..7658f3f6f417
--- /dev/null
+++ b/app-text/zathura/files/zathura-9999-disable-seccomp-tests.patch
@@ -0,0 +1,22 @@
+diff --git a/tests/meson.build b/tests/meson.build
+index 1b2e81a..b2b7565 100644
+--- a/tests/meson.build
++++ b/tests/meson.build
+@@ -45,17 +45,5 @@ if check.found()
+ args: ['-a', '-s', '-screen 0 1400x900x24 -ac +extension GLX +render -noreset', 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: ['-a', '-s', '-screen 0 1400x900x24 -ac +extension GLX +render -noreset', sandbox],
+- timeout: 60*60
+- )
+- endif
+ endif
+ endif
diff --git a/app-text/zathura/zathura-9999.ebuild b/app-text/zathura/zathura-9999.ebuild
index 1ad4fe4776d4..4874ec9d4c41 100644
--- a/app-text/zathura/zathura-9999.ebuild
+++ b/app-text/zathura/zathura-9999.ebuild
@@ -15,40 +15,42 @@ if [[ ${PV} == *9999 ]]; then
else
SRC_URI="
https://github.com/pwmt/zathura/archive/${PV}.tar.gz -> ${P}.tar.gz
- https://cdn.turret.cyou/354c6d33bfd3bbc67c0047af1328498978eef352/${P}-manpages.tar.xz
+ https://cdn.turret.cyou/e28b2f940d1a19a74ecbfd80ea4477c5ea9ac627/${P}-manpages.tar.xz
"
KEYWORDS="~amd64 ~arm ~riscv ~x86 ~amd64-linux ~x86-linux"
fi
LICENSE="ZLIB"
-SLOT="0/$(ver_cut 1-2)"
+SLOT="0/5.6"
IUSE="seccomp sqlite synctex test"
RESTRICT="!test? ( test )"
-DEPEND="
- >=dev-libs/girara-0.3.7
+RDEPEND="
+ >=dev-libs/girara-0.4.1
>=dev-libs/glib-2.50:2
+ dev-libs/json-glib
sys-apps/file
- >=sys-devel/gettext-0.19.8
x11-libs/cairo
>=x11-libs/gtk+-3.22:3
seccomp? ( sys-libs/libseccomp )
- sqlite? ( >=dev-db/sqlite-3.5.9:3 )
+ sqlite? ( >=dev-db/sqlite-3.6.23:3 )
synctex? ( app-text/texlive-core )
"
-RDEPEND="${DEPEND}"
-BDEPEND="
+DEPEND="
+ ${RDEPEND}
test? (
- dev-libs/appstream-glib
dev-libs/check
- x11-base/xorg-server[xvfb]
+ x11-libs/gtk+[X]
)
+"
+BDEPEND="
+ >=sys-devel/gettext-0.19.8
virtual/pkgconfig
"
PATCHES=(
- "${FILESDIR}"/zathura-disable-seccomp-tests.patch
+ "${FILESDIR}"/${P}-disable-seccomp-tests.patch
)
src_configure() {