summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRicardo Mendoza <ricmm@gentoo.org>2011-01-13 18:53:15 +0000
committerRicardo Mendoza <ricmm@gentoo.org>2011-01-13 18:53:15 +0000
commit72e5bf3ce8392ad3528ed733eacd2be85c22ad83 (patch)
tree65f4575a58c3c6bf5bfd642b788da5b0be0de582 /media-gfx/viewnior
parentVersion bump. (diff)
downloadgentoo-2-72e5bf3ce8392ad3528ed733eacd2be85c22ad83.tar.gz
gentoo-2-72e5bf3ce8392ad3528ed733eacd2be85c22ad83.tar.bz2
gentoo-2-72e5bf3ce8392ad3528ed733eacd2be85c22ad83.zip
Version bump. New features and Gnome 3.0 support
(Portage version: 2.2_rc91/cvs/Linux x86_64)
Diffstat (limited to 'media-gfx/viewnior')
-rw-r--r--media-gfx/viewnior/ChangeLog9
-rw-r--r--media-gfx/viewnior/viewnior-1.1.ebuild39
2 files changed, 46 insertions, 2 deletions
diff --git a/media-gfx/viewnior/ChangeLog b/media-gfx/viewnior/ChangeLog
index 860ccece40ce..c9f109954f02 100644
--- a/media-gfx/viewnior/ChangeLog
+++ b/media-gfx/viewnior/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for media-gfx/viewnior
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/viewnior/ChangeLog,v 1.6 2010/10/10 18:14:24 ricmm Exp $
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/viewnior/ChangeLog,v 1.7 2011/01/13 18:53:15 ricmm Exp $
+
+*viewnior-1.1 (13 Jan 2011)
+
+ 13 Jan 2011; Ricardo Mendoza <ricmm@gentoo.org> +viewnior-1.1.ebuild:
+ Version bump. New features, Gnome 3.0 ready.
10 Oct 2010; Ricardo Mendoza <ricmm@gentoo.org> metadata.xml:
Taking over package.
diff --git a/media-gfx/viewnior/viewnior-1.1.ebuild b/media-gfx/viewnior/viewnior-1.1.ebuild
new file mode 100644
index 000000000000..92bdf557a483
--- /dev/null
+++ b/media-gfx/viewnior/viewnior-1.1.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/viewnior/viewnior-1.1.ebuild,v 1.1 2011/01/13 18:53:15 ricmm Exp $
+
+EAPI="2"
+inherit fdo-mime gnome2-utils
+
+DESCRIPTION="Fast and simple image viewer"
+HOMEPAGE="http://xsisqox.github.com/Viewnior/index.html"
+SRC_URI="http://cloud.github.com/downloads/xsisqox/Viewnior/${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="dev-libs/glib:2
+ >=x11-libs/gtk+-2.20:2
+ x11-misc/shared-mime-info"
+RDEPEND="${DEPEND}"
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+ dodoc AUTHORS ChangeLog* TODO README NEWS || die "dodoc failed"
+}
+
+pkg_preinst() {
+ gnome2_icon_savelist
+}
+
+pkg_postinst() {
+ fdo-mime_desktop_database_update
+ gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+ fdo-mime_desktop_database_update
+ gnome2_icon_cache_update
+}