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/Manifest | 5 ++- app-text/zathura/metadata.xml | 14 +++++-- app-text/zathura/zathura-0.5.2-r5.ebuild | 72 ++++++++++++++++++++++++++++++++ app-text/zathura/zathura-9999.ebuild | 38 +++++++++++------ 4 files changed, 110 insertions(+), 19 deletions(-) create mode 100644 app-text/zathura/zathura-0.5.2-r5.ebuild (limited to 'app-text/zathura') diff --git a/app-text/zathura/Manifest b/app-text/zathura/Manifest index 8fd1958ab01e..683b4040fbd1 100644 --- a/app-text/zathura/Manifest +++ b/app-text/zathura/Manifest @@ -4,5 +4,6 @@ DIST zathura-0.5.2-manpages.tar.xz 9696 BLAKE2B 23c6e94d5b44c1e20338ea04afb7644e DIST zathura-0.5.2.tar.gz 208606 BLAKE2B fc7e8042a373a3fd66973fd5d6c7c3e7d6da884fb40269545e4074b42fdbc9b6f286089769a435394812e24a8b24de328521a2fd797bbb13c16115b112dd9a48 SHA512 17f2a6535b2b3c6f61986cd8a6ccdef2c1a129d8ebf8c86cbe3c8eac868c2780801f3fe2fdc17c429ca0c63a71a328bbb6c7f814f82714dd7f1a5a4728663b1f EBUILD zathura-0.4.9.ebuild 1355 BLAKE2B 82e932b9fddd23316066c358a6aede8480532c970a992270f9f6fa2a3c7545b4286249d4ce9a96b9079500ede0e2371fe8682e2b234a93c4e351d1781507b7ea SHA512 7978966e9716677442b274af5792aa3e2a682f7e1963ed6c3ed094f322e8a12db1118525b06c600c407c362177584c543679de2583cfadfd5e4ad95e86d30734 EBUILD zathura-0.5.2-r4.ebuild 1475 BLAKE2B 7e56932df1725c9dfe75dfeeef2c931f6ad5447a0cb659032f87ad3918b6fcd17a1ff9a3c3cef186b18124476a409ed075ce029085b27a16df2ca8ac5db8bafd SHA512 655fce064130f4fd4846a5734221e3c01b52ac10ba6720e127faf86069409fcacf6e568819ed054d72a4d5e04641ecac9834113349cd93e8b3b2357061889f3c -EBUILD zathura-9999.ebuild 1344 BLAKE2B 4963fd1b776f6028efc676cb1280ff7502c4f05de97a6481d397229bfde7e3e76c3fd58547af96a1e46d1e02581c653bb1823dc7f45e734b0a12b54629163cc1 SHA512 270f4ca7ce870b493504b6a26b9b3d31ac5788a442b0d44422a51a40e77fa03d46e032a1701c6a30a6cbe04ea34eefc992680bf0fb712f48da6022666da09cdf -MISC metadata.xml 736 BLAKE2B 34efcbfa71eed418dd79e613fa22bd52e9fc8bae5a669c91943c00b1440e99b2950374905e2a6ec200512fed281220bc4002b3b93d01316db6b297e882312a36 SHA512 4deb195061f8b306be7eb10c23089ac55087be781ba287164e1041d79278a9bfc6b16e97617c1ed4e0a1f75c6ffe479824fb498c5c90d43fe659e47d33170ba2 +EBUILD zathura-0.5.2-r5.ebuild 1550 BLAKE2B 2a07787e80374649f3e9ae523242062f7e036a76e3b64f63e14ce5724ecf0b5fdee294fac8a806227ac3d08be592439e3cb5190ad7533b9fa87f15d917cd0acf SHA512 f9eac669bf2944cfc9f2ab6e669e3dfe044ecbb2383cf7db9e6068a51c989774b4540e7d7e3ff1386a3ae77877961ad1e095913d89d1bc4da8fd26ce31381487 +EBUILD zathura-9999.ebuild 1550 BLAKE2B 2a07787e80374649f3e9ae523242062f7e036a76e3b64f63e14ce5724ecf0b5fdee294fac8a806227ac3d08be592439e3cb5190ad7533b9fa87f15d917cd0acf SHA512 f9eac669bf2944cfc9f2ab6e669e3dfe044ecbb2383cf7db9e6068a51c989774b4540e7d7e3ff1386a3ae77877961ad1e095913d89d1bc4da8fd26ce31381487 +MISC metadata.xml 920 BLAKE2B ca0d49998fae1b1661154d99cc8017d4afe8e2fd76869ef5b7adb3320a64df091e38ac288b7b1d9704d46b4d2cb9a477f17a9baa71ab1cffed0b9cb45c59e0f1 SHA512 b5403a9336fe7f382ce8ba3c5744a36b437c3a6bc2c7793812085dcb4315585859c17aaf29b567be9d95925a4f5d71f4596eb114620ac2d69804d340728efce2 diff --git a/app-text/zathura/metadata.xml b/app-text/zathura/metadata.xml index e5e83423d93d..2619e14a2244 100644 --- a/app-text/zathura/metadata.xml +++ b/app-text/zathura/metadata.xml @@ -1,7 +1,14 @@ - + + turret@turret.cyou + Mason Rocha + + + proxy-maint@gentoo.org + Proxy Maintainers + Use libsynctex to get latex codeline from pdf @@ -14,9 +21,8 @@ sebastian+dev@ramacher.at Sebastian Ramacher - http://pwmt.org/projects/zathura/download/ - http://pwmt.org/projects/zathura/ - http://bugs.pwmt.org/ + https://pwmt.org/projects/zathura/download/ + https://pwmt.org/projects/zathura/ pwmt/zathura diff --git a/app-text/zathura/zathura-0.5.2-r5.ebuild b/app-text/zathura/zathura-0.5.2-r5.ebuild new file mode 100644 index 000000000000..1ad4fe4776d4 --- /dev/null +++ b/app-text/zathura/zathura-0.5.2-r5.ebuild @@ -0,0 +1,72 @@ +# Copyright 1999-2023 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 + https://cdn.turret.cyou/354c6d33bfd3bbc67c0047af1328498978eef352/${P}-manpages.tar.xz + " + KEYWORDS="~amd64 ~arm ~riscv ~x86 ~amd64-linux ~x86-linux" +fi + +LICENSE="ZLIB" +SLOT="0/$(ver_cut 1-2)" +IUSE="seccomp sqlite synctex test" + +RESTRICT="!test? ( test )" + +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 + seccomp? ( sys-libs/libseccomp ) + sqlite? ( >=dev-db/sqlite-3.5.9:3 ) + synctex? ( app-text/texlive-core ) +" +RDEPEND="${DEPEND}" +BDEPEND=" + test? ( + dev-libs/appstream-glib + dev-libs/check + x11-base/xorg-server[xvfb] + ) + virtual/pkgconfig +" + +PATCHES=( + "${FILESDIR}"/zathura-disable-seccomp-tests.patch +) + +src_configure() { + local emesonargs=( + -Dconvert-icon=disabled + -Dmanpages=disabled + -Dseccomp=$(usex seccomp enabled disabled) + -Dsqlite=$(usex sqlite enabled disabled) + -Dsynctex=$(usex synctex enabled disabled) + ) + meson_src_configure +} + +src_test() { + virtx meson_src_test +} + +src_install() { + meson_src_install + [[ ${PV} != *9999 ]] && doman "${WORKDIR}"/man/zathura* +} 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