1 |
commit: 378c7cb76a3fb58563c81e05afee2058f6db37fd |
2 |
Author: Tim Harder <radhermit <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Feb 16 13:04:09 2017 +0000 |
4 |
Commit: Tim Harder <radhermit <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Feb 16 13:04:09 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=378c7cb7 |
7 |
|
8 |
media-gfx/pqiv: version bump to 2.7.4 |
9 |
|
10 |
media-gfx/pqiv/Manifest | 1 + |
11 |
media-gfx/pqiv/pqiv-2.7.4.ebuild | 70 ++++++++++++++++++++++++++++++++++++++++ |
12 |
2 files changed, 71 insertions(+) |
13 |
|
14 |
diff --git a/media-gfx/pqiv/Manifest b/media-gfx/pqiv/Manifest |
15 |
index c72ffb2578..6ca66d5979 100644 |
16 |
--- a/media-gfx/pqiv/Manifest |
17 |
+++ b/media-gfx/pqiv/Manifest |
18 |
@@ -1,2 +1,3 @@ |
19 |
DIST pqiv-2.2.tar.gz 52414 SHA256 88d625de4437c8e65a49d74e993df5debf224ecf726365e138bf90a602b8b74b SHA512 2f504e228607b4b7b3cb341def5a104c86d932dc93f54b68893acbf5becc9cfa5c4d7549ead8ee25c4cb1f6a3cf13623eb3836e368299de2a21624d9773458bc WHIRLPOOL 0df549d3cc686806413741e453335e7e54f1e194c4296ccc9a72f9b6805b5f83514ee6dbdb45478753c91d36b7baf6b1bf88abb5f84ea9fb1c1bf9643c4fe2f9 |
20 |
DIST pqiv-2.6.tar.gz 96050 SHA256 f0c0d803724cdde2ccac1dc8d7e8928bdc633e758914a67320734a6961ee099c SHA512 b5c811bdd48b5252e23c3d59147af2a06adb35527e28b6129d10e5c4c4c01e5b030b860142c9db6eb35b5a1dbbc6d0814275ce08fa93da773ae08aac7da6814f WHIRLPOOL bbd69ec79afd08fb5bf95106fbac491f3a869065d101ba1e0ab346eebd261f6dca342233084b8891efd3dbd124cf3cb0271e7a67a57325f243961cab1bc85b51 |
21 |
+DIST pqiv-2.7.4.tar.gz 103380 SHA256 2c6acd9c031de3afdd231d71223566e229dafbb1bce1a88a6b11e91b9c3a817d SHA512 2e7df3073e91e9b644c5f9f9abe362bca8cd20d1fbd5809de6311bd0b872e346a978d3e5f489674a99d5d8ca7977a091061c029ad6d416078783ccc28bea1bd0 WHIRLPOOL ceef3324e6571b1806b391b358e18f7fd6a7c182afbe56a5d44ff71e6fb03842f5d240b2320b3c4dde88648c9aa58b96c9236e7232ee8997b3663223fbb1d735 |
22 |
|
23 |
diff --git a/media-gfx/pqiv/pqiv-2.7.4.ebuild b/media-gfx/pqiv/pqiv-2.7.4.ebuild |
24 |
new file mode 100644 |
25 |
index 0000000000..e47c410c7e |
26 |
--- /dev/null |
27 |
+++ b/media-gfx/pqiv/pqiv-2.7.4.ebuild |
28 |
@@ -0,0 +1,70 @@ |
29 |
+# Copyright 1999-2017 Gentoo Foundation |
30 |
+# Distributed under the terms of the GNU General Public License v2 |
31 |
+# $Id$ |
32 |
+ |
33 |
+EAPI=6 |
34 |
+inherit linux-info toolchain-funcs fdo-mime |
35 |
+ |
36 |
+DESCRIPTION="Modern rewrite of Quick Image Viewer" |
37 |
+HOMEPAGE="https://github.com/phillipberndt/pqiv http://www.pberndt.com/Programme/Linux/pqiv/" |
38 |
+SRC_URI="https://github.com/phillipberndt/pqiv/archive/${PV}.tar.gz -> ${P}.tar.gz" |
39 |
+ |
40 |
+LICENSE="GPL-2" |
41 |
+SLOT="0" |
42 |
+KEYWORDS="~amd64 ~x86" |
43 |
+IUSE="ffmpeg imagemagick kernel_linux libav pdf postscript" |
44 |
+ |
45 |
+RDEPEND=">=dev-libs/glib-2.8:2 |
46 |
+ >=x11-libs/cairo-1.6 |
47 |
+ x11-libs/gtk+:3 |
48 |
+ ffmpeg? ( |
49 |
+ !libav? ( media-video/ffmpeg:0= ) |
50 |
+ libav? ( media-video/libav:0= ) |
51 |
+ ) |
52 |
+ imagemagick? ( media-gfx/imagemagick:0= ) |
53 |
+ pdf? ( app-text/poppler:0= ) |
54 |
+ postscript? ( app-text/libspectre:0= )" |
55 |
+DEPEND="${RDEPEND} |
56 |
+ virtual/pkgconfig" |
57 |
+ |
58 |
+pkg_setup() { |
59 |
+ if use kernel_linux; then |
60 |
+ CONFIG_CHECK="~INOTIFY_USER" |
61 |
+ linux-info_pkg_setup |
62 |
+ fi |
63 |
+} |
64 |
+ |
65 |
+src_prepare() { |
66 |
+ default |
67 |
+ sed -i \ |
68 |
+ -e "s:/lib/:/$(get_libdir)/:g" \ |
69 |
+ GNUmakefile || die |
70 |
+} |
71 |
+ |
72 |
+src_configure() { |
73 |
+ local backends="gdkpixbuf" |
74 |
+ use ffmpeg || use libav && backends="${backends},libav" |
75 |
+ use imagemagick && backends="${backends},wand" |
76 |
+ use pdf && backends="${backends},poppler" |
77 |
+ use postscript && backends="${backends},spectre" |
78 |
+ |
79 |
+ ./configure \ |
80 |
+ --backends-build=shared \ |
81 |
+ --backends=${backends} \ |
82 |
+ --prefix="${EPREFIX}/usr" \ |
83 |
+ --destdir="${ED}" \ |
84 |
+ || die |
85 |
+} |
86 |
+ |
87 |
+src_compile() { |
88 |
+ tc-export CC |
89 |
+ emake VERBOSE=1 CFLAGS="${CFLAGS}" |
90 |
+} |
91 |
+ |
92 |
+pkg_postinst() { |
93 |
+ fdo-mime_desktop_database_update |
94 |
+} |
95 |
+ |
96 |
+pkg_postrm() { |
97 |
+ fdo-mime_desktop_database_update |
98 |
+} |