summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Volkov <pva@gentoo.org>2009-01-13 13:20:17 +0000
committerPeter Volkov <pva@gentoo.org>2009-01-13 13:20:17 +0000
commit35e8d4b8891b6cee36202e698bc830b703b0df57 (patch)
tree6564705f5a2875cd5e1be1b49bcc0999a5483393 /media-gfx/nip2
parentVersion bump. (diff)
downloadgentoo-2-35e8d4b8891b6cee36202e698bc830b703b0df57.tar.gz
gentoo-2-35e8d4b8891b6cee36202e698bc830b703b0df57.tar.bz2
gentoo-2-35e8d4b8891b6cee36202e698bc830b703b0df57.zip
Version bump.
(Portage version: 2.2_rc20/cvs/Linux 2.6.26-openvz.git-89451f9 i686)
Diffstat (limited to 'media-gfx/nip2')
-rw-r--r--media-gfx/nip2/ChangeLog10
-rw-r--r--media-gfx/nip2/files/nip2-7.16.4-fftw3-build.patch12
-rw-r--r--media-gfx/nip2/nip2-7.16.4.ebuild59
3 files changed, 79 insertions, 2 deletions
diff --git a/media-gfx/nip2/ChangeLog b/media-gfx/nip2/ChangeLog
index 3d2c488d38ab..d8c5e0fc430b 100644
--- a/media-gfx/nip2/ChangeLog
+++ b/media-gfx/nip2/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for media-gfx/nip2
-# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/nip2/ChangeLog,v 1.12 2008/11/22 23:28:12 maekke Exp $
+# 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 $
+
+*nip2-7.16.4 (13 Jan 2009)
+
+ 13 Jan 2009; Peter Volkov <pva@gentoo.org>
+ +files/nip2-7.16.4-fftw3-build.patch, +nip2-7.16.4.ebuild:
+ Version bump.
*nip2-7.16.3 (22 Nov 2008)
diff --git a/media-gfx/nip2/files/nip2-7.16.4-fftw3-build.patch b/media-gfx/nip2/files/nip2-7.16.4-fftw3-build.patch
new file mode 100644
index 000000000000..d67134638502
--- /dev/null
+++ b/media-gfx/nip2/files/nip2-7.16.4-fftw3-build.patch
@@ -0,0 +1,12 @@
+=== modified file 'configure.in'
+--- configure.in 2009-01-13 09:30:52 +0000
++++ configure.in 2009-01-13 09:35:48 +0000
+@@ -186,6 +186,7 @@
+ with_fftw3=no
+ ])
+ IP_CFLAGS="$FFTW_INCLUDES $FFTW3_CFLAGS $IP_CFLAGS"
++ IP_LIBS="$FFTW3_LIBS $IP_LIBS"
+ fi
+
+ # optional ... we add some gsl funcs as builtins if available
+
diff --git a/media-gfx/nip2/nip2-7.16.4.ebuild b/media-gfx/nip2/nip2-7.16.4.ebuild
new file mode 100644
index 000000000000..8411c8929f71
--- /dev/null
+++ b/media-gfx/nip2/nip2-7.16.4.ebuild
@@ -0,0 +1,59 @@
+# 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.16.4.ebuild,v 1.1 2009/01/13 13:20:17 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 )"
+
+# Flex and bison are build dependencies, but are not needed at runtime
+DEPEND="${RDEPEND}
+ =sys-devel/bison-2.3*
+ sys-devel/flex"
+
+src_prepare() {
+ epatch "${FILESDIR}/${P}-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
+}