diff options
author | Markus Meier <maekke@gentoo.org> | 2016-11-16 22:00:47 +0100 |
---|---|---|
committer | Markus Meier <maekke@gentoo.org> | 2016-11-16 22:01:14 +0100 |
commit | 62c9bb3bcd13f58ed0e1548cae655f3565c42de0 (patch) | |
tree | d1492b1ad9a272b7801c629f271f9e980374f200 /media-gfx | |
parent | sci-physics/espresso: fix deps (diff) | |
download | gentoo-62c9bb3bcd13f58ed0e1548cae655f3565c42de0.tar.gz gentoo-62c9bb3bcd13f58ed0e1548cae655f3565c42de0.tar.bz2 gentoo-62c9bb3bcd13f58ed0e1548cae655f3565c42de0.zip |
media-gfx/pqiv: version bump, bug #542352
Package-Manager: portage-2.3.2
Diffstat (limited to 'media-gfx')
-rw-r--r-- | media-gfx/pqiv/Manifest | 1 | ||||
-rw-r--r-- | media-gfx/pqiv/pqiv-2.6.ebuild | 64 |
2 files changed, 65 insertions, 0 deletions
diff --git a/media-gfx/pqiv/Manifest b/media-gfx/pqiv/Manifest index 00d42ffdf615..c72ffb257869 100644 --- a/media-gfx/pqiv/Manifest +++ b/media-gfx/pqiv/Manifest @@ -1 +1,2 @@ DIST pqiv-2.2.tar.gz 52414 SHA256 88d625de4437c8e65a49d74e993df5debf224ecf726365e138bf90a602b8b74b SHA512 2f504e228607b4b7b3cb341def5a104c86d932dc93f54b68893acbf5becc9cfa5c4d7549ead8ee25c4cb1f6a3cf13623eb3836e368299de2a21624d9773458bc WHIRLPOOL 0df549d3cc686806413741e453335e7e54f1e194c4296ccc9a72f9b6805b5f83514ee6dbdb45478753c91d36b7baf6b1bf88abb5f84ea9fb1c1bf9643c4fe2f9 +DIST pqiv-2.6.tar.gz 96050 SHA256 f0c0d803724cdde2ccac1dc8d7e8928bdc633e758914a67320734a6961ee099c SHA512 b5c811bdd48b5252e23c3d59147af2a06adb35527e28b6129d10e5c4c4c01e5b030b860142c9db6eb35b5a1dbbc6d0814275ce08fa93da773ae08aac7da6814f WHIRLPOOL bbd69ec79afd08fb5bf95106fbac491f3a869065d101ba1e0ab346eebd261f6dca342233084b8891efd3dbd124cf3cb0271e7a67a57325f243961cab1bc85b51 diff --git a/media-gfx/pqiv/pqiv-2.6.ebuild b/media-gfx/pqiv/pqiv-2.6.ebuild new file mode 100644 index 000000000000..282572f09937 --- /dev/null +++ b/media-gfx/pqiv/pqiv-2.6.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 +inherit linux-info toolchain-funcs + +DESCRIPTION="Modern rewrite of Quick Image Viewer" +HOMEPAGE="https://github.com/phillipberndt/pqiv http://www.pberndt.com/Programme/Linux/pqiv/" +SRC_URI="https://github.com/phillipberndt/pqiv/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="ffmpeg imagemagick kernel_linux libav pdf postscript" + +RDEPEND=">=dev-libs/glib-2.8:2 + >=x11-libs/cairo-1.6 + x11-libs/gtk+:3 + ffmpeg? ( + !libav? ( media-video/ffmpeg:0= ) + libav? ( media-video/libav:0= ) + ) + imagemagick? ( media-gfx/imagemagick:0= ) + pdf? ( app-text/poppler:0= ) + postscript? ( app-text/libspectre:0= )" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +DOCS=( "README.markdown" ) + +pkg_setup() { + if use kernel_linux; then + CONFIG_CHECK="~INOTIFY_USER" + linux-info_pkg_setup + fi +} + +src_prepare() { + default + sed -i \ + -e "s:/lib/:/$(get_libdir)/:g" \ + GNUmakefile || die +} + +src_configure() { + local backends="gdkpixbuf" + use ffmpeg || use libav && backends="${backends},libav" + use imagemagick && backends="${backends},magick" + use pdf && backends="${backends},poppler" + use postscript && backends="${backends},spectre" + + ./configure \ + --backends-build=shared \ + --backends=${backends} \ + --prefix="${EPREFIX}/usr" \ + --destdir="${ED}" \ + || die +} + +src_compile() { + tc-export CC + emake CFLAGS="${CFLAGS}" +} |