diff options
author | Tim Harder <radhermit@gentoo.org> | 2017-02-16 08:04:09 -0500 |
---|---|---|
committer | Tim Harder <radhermit@gentoo.org> | 2017-02-16 08:04:09 -0500 |
commit | 378c7cb76a3fb58563c81e05afee2058f6db37fd (patch) | |
tree | 946e5d28435aeec4b6dac79262dfc354e9d97b72 /media-gfx/pqiv | |
parent | app-misc/ranger: add py36 support (diff) | |
download | gentoo-378c7cb76a3fb58563c81e05afee2058f6db37fd.tar.gz gentoo-378c7cb76a3fb58563c81e05afee2058f6db37fd.tar.bz2 gentoo-378c7cb76a3fb58563c81e05afee2058f6db37fd.zip |
media-gfx/pqiv: version bump to 2.7.4
Diffstat (limited to 'media-gfx/pqiv')
-rw-r--r-- | media-gfx/pqiv/Manifest | 1 | ||||
-rw-r--r-- | media-gfx/pqiv/pqiv-2.7.4.ebuild | 70 |
2 files changed, 71 insertions, 0 deletions
diff --git a/media-gfx/pqiv/Manifest b/media-gfx/pqiv/Manifest index c72ffb257869..6ca66d597937 100644 --- a/media-gfx/pqiv/Manifest +++ b/media-gfx/pqiv/Manifest @@ -1,2 +1,3 @@ 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 +DIST pqiv-2.7.4.tar.gz 103380 SHA256 2c6acd9c031de3afdd231d71223566e229dafbb1bce1a88a6b11e91b9c3a817d SHA512 2e7df3073e91e9b644c5f9f9abe362bca8cd20d1fbd5809de6311bd0b872e346a978d3e5f489674a99d5d8ca7977a091061c029ad6d416078783ccc28bea1bd0 WHIRLPOOL ceef3324e6571b1806b391b358e18f7fd6a7c182afbe56a5d44ff71e6fb03842f5d240b2320b3c4dde88648c9aa58b96c9236e7232ee8997b3663223fbb1d735 diff --git a/media-gfx/pqiv/pqiv-2.7.4.ebuild b/media-gfx/pqiv/pqiv-2.7.4.ebuild new file mode 100644 index 000000000000..e47c410c7ee2 --- /dev/null +++ b/media-gfx/pqiv/pqiv-2.7.4.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 +inherit linux-info toolchain-funcs fdo-mime + +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" + +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},wand" + 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 VERBOSE=1 CFLAGS="${CFLAGS}" +} + +pkg_postinst() { + fdo-mime_desktop_database_update +} + +pkg_postrm() { + fdo-mime_desktop_database_update +} |