media-gfx/gpicview: update GTK+ icon cache and xdg desktop database.
authorStephan Hartmann <stha09@googlemail.com>
Sun, 21 Jan 2018 13:26:40 +0000 (14:26 +0100)
committerPatrice Clement <monsieurp@gentoo.org>
Fri, 26 Jan 2018 21:22:58 +0000 (22:22 +0100)
Package-Manager: Portage-2.3.19, Repoman-2.3.6
Closes: https://github.com/gentoo/gentoo/pull/6920

media-gfx/gpicview/gpicview-0.2.5-r1.ebuild [new file with mode: 0644]

diff --git a/media-gfx/gpicview/gpicview-0.2.5-r1.ebuild b/media-gfx/gpicview/gpicview-0.2.5-r1.ebuild
new file mode 100644 (file)
index 0000000..c78b2b2
--- /dev/null
@@ -0,0 +1,31 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit gnome2-utils xdg-utils
+
+DESCRIPTION="A Simple and Fast Image Viewer for X"
+HOMEPAGE="http://lxde.sourceforge.net/gpicview"
+SRC_URI="mirror://sourceforge/lxde/${P}.tar.xz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ppc ~x86 ~arm-linux ~x86-linux"
+
+RDEPEND="virtual/jpeg:0
+       >=x11-libs/gtk+-2.6:2"
+DEPEND="${RDEPEND}
+       >=dev-util/intltool-0.40
+       sys-devel/gettext
+       virtual/pkgconfig"
+
+pkg_postinst() {
+       gnome2_icon_cache_update
+       xdg_desktop_database_update
+}
+
+pkg_postrm() {
+       gnome2_icon_cache_update
+       xdg_desktop_database_update
+}