1 |
commit: 3129ce9d0d93d3e3d6ab50921f4ddcc6d8242caa |
2 |
Author: Ronny (tastytea) Gutbrod <gentoo <AT> tastytea <DOT> de> |
3 |
AuthorDate: Sun Nov 21 20:48:02 2021 +0000 |
4 |
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Nov 29 07:28:29 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3129ce9d |
7 |
|
8 |
media-gfx/viewnior: Version bump 1.8. |
9 |
|
10 |
Signed-off-by: Ronny (tastytea) Gutbrod <gentoo <AT> tastytea.de> |
11 |
Closes: https://github.com/gentoo/gentoo/pull/23024 |
12 |
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org> |
13 |
|
14 |
media-gfx/viewnior/Manifest | 1 + |
15 |
media-gfx/viewnior/viewnior-1.8.ebuild | 44 ++++++++++++++++++++++++++++++++++ |
16 |
2 files changed, 45 insertions(+) |
17 |
|
18 |
diff --git a/media-gfx/viewnior/Manifest b/media-gfx/viewnior/Manifest |
19 |
index 3327279caaf6..7ce6c08a0f12 100644 |
20 |
--- a/media-gfx/viewnior/Manifest |
21 |
+++ b/media-gfx/viewnior/Manifest |
22 |
@@ -1 +1,2 @@ |
23 |
DIST viewnior-1.7.tar.gz 165719 BLAKE2B 906ab0b632fcc102ac62dd77d6742c2121c46cd92adc0dfe9ba772bf697eff356519dbb6219016a6470903c855aa4c9081f0d61ca1607d8d1b6d8e03236a19bc SHA512 5ba17d7b5ceeffa65b04213f179c1439b09ac44e412e0750dde159b118a714f28d3a290509a402b234e4e7ba5b185fc73eef65d418598f344911e4e2c1373fe5 |
24 |
+DIST viewnior-1.8.tar.gz 169219 BLAKE2B 6f6da16aa987acce8a48d24a645e1c033f113bb6e291da9f17810a7a04e5007d27c2f1afe3c62cc2d192003633a4128fb04a031160fbd51efbd0bb7dfabd8970 SHA512 0f9698801172ef6b8f5df4132526b2e605e9aa9fd69cf41a091a3623de9b2e84ca857e625aaa9e83f29df318f70a13fb458bac0df11ae46837b78ef257a00bee |
25 |
|
26 |
diff --git a/media-gfx/viewnior/viewnior-1.8.ebuild b/media-gfx/viewnior/viewnior-1.8.ebuild |
27 |
new file mode 100644 |
28 |
index 000000000000..03ce179e58af |
29 |
--- /dev/null |
30 |
+++ b/media-gfx/viewnior/viewnior-1.8.ebuild |
31 |
@@ -0,0 +1,44 @@ |
32 |
+# Copyright 1999-2021 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=8 |
36 |
+ |
37 |
+inherit meson xdg |
38 |
+ |
39 |
+DESCRIPTION="Fast and simple image viewer" |
40 |
+HOMEPAGE="https://siyanpanayotov.com/project/viewnior" |
41 |
+SRC_URI="https://github.com/hellosiyan/${PN^}/archive/${P}.tar.gz" |
42 |
+ |
43 |
+LICENSE="GPL-3" |
44 |
+SLOT="0" |
45 |
+KEYWORDS="~amd64 ~arm64 ~x86" |
46 |
+IUSE="" |
47 |
+ |
48 |
+RDEPEND=" |
49 |
+ dev-libs/glib:2 |
50 |
+ media-gfx/exiv2:0= |
51 |
+ x11-libs/gtk+:2 |
52 |
+" |
53 |
+DEPEND="${RDEPEND}" |
54 |
+BDEPEND=" |
55 |
+ dev-util/glib-utils |
56 |
+ virtual/pkgconfig |
57 |
+" |
58 |
+ |
59 |
+S="${WORKDIR}/${PN^}-${P}" |
60 |
+ |
61 |
+src_prepare() { |
62 |
+ # That script would update icon cache and desktop database. |
63 |
+ sed -i "s/meson.add_install_script('meson_post_install.py')//" meson.build \ |
64 |
+ || die 'Failed to remove post-install-script invocation from meson.build' |
65 |
+ # Don't let meson compress the manpage. |
66 |
+ sed -i "s/subdir('man')//" meson.build \ |
67 |
+ || die 'Failed to remove manpage compression from meson.build' |
68 |
+ |
69 |
+ default |
70 |
+} |
71 |
+ |
72 |
+src_install() { |
73 |
+ meson_src_install |
74 |
+ doman man/viewnior.1 |
75 |
+} |