diff options
author | Mikle Kolyada <zlogene@gentoo.org> | 2018-11-11 02:21:08 +0300 |
---|---|---|
committer | Mikle Kolyada <zlogene@gentoo.org> | 2018-11-11 02:21:08 +0300 |
commit | e9411ed619d718cd98b9527e3d187458bd878e60 (patch) | |
tree | de21595750cee15aa70eb9132fa3c9f019a89688 /app-text | |
parent | app-text/zathura-pdf-poppler: update live ebuild (diff) | |
download | gentoo-e9411ed619d718cd98b9527e3d187458bd878e60.tar.gz gentoo-e9411ed619d718cd98b9527e3d187458bd878e60.tar.bz2 gentoo-e9411ed619d718cd98b9527e3d187458bd878e60.zip |
app-text/zathura-pdf-mupdf: update live ebuild
Signed-off-by: Mikle Kolyada <zlogene@gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11
Diffstat (limited to 'app-text')
-rw-r--r-- | app-text/zathura-pdf-mupdf/zathura-pdf-mupdf-9999.ebuild | 51 |
1 files changed, 17 insertions, 34 deletions
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..dcf685afa7a2 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,26 @@ 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 - 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='' - ) -} -src_compile() { - emake "${myzathuraconf[@]}" -} +DEPEND="app-text/mupdf + >=app-text/zathura-0.3.9 + dev-libs/girara + dev-libs/glib:2 + x11-libs/cairo" + +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 } |