diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2010-02-13 19:15:21 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2010-02-13 19:15:21 +0000 |
commit | 45681e5ff23e35def1def08c2de237f49be77768 (patch) | |
tree | 6d9ffdca634ad94fbcf6238e7ae40f0a41c950a4 /media-gfx/nip2 | |
parent | Add ~sparc (diff) | |
download | gentoo-2-45681e5ff23e35def1def08c2de237f49be77768.tar.gz gentoo-2-45681e5ff23e35def1def08c2de237f49be77768.tar.bz2 gentoo-2-45681e5ff23e35def1def08c2de237f49be77768.zip |
Missing gtk-update-icon-cache.
(Portage version: 2.2_rc62/cvs/Linux x86_64)
Diffstat (limited to 'media-gfx/nip2')
-rw-r--r-- | media-gfx/nip2/ChangeLog | 7 | ||||
-rw-r--r-- | media-gfx/nip2/nip2-7.20.7.ebuild | 22 |
2 files changed, 18 insertions, 11 deletions
diff --git a/media-gfx/nip2/ChangeLog b/media-gfx/nip2/ChangeLog index 85b2b5fc01f0..c725398be17e 100644 --- a/media-gfx/nip2/ChangeLog +++ b/media-gfx/nip2/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for media-gfx/nip2 -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/nip2/ChangeLog,v 1.19 2009/12/28 02:51:05 maekke Exp $ +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-gfx/nip2/ChangeLog,v 1.20 2010/02/13 19:15:21 ssuominen Exp $ + + 13 Feb 2010; Samuli Suominen <ssuominen@gentoo.org> nip2-7.20.7.ebuild: + Missing gtk-update-icon-cache. 28 Dec 2009; Markus Meier <maekke@gentoo.org> nip2-7.20.7.ebuild: relax =sys-devel/bison-2.3* dep to sys-devel/bison by dacook in bug diff --git a/media-gfx/nip2/nip2-7.20.7.ebuild b/media-gfx/nip2/nip2-7.20.7.ebuild index d2b0c5d82e9f..b8a00ef7545d 100644 --- a/media-gfx/nip2/nip2-7.20.7.ebuild +++ b/media-gfx/nip2/nip2-7.20.7.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2009 Gentoo Foundation +# Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/nip2/nip2-7.20.7.ebuild,v 1.2 2009/12/28 02:51:05 maekke Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-gfx/nip2/nip2-7.20.7.ebuild,v 1.3 2010/02/13 19:15:21 ssuominen Exp $ -EAPI="2" -inherit eutils autotools fdo-mime versionator +EAPI=2 +inherit eutils autotools fdo-mime gnome2-utils versionator # TODO: goffice we need 0.7 which is not in portage ATM @@ -17,8 +17,7 @@ SLOT="0" KEYWORDS="~amd64 ~ppc ~x86" IUSE="fftw gsl test" -RDEPEND=" - >=dev-libs/glib-2.14:2 +RDEPEND=">=dev-libs/glib-2.14:2 dev-libs/libxml2 x11-misc/xdg-utils >=media-libs/vips-${MY_MAJ_VER} @@ -31,7 +30,7 @@ DEPEND="${RDEPEND} test? ( media-libs/vips[lcms] )" src_prepare() { - epatch "${FILESDIR}/${PN}-7.16.4-fftw3-build.patch" + epatch "${FILESDIR}"/${PN}-7.16.4-fftw3-build.patch eautoreconf } @@ -51,19 +50,24 @@ src_test() { } src_install() { - make DESTDIR="${D}" install || die "install failed" + emake DESTDIR="${D}" install || die dodoc AUTHORS ChangeLog NEWS README* || die - # icon for .desktop insinto /usr/share/icons/hicolor/128x128/apps newins share/nip2/data/vips-128.png nip2.png || die } +pkg_preinst() { + gnome2_icon_savelist +} + pkg_postinst() { fdo-mime_desktop_database_update fdo-mime_mime_database_update + gnome2_icon_cache_update } pkg_postrm() { fdo-mime_desktop_database_update fdo-mime_mime_database_update + gnome2_icon_cache_update } |