summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfred Wingate <parona@protonmail.com>2024-09-03 16:18:35 +0300
committerJoonas Niilola <juippis@gentoo.org>2024-10-21 15:36:22 +0300
commit54086bbd4ac7987e8bb587a0c412c9bede960a62 (patch)
tree3a3813c0d83e8d2eaf025d3921f9e31ceb5d4354 /app-text
parentdev-build/cmake: Stabilize 3.30.5 ppc64, #941924 (diff)
downloadgentoo-54086bbd4ac7987e8bb587a0c412c9bede960a62.tar.gz
gentoo-54086bbd4ac7987e8bb587a0c412c9bede960a62.tar.bz2
gentoo-54086bbd4ac7987e8bb587a0c412c9bede960a62.zip
app-text/zathura: add 0.5.8
* Enable building manpages by default Signed-off-by: Alfred Wingate <parona@protonmail.com> Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'app-text')
-rw-r--r--app-text/zathura/Manifest1
-rw-r--r--app-text/zathura/zathura-0.5.8.ebuild71
2 files changed, 72 insertions, 0 deletions
diff --git a/app-text/zathura/Manifest b/app-text/zathura/Manifest
index 942803becaa7..aa627544c1de 100644
--- a/app-text/zathura/Manifest
+++ b/app-text/zathura/Manifest
@@ -3,3 +3,4 @@ DIST zathura-0.5.2.tar.gz 208606 BLAKE2B fc7e8042a373a3fd66973fd5d6c7c3e7d6da884
DIST zathura-0.5.4-manpages.tar.xz 10060 BLAKE2B 103d2b5ed4ab71bc096305e70addbf94f11539cc989fc867766a1366ec18ca30379ce8f5b9f2b4a4a67507f79bbf6c6136c46f47161d1b74457c04488aa3dcea SHA512 a8251740a8e24e1c37093bec58b0169f04bd318878d743c72f07505a722c58da4f84a2dad5d46ded7789e1b4c5f2a7bab9cc6d023cd0935e49fe4388c9c28bd9
DIST zathura-0.5.4.tar.gz 216719 BLAKE2B 94219e1feb22dc5cf3c072ed7d53b984c58e1f5c2d86b7e2b9e67c2d1cde92e9972aa18583930d3af3bc7d9c2afe367221ed3c2141fee682cc7ea54aae603ec4 SHA512 16f7291c3742cffe9ba5c6a3137781b2dd0b0bfcd61747e45a3c4b14df97781b49d526a298d2be9f564c84e616f1adef2ff4f5442d539fd42ab5e862baa00922
DIST zathura-0.5.6.tar.gz 215311 BLAKE2B 4609fbd38b92aeee55e2f89f0abc15d90a3086ff2e19d497f51fb708016d51d714d3c8a31e6d0574fa01a7f3b4b7b9f758a3296784fc1fa66e6730bac21a0f3b SHA512 df518865bc559b97d7abebde2dae17cbd7bde6b9f8219338bd3a455a5d71b42f62299591b9c12c75a9a6f007b1179cb163722eaaf43ee86e6a6d9e2e25f63465
+DIST zathura-0.5.8.tar.gz 219371 BLAKE2B c7c163e0c1cd5e344ae566ab71ad66d51b89cacd11ef9b335589c0fa705e7a300adab680b7c13a197da3c10b5161656fbb9c8449667eb05e64f0506bf254e675 SHA512 6954f8bf8c76526e86a4e335c18c3c68f509fbbe1081f7c74d333f8a9ba83bc5da971ad744f91408f8b0fb8f0b647ae07f02601b5efa97961155ba193c8777f6
diff --git a/app-text/zathura/zathura-0.5.8.ebuild b/app-text/zathura/zathura-0.5.8.ebuild
new file mode 100644
index 000000000000..cec45e525bb4
--- /dev/null
+++ b/app-text/zathura/zathura-0.5.8.ebuild
@@ -0,0 +1,71 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit meson virtualx xdg
+
+DESCRIPTION="A highly customizable and functional document viewer"
+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"
+else
+ SRC_URI="
+ https://github.com/pwmt/zathura/archive/${PV}.tar.gz -> ${P}.tar.gz
+ "
+ KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86 ~amd64-linux ~x86-linux"
+fi
+
+LICENSE="ZLIB"
+SLOT="0/6.7"
+IUSE="+man seccomp synctex test"
+
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+ dev-libs/json-glib
+ man? ( dev-python/sphinx )
+ seccomp? ( sys-libs/libseccomp )
+ synctex? ( app-text/texlive-core )
+ sys-apps/file
+ x11-libs/cairo
+ x11-libs/pango
+ >=dev-db/sqlite-3.6.23:3
+ >=dev-libs/girara-0.4.3:=
+ >=dev-libs/glib-2.72:2
+ >=x11-libs/gtk+-3.24:3
+"
+DEPEND="
+ ${RDEPEND}
+ >=sys-kernel/linux-headers-5.13
+ test? (
+ dev-libs/check
+ >=x11-libs/gtk+-3.24:3[X]
+ )
+"
+BDEPEND="
+ >=sys-devel/gettext-0.19.8
+ virtual/pkgconfig
+"
+
+src_configure() {
+ local emesonargs=(
+ -Dconvert-icon=disabled
+ -Dlandlock=enabled
+ -Dmanpages=$(usex man enabled disabled)
+ -Dseccomp=$(usex seccomp enabled disabled)
+ -Dsynctex=$(usex synctex enabled disabled)
+ )
+ meson_src_configure
+}
+
+src_test() {
+ virtx meson_src_test
+}
+
+src_install() {
+ meson_src_install
+}