Skip to content

Commit

Permalink
app-text/zathura-pdf-mupdf: Version bump (fixes bug 572350, thanks Al…
Browse files Browse the repository at this point in the history
…exander E. Sergeev).

Package-Manager: portage-2.2.27
  • Loading branch information
xmw committed Feb 26, 2016
1 parent 8952c2a commit 96a90a6
Show file tree
Hide file tree
Showing 3 changed files with 58 additions and 1 deletion.
1 change: 1 addition & 0 deletions app-text/zathura-pdf-mupdf/Manifest
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ DIST zathura-pdf-mupdf-0.2.6.tar.gz 9094 SHA256 5df94b6f906008b5f3bca770a552da6d
DIST zathura-pdf-mupdf-0.2.7.tar.gz 9357 SHA256 b1343f35940ebcf463b868b557be4eaba7d61884d6ff3ad3d7c7c272e69c253f SHA512 0c0b5ab13cce85f7328fa5ba967ceba926793d7e19fc8e41875fe98b5878292d395edab71e5df86bc6fe86ad111031510362303b7f08a8375731e41a73237a82 WHIRLPOOL a46915fa33f563adb18d462c58a516fd76f69ccdc30b05605b566215acaf47776d36f285019e68bd9d9b4e6c91616a6a0f130478d7ef1668db9a670bdd164b92
DIST zathura-pdf-mupdf-0.2.8.tar.gz 9930 SHA256 9f8b92762cdad14a2a587744c758edc0e1003be6a0c1511486065bdc91a66910 SHA512 fce85f513c7d99e1bc48a288fd9f9a14b8ab01ade660ac8eaeeffb3ceaa695d210026d2c4d9c0bf383df613b98a3cb56499b2c835a7d8873dd896d73c61b7258 WHIRLPOOL a0ba8f961c98c9681ae352097cfd0bd58613929466e1a7f072df8d162fe3d9888a7cf073bf995a4ff88332b96a6e40d91f2c65c23a0bf157e5e15c93f00454f0
DIST zathura-pdf-mupdf-0.2.9.tar.gz 9909 SHA256 1c7a123b5153a9b1110e882a1475de7bd0929c70d41b33750e1c98efc74f7e3c SHA512 09507df8fa568d64667e8456ba64cb94353322140cb37b2412b46cfdf443142b331d13ac3a5939b8635a185e08b44430578a7cf1d075b6be239cab01a0a4b883 WHIRLPOOL f8129da84073e45227fef8b63df13de70e61b0f80d55cb6192ff8d728e81216445e60297295b1a5ba57962ffd41a06686984c2d8e137a6842bb642d2d7f218b8
DIST zathura-pdf-mupdf-0.3.0.tar.gz 9914 SHA256 478cb9d1562d08e096ebec4a6db9116d616a3536260197c2a28a2772171f72c8 SHA512 c83eef453176c6317be338260e311c39e049b8ae1ae719445c6303725b4e993758ed3f3a61f0af31032d09f1f2f03574f862d24e36b27fa38732e0b6c7aa18ea WHIRLPOOL 6fef567220a5d1f9140b0d8a216752f92717c24b7abcdc945239acc8f9ee349695c052fefc671f0f47f3e3a9aa1d2e94cd88a9d5c3edd7e64b8edc9e923919a8
56 changes: 56 additions & 0 deletions app-text/zathura-pdf-mupdf/zathura-pdf-mupdf-0.3.0.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
# Copyright 1999-2016 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.7a:=
>=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
}
2 changes: 1 addition & 1 deletion app-text/zathura-pdf-mupdf/zathura-pdf-mupdf-9999.ebuild
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 1999-2014 Gentoo Foundation
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$

Expand Down

0 comments on commit 96a90a6

Please sign in to comment.