summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2017-04-12 03:54:26 -0400
committerTim Harder <radhermit@gentoo.org>2017-04-12 04:01:02 -0400
commit285c5f74af943fbf55ad452ed637429f42c2d832 (patch)
treeac88b7bd449eabc8642aeb8772b67b468907f070 /media-gfx
parentmedia-libs/aubio: Bump to version 0.4.5 (diff)
downloadgentoo-285c5f74af943fbf55ad452ed637429f42c2d832.tar.gz
gentoo-285c5f74af943fbf55ad452ed637429f42c2d832.tar.bz2
gentoo-285c5f74af943fbf55ad452ed637429f42c2d832.zip
media-gfx/pqiv: version bump to 2.8.4
Diffstat (limited to 'media-gfx')
-rw-r--r--media-gfx/pqiv/Manifest1
-rw-r--r--media-gfx/pqiv/pqiv-2.8.4.ebuild73
2 files changed, 74 insertions, 0 deletions
diff --git a/media-gfx/pqiv/Manifest b/media-gfx/pqiv/Manifest
index 67e7582436fe..1c0680c37cca 100644
--- a/media-gfx/pqiv/Manifest
+++ b/media-gfx/pqiv/Manifest
@@ -2,3 +2,4 @@ DIST pqiv-2.2.tar.gz 52414 SHA256 88d625de4437c8e65a49d74e993df5debf224ecf726365
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
+DIST pqiv-2.8.4.tar.gz 108556 SHA256 e16ea26c61d897fd540155edddc2641ac8f220c08f5e138287663c58ac8e5f2e SHA512 2629c9f636519100082b65567d2aa39b8945fd72977667de9df009cb06c9c2194f6aad28eed701b1e8b099696cc8e98c0ffa365c899b22d57dfbfcba14fe9bb9 WHIRLPOOL 84786482d5f49e35db512f5f2add39ea2d9b1d272c2ef5a80bf18d0d16e2268161b12f850c68f52e86797141c673727ba215a5f609e86202da8b6c36b112202d
diff --git a/media-gfx/pqiv/pqiv-2.8.4.ebuild b/media-gfx/pqiv/pqiv-2.8.4.ebuild
new file mode 100644
index 000000000000..4c3939b69e11
--- /dev/null
+++ b/media-gfx/pqiv/pqiv-2.8.4.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
+}