From: Mikle Kolyada Date: Sun, 27 Oct 2019 14:27:01 +0000 (+0300) Subject: app-text/zathura-pdf-mupdf: make patch conditional X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=f943f3366f195f77db1cbf7949e4ad289bddd0ad;p=gentoo.git app-text/zathura-pdf-mupdf: make patch conditional Package-Manager: Portage-2.3.76, Repoman-2.3.16 Signed-off-by: Mikle Kolyada --- diff --git a/app-text/zathura-pdf-mupdf/zathura-pdf-mupdf-0.3.5.ebuild b/app-text/zathura-pdf-mupdf/zathura-pdf-mupdf-0.3.5.ebuild index ec8c60cf28ef..fa515bf718e6 100644 --- a/app-text/zathura-pdf-mupdf/zathura-pdf-mupdf-0.3.5.ebuild +++ b/app-text/zathura-pdf-mupdf/zathura-pdf-mupdf-0.3.5.ebuild @@ -3,7 +3,7 @@ EAPI=7 -inherit meson +inherit meson xdg-utils 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:= >=app-text/zathura-0.3.9 dev-libs/girara dev-libs/glib:2 @@ -35,6 +35,18 @@ BDEPEND="virtual/pkgconfig" src_prepare() { sed -i -e '/mupdfthird/d' meson.build || die "sed failed" - eapply "${FILESDIR}"/${PV}-compile-fix.patch + + if has_version '