From 14a6858a7d8bc085420a1430b3a3f67885019f27 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Tue, 29 Aug 2023 04:04:16 +0100 Subject: gentoo auto-resync : 29:08:2023 - 04:04:16 --- app-text/zathura/zathura-9999.ebuild | 38 ++++++++++++++++++++++++------------ 1 file changed, 25 insertions(+), 13 deletions(-) (limited to 'app-text/zathura/zathura-9999.ebuild') diff --git a/app-text/zathura/zathura-9999.ebuild b/app-text/zathura/zathura-9999.ebuild index 871f9948e8f7..1ad4fe4776d4 100644 --- a/app-text/zathura/zathura-9999.ebuild +++ b/app-text/zathura/zathura-9999.ebuild @@ -1,7 +1,7 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 inherit meson virtualx xdg @@ -13,7 +13,10 @@ if [[ ${PV} == *9999 ]]; then EGIT_REPO_URI="https://git.pwmt.org/pwmt/${PN}.git" EGIT_BRANCH="develop" else - SRC_URI="https://github.com/pwmt/zathura/archive/${PV}.tar.gz -> ${P}.tar.gz" + SRC_URI=" + https://github.com/pwmt/zathura/archive/${PV}.tar.gz -> ${P}.tar.gz + https://cdn.turret.cyou/354c6d33bfd3bbc67c0047af1328498978eef352/${P}-manpages.tar.xz + " KEYWORDS="~amd64 ~arm ~riscv ~x86 ~amd64-linux ~x86-linux" fi @@ -23,22 +26,26 @@ IUSE="seccomp sqlite synctex test" RESTRICT="!test? ( test )" -DEPEND=">=dev-libs/girara-0.3.7 +DEPEND=" + >=dev-libs/girara-0.3.7 >=dev-libs/glib-2.50:2 + sys-apps/file >=sys-devel/gettext-0.19.8 x11-libs/cairo >=x11-libs/gtk+-3.22:3 - sys-apps/file seccomp? ( sys-libs/libseccomp ) sqlite? ( >=dev-db/sqlite-3.5.9:3 ) - synctex? ( app-text/texlive-core )" - + synctex? ( app-text/texlive-core ) +" RDEPEND="${DEPEND}" - -BDEPEND="dev-python/sphinx - test? ( dev-libs/appstream-glib - dev-libs/check ) - virtual/pkgconfig" +BDEPEND=" + test? ( + dev-libs/appstream-glib + dev-libs/check + x11-base/xorg-server[xvfb] + ) + virtual/pkgconfig +" PATCHES=( "${FILESDIR}"/zathura-disable-seccomp-tests.patch @@ -47,7 +54,7 @@ PATCHES=( src_configure() { local emesonargs=( -Dconvert-icon=disabled - -Dmanpages=enabled + -Dmanpages=disabled -Dseccomp=$(usex seccomp enabled disabled) -Dsqlite=$(usex sqlite enabled disabled) -Dsynctex=$(usex synctex enabled disabled) @@ -58,3 +65,8 @@ src_configure() { src_test() { virtx meson_src_test } + +src_install() { + meson_src_install + [[ ${PV} != *9999 ]] && doman "${WORKDIR}"/man/zathura* +} -- cgit v1.2.3