summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2017-04-05 00:49:34 -0400
committerTim Harder <radhermit@gentoo.org>2017-04-05 00:49:34 -0400
commitf72b29a7858c8036620477a12f66ee444a1481e0 (patch)
treea347c5eedcd575f3d97fabf4869fd5cd58f66861 /media-gfx/pqiv
parentmedia-gfx/feh: version bump to 2.18.3 (diff)
downloadgentoo-f72b29a7858c8036620477a12f66ee444a1481e0.tar.gz
gentoo-f72b29a7858c8036620477a12f66ee444a1481e0.tar.bz2
gentoo-f72b29a7858c8036620477a12f66ee444a1481e0.zip
media-gfx/pqiv: version bump to 2.8.3
Diffstat (limited to 'media-gfx/pqiv')
-rw-r--r--media-gfx/pqiv/Manifest1
-rw-r--r--media-gfx/pqiv/pqiv-2.8.3.ebuild73
2 files changed, 74 insertions, 0 deletions
diff --git a/media-gfx/pqiv/Manifest b/media-gfx/pqiv/Manifest
index 399065679d62..67e7582436fe 100644
--- a/media-gfx/pqiv/Manifest
+++ b/media-gfx/pqiv/Manifest
@@ -1,3 +1,4 @@
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
+DIST pqiv-2.8.3.tar.gz 108525 SHA256 b90c45d829eb180459dcfbf1420b8feb670dc9bb542fe307adbc4ff201445bbd SHA512 9a50dbed69b30df679fa2c5cbb0246c65d17a529ee98d53414819bf373f13077caa71d3b55377296d75abe241b819488897f96ac7efd41c62bdad970981808e9 WHIRLPOOL 424cc6a2ded5f78c5c6d786dd89d07b6dd9ca0bbdc9895a23ffb48eaca524bd2984fe5b08eef04905208d799387b45641b392b0b28b0f98d347c2fe2dd764e67
diff --git a/media-gfx/pqiv/pqiv-2.8.3.ebuild b/media-gfx/pqiv/pqiv-2.8.3.ebuild
new file mode 100644
index 000000000000..4c3939b69e11
--- /dev/null
+++ b/media-gfx/pqiv/pqiv-2.8.3.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
+}