diff options
author | Tim Harder <radhermit@gentoo.org> | 2017-03-01 08:42:50 -0500 |
---|---|---|
committer | Tim Harder <radhermit@gentoo.org> | 2017-03-01 08:54:05 -0500 |
commit | 813e905dbf15468d1ca7a8f24d57f08295db6da7 (patch) | |
tree | f3c70bcf83fcac3d50d0b68d67eed7491442fe17 | |
parent | dev-libs/geoip-1.6.9-r1: add alpha keyword (diff) | |
download | gentoo-813e905dbf15468d1ca7a8f24d57f08295db6da7.tar.gz gentoo-813e905dbf15468d1ca7a8f24d57f08295db6da7.tar.bz2 gentoo-813e905dbf15468d1ca7a8f24d57f08295db6da7.zip |
media-gfx/pqiv: version bump to 2.8.2
-rw-r--r-- | media-gfx/pqiv/Manifest | 1 | ||||
-rw-r--r-- | media-gfx/pqiv/pqiv-2.8.2.ebuild | 73 |
2 files changed, 74 insertions, 0 deletions
diff --git a/media-gfx/pqiv/Manifest b/media-gfx/pqiv/Manifest index 8431b6a5b5e2..399065679d62 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.7.4.tar.gz 103380 SHA256 2c6acd9c031de3afdd231d71223566e229dafbb1bce1a88a6b11e91b9c3a817d SHA512 2e7df3073e91e9b644c5f9f9abe362bca8cd20d1fbd5809de6311bd0b872e346a978d3e5f489674a99d5d8ca7977a091061c029ad6d416078783ccc28bea1bd0 WHIRLPOOL ceef3324e6571b1806b391b358e18f7fd6a7c182afbe56a5d44ff71e6fb03842f5d240b2320b3c4dde88648c9aa58b96c9236e7232ee8997b3663223fbb1d735 +DIST pqiv-2.8.2.tar.gz 108475 SHA256 4953e5627581720ba385913e1a8129ef9b312a93d2ce3d632a6fcad98d6db2dc SHA512 cf55b62cb95e1650d677cffdb120782cc6157077f499001a82f4f49022f3b96c3a4d716e90120445848a18c4eb51453e64affbf416da780eee20f702f89992c1 WHIRLPOOL a611464e994ded9850ebcf580ae279f570c2ee8eef819d167a91a92d2868c4fe47a5b768a44e711d2de70f899e9f01f3637f34132106c468e6d5ef8d6316b179 diff --git a/media-gfx/pqiv/pqiv-2.8.2.ebuild b/media-gfx/pqiv/pqiv-2.8.2.ebuild new file mode 100644 index 000000000000..4c3939b69e11 --- /dev/null +++ b/media-gfx/pqiv/pqiv-2.8.2.ebuild @@ -0,0 +1,73 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit linux-info toolchain-funcs fdo-mime + +if [[ ${PV} == 9999 ]]; then + EGIT_REPO_URI="https://github.com/phillipberndt/pqiv.git" + inherit git-r3 +else + SRC_URI="https://github.com/phillipberndt/pqiv/archive/${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~x86" +fi + +DESCRIPTION="powerful GTK 3 based command-line image viewer with a minimal UI" +HOMEPAGE="https://github.com/phillipberndt/pqiv http://www.pberndt.com/Programme/Linux/pqiv/" + +LICENSE="GPL-2" +SLOT="0" +IUSE="archive ffmpeg imagemagick kernel_linux libav pdf postscript" + +RDEPEND=" + >=dev-libs/glib-2.8:2 + >=x11-libs/cairo-1.6 + x11-libs/gtk+:3 + archive? ( app-arch/libarchive:0= ) + 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_configure() { + local backends="gdkpixbuf" + use archive && backends="${backends},archive,archive_cbx" + 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" \ + --libdir="${EPREFIX}/usr/$(get_libdir)" \ + --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 +} |