diff options
Diffstat (limited to 'app-text/zathura-pdf-mupdf')
-rw-r--r-- | app-text/zathura-pdf-mupdf/Manifest | 1 | ||||
-rw-r--r-- | app-text/zathura-pdf-mupdf/zathura-pdf-mupdf-0.3.6.ebuild | 40 | ||||
-rw-r--r-- | app-text/zathura-pdf-mupdf/zathura-pdf-mupdf-9999.ebuild | 7 |
3 files changed, 45 insertions, 3 deletions
diff --git a/app-text/zathura-pdf-mupdf/Manifest b/app-text/zathura-pdf-mupdf/Manifest index 44c66b03c3a1..533ea5858d57 100644 --- a/app-text/zathura-pdf-mupdf/Manifest +++ b/app-text/zathura-pdf-mupdf/Manifest @@ -1 +1,2 @@ DIST zathura-pdf-mupdf-0.3.5.tar.gz 8901 BLAKE2B 63595d6a4b305d8cd09eced1cfa3840a5ab3d37a61c42738603691621f1f1dbdfc31d5963b14c7af32f8c504f2470bf1cadb708fefbfd49fb25b2848b2564153 SHA512 1f7a748fee74296a008cef42c8f2e443409c77e16caa8441f74136260aaac7dee4d3c03e8a88532c45a0f9972e1b4965d4cffd488a00123d4d8cee9bcec2cf30 +DIST zathura-pdf-mupdf-0.3.6.tar.gz 8925 BLAKE2B ee74a1655da7d16070b8909dd0f44239eb21055a40a525b766dc3d9e81f84377abe0623ba33925a25739bccf885f8967496be30c27e421d30b1a78dd64b84aee SHA512 f6783c3fc08849d7dc6fd527b7fcdb51d4ef9214379ca6b4dc6d29e75b10f37e3ada2046e205449a7d0465f07e65a6cf3f2f44fba98360cba16676e705390a97 diff --git a/app-text/zathura-pdf-mupdf/zathura-pdf-mupdf-0.3.6.ebuild b/app-text/zathura-pdf-mupdf/zathura-pdf-mupdf-0.3.6.ebuild new file mode 100644 index 000000000000..f3f90d3b0870 --- /dev/null +++ b/app-text/zathura-pdf-mupdf/zathura-pdf-mupdf-0.3.6.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +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://github.com/pwmt/zathura-pdf-mupdf/archive/${PV}.tar.gz -> ${P}.tar.gz" +fi + +DESCRIPTION="PDF plug-in for zathura" +HOMEPAGE="https://pwmt.org/projects/zathura-pdf-mupdf/" + +LICENSE="ZLIB" +SLOT="0" + +DEPEND=">=app-text/mupdf-1.17:= + >=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}" + +BDEPEND="virtual/pkgconfig" + +src_prepare() { + sed -i -e '/mupdfthird/d' meson.build || die "sed failed" + + default +} 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 a8c73f86302b..f3f90d3b0870 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-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 -inherit meson +inherit meson xdg if [[ ${PV} == *9999 ]]; then inherit git-r3 @@ -20,7 +20,7 @@ HOMEPAGE="https://pwmt.org/projects/zathura-pdf-mupdf/" LICENSE="ZLIB" SLOT="0" -DEPEND="app-text/mupdf +DEPEND=">=app-text/mupdf-1.17:= >=app-text/zathura-0.3.9 dev-libs/girara dev-libs/glib:2 @@ -35,5 +35,6 @@ BDEPEND="virtual/pkgconfig" src_prepare() { sed -i -e '/mupdfthird/d' meson.build || die "sed failed" + default } |