diff options
Diffstat (limited to 'app-text/zathura-pdf-mupdf')
-rw-r--r-- | app-text/zathura-pdf-mupdf/Manifest | 4 | ||||
-rw-r--r-- | app-text/zathura-pdf-mupdf/zathura-pdf-mupdf-0.3.4.ebuild | 5 | ||||
-rw-r--r-- | app-text/zathura-pdf-mupdf/zathura-pdf-mupdf-9999.ebuild | 46 |
3 files changed, 22 insertions, 33 deletions
diff --git a/app-text/zathura-pdf-mupdf/Manifest b/app-text/zathura-pdf-mupdf/Manifest index d596860ae936..ae80cb758549 100644 --- a/app-text/zathura-pdf-mupdf/Manifest +++ b/app-text/zathura-pdf-mupdf/Manifest @@ -1,6 +1,6 @@ DIST zathura-pdf-mupdf-0.3.2.tar.gz 9687 BLAKE2B 53ec5997c69ee160f60b90ba83ab15bff55fcd14f22b34cd54bf226a57d71d1fc95e62c2daac97f0285eee6bf6cd71e9c49a5f97920d19860c58bcc9d568deae SHA512 f6273923d0c1d7f6fad5cc3369c35fff9f87dabcb726d5ab4f814775f5e8783c552cbac7ad1381f3c6d91753698d64a96c7e76e0b8b5a16d9c28147fbdeb3089 DIST zathura-pdf-mupdf-0.3.4.tar.xz 8092 BLAKE2B 5e47a9db7fede440c10f8270e02430d2603a93a3fc05bbbcf036f825a534f9083fda3ea536de7b47091aca63409b54a15bec057b7fb3da687507e55efa779075 SHA512 8a885f1faa471d413f09bd6a78b86d419fe433139b2f811dcae9a9ea180beaf693ee8c11c7fe98ed7d5303520f6d9b3efd0d8e7edf978aa5099ef580db79166a EBUILD zathura-pdf-mupdf-0.3.2.ebuild 1074 BLAKE2B 33d9faf3af3156f08f3a2ac764c3ef16c2fc32b31ff396eafe1027663d0464f735ba0349423e9a173aeb84498a5da7d3fe13606ae2e46a10eb5b20fa0bc5a08b SHA512 99caf865cbc7751aec41b38e1d179d52bed4523c1813554413b4631fda9318726cffdb476de2777fe35f80ee463c2364437e1b30e80271b79c106ad7f5b5bb11 -EBUILD zathura-pdf-mupdf-0.3.4.ebuild 733 BLAKE2B cb449f684a7fb77b8c337ead0f1c08fa914e5890392dea666be79ee05ea35fe2d81ecc47cf02aed295b29481eb98132176b46b889f18d5182b645d22691f1292 SHA512 fead9802e5d2113d187568f4dbf0c5cb55d95c763b69656a01a5c69f35fcc8b40854dbfe25251f721512c399f0fa4659bbf6ec48a373ea5f61e4b0ca75be7195 -EBUILD zathura-pdf-mupdf-9999.ebuild 1077 BLAKE2B d4f06640c28f86f45c274fdb77dca863742a4685dc47d14d82095a8adbac0c713a00a5c7676d017128926473f7ead99d6fe520682693b3e811da8b55ea49644c SHA512 c1f52c483e368114ee230b920bbe440687d668499b991ad92d85d6a93f677e0671c1561f3f8ca8230f1d84941facee607fd7661225c139a79a8299ab0140749e +EBUILD zathura-pdf-mupdf-0.3.4.ebuild 795 BLAKE2B 74f00693c91c24690221b7fcc7634bf91239a2db9d257562573aebfc000b27fe2c402275fc73cabe41bb811266b3a5c28b6344858f05e8a10a60ebe8e64d5690 SHA512 27b492f2f2776c5b8c68245c39dc1ecde682692df1db6277659ed9412365b3ee89fb88050b4b577fd59d3db1865f02a442d477cf24d2439332885577fe586529 +EBUILD zathura-pdf-mupdf-9999.ebuild 796 BLAKE2B 623e1c0f435e95826791a71c3ce66c4448ff8c47f9e13dae411d86e8c78b4e6cc630333263eb9b2fc94bb41f6d86fcb871da340fc78509e894fa13613785d934 SHA512 54e52e1405959ee3fdf0ac819dcc1941a370369291c9b480256fc2b404a16f2c839d1f29110cc2e7728de148423bf372c33c2aae413fb3d658a74777bb577fe2 MISC metadata.xml 702 BLAKE2B 494044f73e5201e73328ba0f0ab58cd40ae7860127449aaed63e96ec0962a3e2c5cc2b617dd58c73c9226d5ca7e1237f94064eb8dab48fe1a88e8c50bfb40216 SHA512 0f416ccc5110783602c76a1b2670f22c15104a2868d23b635180faf4993d3879198c04fc29e7a8d23b13105bd6b2268d9d7877a0e36dbab1726919b3d5c0a37f diff --git a/app-text/zathura-pdf-mupdf/zathura-pdf-mupdf-0.3.4.ebuild b/app-text/zathura-pdf-mupdf/zathura-pdf-mupdf-0.3.4.ebuild index dcf685afa7a2..91edb9262dcc 100644 --- a/app-text/zathura-pdf-mupdf/zathura-pdf-mupdf-0.3.4.ebuild +++ b/app-text/zathura-pdf-mupdf/zathura-pdf-mupdf-0.3.4.ebuild @@ -10,7 +10,7 @@ if [[ ${PV} == *9999 ]]; then EGIT_REPO_URI="https://git.pwmt.org/pwmt/zathura-pdf-mupdf.git" EGIT_BRANCH="develop" else - KEYWORDS="~amd64 ~arm ~x86" + KEYWORDS="amd64 ~arm ~x86" SRC_URI="https://pwmt.org/projects/zathura-pdf-mupdf/download/${P}.tar.xz" fi @@ -24,6 +24,9 @@ DEPEND="app-text/mupdf >=app-text/zathura-0.3.9 dev-libs/girara dev-libs/glib:2 + media-libs/jbig2dec:= + media-libs/openjpeg:2= + virtual/jpeg:0 x11-libs/cairo" RDEPEND="${DEPEND}" 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 8d7a7aa0a007..07030bc38d87 100644 --- a/app-text/zathura-pdf-mupdf/zathura-pdf-mupdf-9999.ebuild +++ b/app-text/zathura-pdf-mupdf/zathura-pdf-mupdf-9999.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2018 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=7 -inherit eutils toolchain-funcs xdg +inherit meson if [[ ${PV} == *9999 ]]; then inherit git-r3 @@ -11,43 +11,29 @@ if [[ ${PV} == *9999 ]]; then EGIT_BRANCH="develop" else KEYWORDS="~amd64 ~arm ~x86" - SRC_URI="https://pwmt.org/projects/zathura/plugins/download/${P}.tar.gz" + SRC_URI="https://pwmt.org/projects/zathura-pdf-mupdf/download/${P}.tar.xz" fi DESCRIPTION="PDF plug-in for zathura" -HOMEPAGE="https://pwmt.org/projects/zathura/" +HOMEPAGE="https://pwmt.org/projects/zathura-pdf-mupdf/" LICENSE="ZLIB" SLOT="0" -IUSE="" -RDEPEND="!app-text/zathura-pdf-poppler - >=app-text/mupdf-1.12.0:= - >=app-text/zathura-0.3.8 +DEPEND="app-text/mupdf + >=app-text/zathura-0.3.9 + dev-libs/girara + dev-libs/glib:2 media-libs/jbig2dec:= media-libs/openjpeg:2= virtual/jpeg:0 - x11-libs/cairo:=" -DEPEND="${RDEPEND} - virtual/pkgconfig" - -src_configure() { - myzathuraconf=( - CC="$(tc-getCC)" - LD="$(tc-getLD)" - VERBOSE=1 - DESTDIR="${D}" - MUPDF_LIB="$($(tc-getPKG_CONFIG) --libs mupdf)" - OPENSSL_INC="$($(tc-getPKG_CONFIG) --cflags mupdf)" - OPENSSL_LIB='' - ) -} + x11-libs/cairo" -src_compile() { - emake "${myzathuraconf[@]}" -} +RDEPEND="${DEPEND}" + +BDEPEND="virtual/pkgconfig" -src_install() { - emake "${myzathuraconf[@]}" install - dodoc AUTHORS +src_prepare() { + sed -i -e '/mupdfthird/d' meson.build || die "sed failed" + default } |