diff options
author | Michael Weber <xmw@gentoo.org> | 2017-01-23 02:29:40 +0100 |
---|---|---|
committer | Michael Weber <xmw@gentoo.org> | 2017-01-23 02:29:40 +0100 |
commit | e18f459acb2ab6f5f584570da9ab04d41bd0ee91 (patch) | |
tree | 90080807b01a6b520d46e77aafaeb9d3339ee243 /app-text/zathura-pdf-mupdf | |
parent | dev-lang/mujs: Cleanup (bug 595538). (diff) | |
download | gentoo-e18f459acb2ab6f5f584570da9ab04d41bd0ee91.tar.gz gentoo-e18f459acb2ab6f5f584570da9ab04d41bd0ee91.tar.bz2 gentoo-e18f459acb2ab6f5f584570da9ab04d41bd0ee91.zip |
app-text/zathura-pdf-mupdf: Version bump.
Package-Manager: Portage-2.3.3, Repoman-2.3.1
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.1.ebuild | 56 |
2 files changed, 57 insertions, 0 deletions
diff --git a/app-text/zathura-pdf-mupdf/Manifest b/app-text/zathura-pdf-mupdf/Manifest index d72c289005a6..0bbcf03eec96 100644 --- a/app-text/zathura-pdf-mupdf/Manifest +++ b/app-text/zathura-pdf-mupdf/Manifest @@ -1,2 +1,3 @@ DIST zathura-pdf-mupdf-0.2.8.tar.gz 9930 SHA256 9f8b92762cdad14a2a587744c758edc0e1003be6a0c1511486065bdc91a66910 SHA512 fce85f513c7d99e1bc48a288fd9f9a14b8ab01ade660ac8eaeeffb3ceaa695d210026d2c4d9c0bf383df613b98a3cb56499b2c835a7d8873dd896d73c61b7258 WHIRLPOOL a0ba8f961c98c9681ae352097cfd0bd58613929466e1a7f072df8d162fe3d9888a7cf073bf995a4ff88332b96a6e40d91f2c65c23a0bf157e5e15c93f00454f0 DIST zathura-pdf-mupdf-0.3.0.tar.gz 9914 SHA256 478cb9d1562d08e096ebec4a6db9116d616a3536260197c2a28a2772171f72c8 SHA512 c83eef453176c6317be338260e311c39e049b8ae1ae719445c6303725b4e993758ed3f3a61f0af31032d09f1f2f03574f862d24e36b27fa38732e0b6c7aa18ea WHIRLPOOL 6fef567220a5d1f9140b0d8a216752f92717c24b7abcdc945239acc8f9ee349695c052fefc671f0f47f3e3a9aa1d2e94cd88a9d5c3edd7e64b8edc9e923919a8 +DIST zathura-pdf-mupdf-0.3.1.tar.gz 9755 SHA256 d9b9edc0297b9eddb53020976f287b4e8db33edef8cfa047d70e02653eb2f81b SHA512 87b5b8a750a6911be37a0195b0f4bc3304350f9d29173091b3eeece40350b10cb98b009b2722a69ae1e617b4242292f3eba17fea97d5276e485069180f2bd67d WHIRLPOOL 5a331b1b90607f6ae56dd6ad356418143ee004028c995ac7b957b75b4f7bb0a762f7e11e860e0e80a3fefa5cc453f3871c054cad93690c42cfc1facdb7aac44e diff --git a/app-text/zathura-pdf-mupdf/zathura-pdf-mupdf-0.3.1.ebuild b/app-text/zathura-pdf-mupdf/zathura-pdf-mupdf-0.3.1.ebuild new file mode 100644 index 000000000000..e65a032741db --- /dev/null +++ b/app-text/zathura-pdf-mupdf/zathura-pdf-mupdf-0.3.1.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit eutils toolchain-funcs +[[ ${PV} == 9999* ]] && inherit git-2 + +DESCRIPTION="PDF plug-in for zathura" +HOMEPAGE="http://pwmt.org/projects/zathura/" +if ! [[ ${PV} == 9999* ]]; then +SRC_URI="http://pwmt.org/projects/zathura/plugins/download/${P}.tar.gz" +fi +EGIT_REPO_URI="https://git.pwmt.org/pwmt/${PN}.git" +EGIT_BRANCH="develop" + +LICENSE="ZLIB" +SLOT="0" +if ! [[ ${PV} == 9999* ]]; then +KEYWORDS="~amd64 ~x86" +else +KEYWORDS="" +fi +IUSE="" + +RDEPEND="!app-text/zathura-pdf-poppler + >=app-text/mupdf-1.10a:= + >=app-text/zathura-0.3.1 + media-libs/jbig2dec:= + media-libs/openjpeg:2= + virtual/jpeg:0 + x11-libs/cairo:=" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +pkg_setup() { + 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[@]}" +} + +src_install() { + emake "${myzathuraconf[@]}" install + dodoc AUTHORS +} |