commit:     cb889cd336eab38f9434811e435b603bc016f632
Author:     Stephan Hartmann <stha09 <AT> googlemail <DOT> com>
AuthorDate: Sun Jan 21 13:26:40 2018 +0000
Commit:     Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Fri Jan 26 21:22:58 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cb889cd3

media-gfx/gpicview: update GTK+ icon cache and xdg desktop database.

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 | 31 +++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

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
index 00000000000..c78b2b2ba9e
--- /dev/null
+++ b/media-gfx/gpicview/gpicview-0.2.5-r1.ebuild
@@ -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
+}

Reply via email to