diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-10-22 04:04:46 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-10-22 04:04:46 +0100 |
commit | a15e8dc7444560123d7d4be1bccb19afd5b611d0 (patch) | |
tree | 6e26ee0323c09494a66d0f78c4b81e305bb0d096 /app-text/zathura-pdf-mupdf | |
parent | 3dc4de6331223493015f198dc61854af604da86c (diff) |
gentoo auto-resync : 22:10:2024 - 04:04:46
Diffstat (limited to 'app-text/zathura-pdf-mupdf')
5 files changed, 59 insertions, 94 deletions
diff --git a/app-text/zathura-pdf-mupdf/Manifest b/app-text/zathura-pdf-mupdf/Manifest index bd43e6ee3a23..bcff99449b8d 100644 --- a/app-text/zathura-pdf-mupdf/Manifest +++ b/app-text/zathura-pdf-mupdf/Manifest @@ -1,8 +1,7 @@ -AUX zathura-pdf-mupdf-0.4.0-meson-mupdfthird.patch 1015 BLAKE2B b2ba561909eafed3f1aef2efdf5596a2d0f1a933c1e60106eef9ce52f86c9182492b4e4959f274312332089863e4209204c098d4baa1885de28eeaafd04d803d SHA512 264d6b4eb035424a54eccdc8b5103142f6c822de1e4831303413b778769b520268f02139213d391294d1c407289e075148c227e6a0d8fe02ba03d401f9c0f067 AUX zathura-pdf-mupdf-0.4.3-meson-mupdfthird.patch 1329 BLAKE2B 4932a6c7385b6983d97fa5a175aab47e0d972404bd051c9162682f588f1c3263aacda97ecd0615b11e1882983fe99f9a38325d4dcb8bd91c61aff5bf68ed72fe SHA512 85beddc896b90d2d5bc716619588a558ce412a35ec0e76b64dde1fd4861f9307f07de082dc87c13a1e791b1277451ee9d2d515a1784f138cad87d2cfb6ac3fcb -DIST zathura-pdf-mupdf-0.4.1.tar.gz 9346 BLAKE2B f1998acf00696fd40577f6e53b597258e519d3862c5b6b29bec292aaa732acf0b7a80ddf1b2f62d95d9462fe811a73cd912009106394bf1aadfa76be9c6d1adc SHA512 bf3360cdf6195af3cace4c769536a49f1cf2167c70a65b560410db1a0098119d726e73baeea98ca7100653c17248056c484fc436558e52a8dc12e7b83ce789b1 DIST zathura-pdf-mupdf-0.4.3.tar.gz 10146 BLAKE2B ca4edc56256d04e5ba42dd756976a3e444f37dfb5c1fff569329478c3053f7d48fa689d61b8769a73bac50e1244e74855705a9cd1cd25ed37a6927bd6c2ccf75 SHA512 ffab536d1cea26dd08fbb3808e0ff5d4b5b126bfdbd19a79101ac519ee9951d916b75c5b1b1e459f453087c936d84fa3839b4b84dd7f92398ba5cca87e186795 -EBUILD zathura-pdf-mupdf-0.4.1.ebuild 854 BLAKE2B 307d946230fec4726d71535c010e7f9a337903662fac5cb8c1479f43af0d37c77c422dc69cbe1403b2ae57d66e78d70b2ebe31ba7e4200dc2527370cffc6eca9 SHA512 ccdd7bc811922a3d3c2a0410a4ec5792b5522a8cca2a3762d6a76191295a0354653d41cce3ef9622cd86d5fe29ba8ed406ef69d2b7d7d9105d4e84ac22963c7b +DIST zathura-pdf-mupdf-0.4.4.tar.gz 10100 BLAKE2B aa969ac9a702150d05e8c1dfc7f0f6752c0371c812a208f33ab19c14423b12636345544ce898eda3ab5517b895c832a91f3a6866468049e03b2d36a67d198c06 SHA512 c6297b8ed68a0797db2e7b295d7fc7cb4d099f24cd9faea49e1e2d0c61818b071297b57f6472c057010caf104053cc0866685349b33a61302280cb52bac055cf EBUILD zathura-pdf-mupdf-0.4.3.ebuild 890 BLAKE2B e67ace6a842d1e5c42d0ccba5ec7d2ac00f8c885eaabd3eb2ae6a131b3c4750a99a6c7da744b46e4141770c80e0cda08304eb4d5960648b4bbaab9de221c0ba7 SHA512 140a05db9dfad040197cfed16164a7189c14b3a433b53cbd740c7923ad998b90d85735fe58a996a7c65f43885bb495af8fd5fbe13c8aca8cbfa34f789e2ebbb0 -EBUILD zathura-pdf-mupdf-9999.ebuild 900 BLAKE2B 4448a6191e58ce573c005681719abbd9fd42db7d0d700ef13a21bd478f2b43410a618a4ad402d627691e7db2dce9ec178ca8afebed150617e0ca4fe84f4349fb SHA512 903cc40c480e1b8b42d1e8e9cfcf23e9a26b690546dffaf33a02a81e639e503aa411b69e5f29b7f3b85843e66638d499ec6dee3e158ac492765d35296d937e4a +EBUILD zathura-pdf-mupdf-0.4.4.ebuild 976 BLAKE2B 12ef69f9250b997db331ffa24873cf2a06378e545c5f2f0759ca13582543d4d325648d2248cb715630556b9c12ffaf20d5188ce1dee07b121c039ebf585a13f2 SHA512 716af958d974feaf56874318974bb23fc6ab499adeb77f66c51b2eb8b7fdd97070df679603872e633b43e5339af0fa7e39da101c2139d3f96c730f9a452b6c38 +EBUILD zathura-pdf-mupdf-9999.ebuild 953 BLAKE2B 38b4471277e4ab14f95342a84ddcb2aba89b7b6a4e2025f7733d233d75fd8137df3077092bf636d2b160b44ad4d2071b4f5c152c6f027b04c2a523045c225fa6 SHA512 47aaa146e445596d3ff5a6cffdc0945fe6ea1a289a42d7bdc62b7c9894376324e89d4b286d4d240bc3d3d3e5e29d4e309438e3b2a693a460520f9bbb5ab1f6c7 MISC metadata.xml 882 BLAKE2B 7942e40c627610201c9fac32b873a457af91e1643df2d77edb7b16e8d16b190b03232515268b5f00127a385ec0ae195993830dce2c128fc982f330663b44bf4a SHA512 9509293871df3131a4502669c6b1e5bf875a821f56d00d37a9d0fefb426e572be456908c9767884b625f5bac966ca4c83b433926d8b2118f28cffa06a6719788 diff --git a/app-text/zathura-pdf-mupdf/files/zathura-pdf-mupdf-0.4.0-meson-mupdfthird.patch b/app-text/zathura-pdf-mupdf/files/zathura-pdf-mupdf-0.4.0-meson-mupdfthird.patch deleted file mode 100644 index caa0da05e37c..000000000000 --- a/app-text/zathura-pdf-mupdf/files/zathura-pdf-mupdf-0.4.0-meson-mupdfthird.patch +++ /dev/null @@ -1,39 +0,0 @@ ---- a/meson.build -+++ b/meson.build -@@ -20,7 +20,6 @@ girara = dependency('girara-gtk3') - glib = dependency('glib-2.0') - cairo = dependency('cairo') - mupdf = dependency('mupdf', required: false) --mupdfthird = cc.find_library('mupdf-third') - - build_dependencies = [ - zathura, -@@ -32,17 +31,15 @@ build_dependencies = [ - if not mupdf.found() - # normal build of mupdf - mupdf = cc.find_library('mupdf') -- build_dependencies += [mupdf, mupdfthird] -+ build_dependencies += [mupdf] - else - # build from Debian's libmupdf-dev -- build_dependencies += [mupdf, mupdfthird] -+ build_dependencies += [mupdf] - - libjpeg = dependency('libjpeg') - libjbig2dec = cc.find_library('jbig2dec') - libopenjp2 = dependency('libopenjp2') - gumbo = dependency('gumbo') -- tesseract = dependency('tesseract') -- leptonica = dependency('lept') - mujs = dependency('mujs') - - build_dependencies += [ -@@ -50,8 +47,6 @@ else - libjbig2dec, - libopenjp2, - gumbo, -- tesseract, -- leptonica, - mujs - ] - endif diff --git a/app-text/zathura-pdf-mupdf/zathura-pdf-mupdf-0.4.1.ebuild b/app-text/zathura-pdf-mupdf/zathura-pdf-mupdf-0.4.1.ebuild deleted file mode 100644 index 94db4774090d..000000000000 --- a/app-text/zathura-pdf-mupdf/zathura-pdf-mupdf-0.4.1.ebuild +++ /dev/null @@ -1,46 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit meson xdg - -if [[ ${PV} == *9999 ]]; then - inherit git-r3 - EGIT_REPO_URI="https://git.pwmt.org/pwmt/zathura-pdf-mupdf.git" - EGIT_BRANCH="develop" -else - KEYWORDS="amd64 arm x86" - SRC_URI="https://git.pwmt.org/pwmt/${PN}/-/archive/${PV}/${P}.tar.gz" -fi - -DESCRIPTION="PDF plug-in for zathura" -HOMEPAGE="https://git.pwmt.org/pwmt/zathura-pdf-mupdf" - -LICENSE="ZLIB" -SLOT="0" -IUSE="+javascript" - -DEPEND=" - >=app-text/mupdf-1.20.0:=[javascript?] - >=app-text/zathura-0.5.2:= - dev-libs/girara - dev-libs/glib:2 - x11-libs/cairo -" - -RDEPEND="${DEPEND}" - -BDEPEND="virtual/pkgconfig" - -PATCHES=( - "${FILESDIR}/${PN}-0.4.0-meson-mupdfthird.patch" -) - -src_prepare() ( - default - - if ! use javascript ; then - sed -i -e '/mujs/d' meson.build || die - fi -) diff --git a/app-text/zathura-pdf-mupdf/zathura-pdf-mupdf-0.4.4.ebuild b/app-text/zathura-pdf-mupdf/zathura-pdf-mupdf-0.4.4.ebuild new file mode 100644 index 000000000000..70c7609cebde --- /dev/null +++ b/app-text/zathura-pdf-mupdf/zathura-pdf-mupdf-0.4.4.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit meson xdg + +if [[ ${PV} == *9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/pwmt/zathura-pdf-mupdf.git" + EGIT_BRANCH="develop" +else + KEYWORDS="~amd64 ~arm ~x86" + SRC_URI="https://github.com/pwmt/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" +fi + +DESCRIPTION="PDF support for zathura using the mupdf PDF rendering library" +HOMEPAGE="https://pwmt.org/projects/zathura-pdf-mupdf/" + +LICENSE="ZLIB" +SLOT="0" +IUSE="+javascript" + +# Tests currently only validating data files +RESTRICT="test" + +DEPEND=" + >=app-text/mupdf-1.24.0:=[javascript?] + >=app-text/zathura-0.2.0:= + dev-libs/girara:= + dev-libs/glib:2 + x11-libs/cairo +" + +RDEPEND="${DEPEND}" + +BDEPEND="virtual/pkgconfig" + +PATCHES=( + "${FILESDIR}/zathura-pdf-mupdf-0.4.3-meson-mupdfthird.patch" +) + +src_prepare() ( + default + + if ! use javascript ; then + sed -i -e '/mujs/d' meson.build || die + fi +) diff --git a/app-text/zathura-pdf-mupdf/zathura-pdf-mupdf-9999.ebuild b/app-text/zathura-pdf-mupdf/zathura-pdf-mupdf-9999.ebuild index 8942ebaca741..9f269227159b 100644 --- a/app-text/zathura-pdf-mupdf/zathura-pdf-mupdf-9999.ebuild +++ b/app-text/zathura-pdf-mupdf/zathura-pdf-mupdf-9999.ebuild @@ -8,7 +8,6 @@ inherit meson xdg if [[ ${PV} == *9999 ]]; then inherit git-r3 EGIT_REPO_URI="https://github.com/pwmt/zathura-pdf-mupdf.git" - EGIT_BRANCH="develop" else KEYWORDS="~amd64 ~arm ~x86" SRC_URI="https://github.com/pwmt/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" @@ -21,10 +20,13 @@ LICENSE="ZLIB" SLOT="0" IUSE="+javascript" +# Tests currently only validating data files +RESTRICT="test" + DEPEND=" - >=app-text/mupdf-1.20.0:=[javascript?] - >=app-text/zathura-0.5.2:= - dev-libs/girara + >=app-text/mupdf-1.24.0:=[javascript?] + >=app-text/zathura-0.2.0:= + dev-libs/girara:= dev-libs/glib:2 x11-libs/cairo " @@ -34,7 +36,7 @@ RDEPEND="${DEPEND}" BDEPEND="virtual/pkgconfig" PATCHES=( - "${FILESDIR}/${PN}-0.4.3-meson-mupdfthird.patch" + "${FILESDIR}/zathura-pdf-mupdf-0.4.3-meson-mupdfthird.patch" ) src_prepare() ( |