summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2018-12-12 21:30:52 -0600
committerTim Harder <radhermit@gentoo.org>2018-12-12 21:32:24 -0600
commit3dc02f3a132b59e773770c0677d30b36207efcb8 (patch)
tree9e3d3f7e969739b51466bc97ba93985d9b576f9b /media-gfx
parentmedia-gfx/pqiv: remove old (diff)
downloadgentoo-3dc02f3a132b59e773770c0677d30b36207efcb8.tar.gz
gentoo-3dc02f3a132b59e773770c0677d30b36207efcb8.tar.bz2
gentoo-3dc02f3a132b59e773770c0677d30b36207efcb8.zip
media-gfx/viewnior: version bump to 1.7
Signed-off-by: Tim Harder <radhermit@gentoo.org>
Diffstat (limited to 'media-gfx')
-rw-r--r--media-gfx/viewnior/Manifest1
-rw-r--r--media-gfx/viewnior/viewnior-1.7.ebuild40
2 files changed, 41 insertions, 0 deletions
diff --git a/media-gfx/viewnior/Manifest b/media-gfx/viewnior/Manifest
index 0d63c3025435..1a372a9de88c 100644
--- a/media-gfx/viewnior/Manifest
+++ b/media-gfx/viewnior/Manifest
@@ -1 +1,2 @@
DIST viewnior-1.6.tar.gz 168966 BLAKE2B 1a04ec6ee4e05da8d0721115826d2550c7d24b4299c105eb6de7ec3fe74b350b49605dbe5246a5acd93562fd904923053ab99a5741b929abd99ace8b2ad148cc SHA512 4b150078573bfd3b8c5863d73087a51cd3b7ed5781e26c842fab44eec3e67ea9aea3feba064538578878df1ccb386525a6a84362dae7f92315fb7de735ace617
+DIST viewnior-1.7.tar.gz 165719 BLAKE2B 906ab0b632fcc102ac62dd77d6742c2121c46cd92adc0dfe9ba772bf697eff356519dbb6219016a6470903c855aa4c9081f0d61ca1607d8d1b6d8e03236a19bc SHA512 5ba17d7b5ceeffa65b04213f179c1439b09ac44e412e0750dde159b118a714f28d3a290509a402b234e4e7ba5b185fc73eef65d418598f344911e4e2c1373fe5
diff --git a/media-gfx/viewnior/viewnior-1.7.ebuild b/media-gfx/viewnior/viewnior-1.7.ebuild
new file mode 100644
index 000000000000..cc0bc1afeae5
--- /dev/null
+++ b/media-gfx/viewnior/viewnior-1.7.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit xdg-utils gnome2-utils meson
+
+MY_PN=Viewnior
+DESCRIPTION="Fast and simple image viewer"
+HOMEPAGE="https://siyanpanayotov.com/project/viewnior/ https://github.com/hellosiyan/Viewnior"
+SRC_URI="https://github.com/hellosiyan/${MY_PN}/archive/${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="dev-libs/glib:2
+ media-gfx/exiv2:0=
+ >=x11-libs/gtk+-2.20:2
+ x11-misc/shared-mime-info
+"
+RDEPEND="${DEPEND}
+ dev-util/glib-utils
+"
+
+S="${WORKDIR}/${MY_PN}-${P}"
+
+pkg_preinst() {
+ gnome2_icon_savelist
+}
+
+pkg_postinst() {
+ xdg_desktop_database_update
+ gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+ xdg_desktop_database_update
+ gnome2_icon_cache_update
+}