summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Volkov <pva@gentoo.org>2009-04-22 17:06:07 +0000
committerPeter Volkov <pva@gentoo.org>2009-04-22 17:06:07 +0000
commit8e7b11d73710a3e0f53b5af03ade9abef9b4cf0c (patch)
treeefb3afb623520ee447bd95458045ec0b9b0577e8 /media-gfx/nip2
parentVersion bump. (diff)
downloadgentoo-2-8e7b11d73710a3e0f53b5af03ade9abef9b4cf0c.tar.gz
gentoo-2-8e7b11d73710a3e0f53b5af03ade9abef9b4cf0c.tar.bz2
gentoo-2-8e7b11d73710a3e0f53b5af03ade9abef9b4cf0c.zip
Version bump.
(Portage version: 2.2_rc31/cvs/Linux i686)
Diffstat (limited to 'media-gfx/nip2')
-rw-r--r--media-gfx/nip2/ChangeLog7
-rw-r--r--media-gfx/nip2/nip2-7.18.1.ebuild58
2 files changed, 64 insertions, 1 deletions
diff --git a/media-gfx/nip2/ChangeLog b/media-gfx/nip2/ChangeLog
index d8c5e0fc430b..cc9065e58c96 100644
--- a/media-gfx/nip2/ChangeLog
+++ b/media-gfx/nip2/ChangeLog
@@ -1,6 +1,11 @@
# 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.13 2009/01/13 13:20:17 pva Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/nip2/ChangeLog,v 1.14 2009/04/22 17:06:07 pva Exp $
+
+*nip2-7.18.1 (22 Apr 2009)
+
+ 22 Apr 2009; Peter Volkov <pva@gentoo.org> +nip2-7.18.1.ebuild:
+ Version bump.
*nip2-7.16.4 (13 Jan 2009)
diff --git a/media-gfx/nip2/nip2-7.18.1.ebuild b/media-gfx/nip2/nip2-7.18.1.ebuild
new file mode 100644
index 000000000000..c023dd50c33b
--- /dev/null
+++ b/media-gfx/nip2/nip2-7.18.1.ebuild
@@ -0,0 +1,58 @@
+# Copyright 2003-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/nip2/nip2-7.18.1.ebuild,v 1.1 2009/04/22 17:06:07 pva Exp $
+
+EAPI="2"
+inherit eutils autotools fdo-mime versionator
+
+DESCRIPTION="VIPS Image Processing Graphical User Interface"
+SRC_URI="http://www.vips.ecs.soton.ac.uk/supported/$(get_version_component_range 1-2)/${P}.tar.gz"
+HOMEPAGE="http://vips.sourceforge.net"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="fftw gsl"
+
+RDEPEND="
+ >=dev-libs/glib-2
+ dev-libs/libxml2
+ x11-misc/xdg-utils
+ >=media-libs/vips-${PV}
+ >=x11-libs/gtk+-2.4.9
+ gsl? ( sci-libs/gsl )
+ fftw? ( sci-libs/fftw:3.0 )"
+
+DEPEND="${RDEPEND}
+ =sys-devel/bison-2.3*
+ sys-devel/flex"
+
+src_prepare() {
+ epatch "${FILESDIR}/${PN}-7.16.4-fftw3-build.patch"
+ eautoreconf
+}
+
+src_configure() {
+ econf \
+ --disable-update-desktop \
+ $(use_with gsl) \
+ $(use_with fftw fftw3)
+}
+
+src_install() {
+ make DESTDIR="${D}" install || die "install failed"
+ 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_postinst() {
+ fdo-mime_desktop_database_update
+ fdo-mime_mime_database_update
+}
+
+pkg_postrm() {
+ fdo-mime_desktop_database_update
+ fdo-mime_mime_database_update
+}