diff options
author | Peter Volkov <pva@gentoo.org> | 2011-08-25 07:50:30 +0000 |
---|---|---|
committer | Peter Volkov <pva@gentoo.org> | 2011-08-25 07:50:30 +0000 |
commit | ea78b29e3da2dcf83e06f680019fd78ffc5f154a (patch) | |
tree | a9ee6f46288078db2eaa09f7958caa5aedc5f198 /media-gfx | |
parent | Version bump. (diff) | |
download | gentoo-2-ea78b29e3da2dcf83e06f680019fd78ffc5f154a.tar.gz gentoo-2-ea78b29e3da2dcf83e06f680019fd78ffc5f154a.tar.bz2 gentoo-2-ea78b29e3da2dcf83e06f680019fd78ffc5f154a.zip |
Version bump.
(Portage version: 2.1.10.11/cvs/Linux x86_64)
Diffstat (limited to 'media-gfx')
-rw-r--r-- | media-gfx/nip2/ChangeLog | 7 | ||||
-rw-r--r-- | media-gfx/nip2/nip2-7.26.3.ebuild | 78 |
2 files changed, 84 insertions, 1 deletions
diff --git a/media-gfx/nip2/ChangeLog b/media-gfx/nip2/ChangeLog index 8417c8f10232..a0b9b5aa3b12 100644 --- a/media-gfx/nip2/ChangeLog +++ b/media-gfx/nip2/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for media-gfx/nip2 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/nip2/ChangeLog,v 1.37 2011/08/14 10:55:04 pva Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-gfx/nip2/ChangeLog,v 1.38 2011/08/25 07:50:30 pva Exp $ + +*nip2-7.26.3 (25 Aug 2011) + + 25 Aug 2011; Peter Volkov <pva@gentoo.org> +nip2-7.26.3.ebuild: + Version bump. *nip2-7.26.2 (13 Aug 2011) diff --git a/media-gfx/nip2/nip2-7.26.3.ebuild b/media-gfx/nip2/nip2-7.26.3.ebuild new file mode 100644 index 000000000000..919912f1445d --- /dev/null +++ b/media-gfx/nip2/nip2-7.26.3.ebuild @@ -0,0 +1,78 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-gfx/nip2/nip2-7.26.3.ebuild,v 1.1 2011/08/25 07:50:30 pva Exp $ + +EAPI=2 +inherit eutils autotools fdo-mime gnome2-utils versionator + +MY_MAJ_VER=$(get_version_component_range 1-2) +DESCRIPTION="VIPS Image Processing Graphical User Interface" +SRC_URI="http://www.vips.ecs.soton.ac.uk/supported/${MY_MAJ_VER}/${P}.tar.gz" +HOMEPAGE="http://vips.sourceforge.net" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="debug fftw goffice gsl test" + +RDEPEND=">=dev-libs/glib-2.14:2 + dev-libs/libxml2 + x11-misc/xdg-utils + >=media-libs/vips-${MY_MAJ_VER} + >=x11-libs/gtk+-2.18:2 + goffice? ( x11-libs/goffice:0.8 ) + gsl? ( sci-libs/gsl ) + fftw? ( sci-libs/fftw:3.0 )" +DEPEND="${RDEPEND} + sys-devel/bison + sys-devel/flex + test? ( media-libs/vips[jpeg,lcms] )" + +src_prepare() { + epatch "${FILESDIR}"/${PN}-7.16.4-fftw3-build.patch + eautoreconf +} + +src_configure() { + econf \ + --disable-update-desktop \ + $(use_enable debug) \ + $(use_with goffice libgoffice) \ + $(use_with gsl) \ + $(use_with fftw fftw3) +} + +src_test() { + if ! use gsl; then + ewarn "Some tests require USE=gsl. Disabling test_math.ws tests." + rm test/workspaces/test_math.ws + fi + make check || die +} + +src_install() { + emake DESTDIR="${D}" install || die + dodoc AUTHORS ChangeLog NEWS README* || die + insinto /usr/share/icons/hicolor/128x128/apps + newins share/nip2/data/vips-128.png nip2.png || die + + mv "${D}"/usr/share/doc/${PN}/* "${D}"/usr/share/doc/${PF} || die + rmdir "${D}"/usr/share/doc/${PN}/ || die + dosym /usr/share/doc/${PF}/html /usr/share/doc/${PN}/ +} + +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 +} |