summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPiotr Karbowski <slashbeast@gentoo.org>2023-01-21 16:26:35 +0100
committerPiotr Karbowski <slashbeast@gentoo.org>2023-01-21 16:38:37 +0100
commitff8925541b7344eef7cf9ef73d29a88cdab45038 (patch)
treee48ed1b6762ced55a97e5d1ec20cc87710caeeb3 /app-text
parentapp-text/sdcv: Stabilize 0.5.4 x86, #888464 (diff)
downloadgentoo-ff8925541b7344eef7cf9ef73d29a88cdab45038.tar.gz
gentoo-ff8925541b7344eef7cf9ef73d29a88cdab45038.tar.bz2
gentoo-ff8925541b7344eef7cf9ef73d29a88cdab45038.zip
app-text/zathura: 0.5.2-r3: use prebuilt manpages.
This change aligns zathura to the installed-files policy changes published on 2023-01-18 Closes: https://bugs.gentoo.org/890589 Signed-off-by: Piotr Karbowski <slashbeast@gentoo.org>
Diffstat (limited to 'app-text')
-rw-r--r--app-text/zathura/Manifest1
-rw-r--r--app-text/zathura/zathura-0.5.2-r3.ebuild (renamed from app-text/zathura/zathura-0.5.2-r2.ebuild)15
2 files changed, 13 insertions, 3 deletions
diff --git a/app-text/zathura/Manifest b/app-text/zathura/Manifest
index 590059c04fb6..0ae0b91f44e5 100644
--- a/app-text/zathura/Manifest
+++ b/app-text/zathura/Manifest
@@ -1,2 +1,3 @@
DIST zathura-0.4.9.tar.gz 206194 BLAKE2B 0dd4b153cf7f8e3ddd4ede5514389b2c5e4aa88e2c416646acc38f7e19419e11165c2a5b51548a05d69a1b947e661b885f7c9d8c100179d0d23d8754cb441d97 SHA512 fbab65cba7ac37e4021233a4ae0356a85f4a88d2c1a2d8337cd627eae389856b6b4e692904233332d2fa14ad0300e8c52732059a75314a0ef147a02ca9f8db10
+DIST zathura-0.5.2-manpages.tar.xz 9696 BLAKE2B 23c6e94d5b44c1e20338ea04afb7644e4c76618cdc4902d2edd436734498c6b17e1522b37269d67a62801632595f535724d8f5d4c9817e017e6341c5365c5842 SHA512 3bb431f0564ddc1f67bcd21f019a43f6af95c3e3b42b264b7e1f01f10cebd7c05115e452a868dd176e5a0d65a9085ac3d554d69e553aa53569593ea494036f7c
DIST zathura-0.5.2.tar.gz 208606 BLAKE2B fc7e8042a373a3fd66973fd5d6c7c3e7d6da884fb40269545e4074b42fdbc9b6f286089769a435394812e24a8b24de328521a2fd797bbb13c16115b112dd9a48 SHA512 17f2a6535b2b3c6f61986cd8a6ccdef2c1a129d8ebf8c86cbe3c8eac868c2780801f3fe2fdc17c429ca0c63a71a328bbb6c7f814f82714dd7f1a5a4728663b1f
diff --git a/app-text/zathura/zathura-0.5.2-r2.ebuild b/app-text/zathura/zathura-0.5.2-r3.ebuild
index 871f9948e8f7..15177a979378 100644
--- a/app-text/zathura/zathura-0.5.2-r2.ebuild
+++ b/app-text/zathura/zathura-0.5.2-r3.ebuild
@@ -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://dev.gentoo.org/~slashbeast/distfiles/${PN}/${P}-manpages.tar.xz
+ "
KEYWORDS="~amd64 ~arm ~riscv ~x86 ~amd64-linux ~x86-linux"
fi
@@ -35,7 +38,7 @@ DEPEND=">=dev-libs/girara-0.3.7
RDEPEND="${DEPEND}"
-BDEPEND="dev-python/sphinx
+BDEPEND="
test? ( dev-libs/appstream-glib
dev-libs/check )
virtual/pkgconfig"
@@ -47,7 +50,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)
@@ -55,6 +58,12 @@ src_configure() {
meson_src_configure
}
+src_install() {
+ default
+
+ doman "${WORKDIR}"/man/zathura*
+}
+
src_test() {
virtx meson_src_test
}