summaryrefslogtreecommitdiff
path: root/media-gfx/nip2
diff options
context:
space:
mode:
Diffstat (limited to 'media-gfx/nip2')
-rw-r--r--media-gfx/nip2/Manifest5
-rw-r--r--media-gfx/nip2/metadata.xml14
-rw-r--r--media-gfx/nip2/nip2-7.38.1.ebuild77
3 files changed, 96 insertions, 0 deletions
diff --git a/media-gfx/nip2/Manifest b/media-gfx/nip2/Manifest
new file mode 100644
index 000000000000..8ddc66e2a692
--- /dev/null
+++ b/media-gfx/nip2/Manifest
@@ -0,0 +1,5 @@
+DIST nip2-7.38.1.tar.gz 9507197 SHA256 bc93fdb12b1415b9df863b932ab5fb7dd10e09622f954ac667174764d572d0ed SHA512 e5164a73a468d3aa90ef4c15d77243a285a8941393f5c3766fe83fcc4d518440ce4ac357acb75699e4877f7b47dc2c3e9097f67ed4080617af0a99e28721192f WHIRLPOOL 55865d7af8347e08efa9744d54514626d6d7d48c58e4fc45bc4bf182cde7f0ecd08882ff19c564b324ad4ec0dababfdc61292e2186d91c5d4da3658de568c392
+EBUILD nip2-7.38.1.ebuild 1843 SHA256 026c710095b811768a45837aac49e3d90f1a417e743155588c07f5673acf1b74 SHA512 b866a763ee1013d3a544b8c61a9b60433822bcbdb3e4be535ab4ac4537dc49adc90fcf1bcd139ff21b77c4c17905ebf15f7d81e3f5ede7224bcd43a9eeb6960b WHIRLPOOL 82c2e9884792d10b02d7e3bcdfadbd7291caabe586c39c40ce2c0974e7f97aa659ca681946bf2e392a2d1110ea6dc3ab3ee9b80e86277b9acc53faefbedcaf4a
+MISC ChangeLog 3224 SHA256 166f5ad65b27f824113613d1e5a3375112f35e6767fdd403609efcc30b707e88 SHA512 e27a2c194957855c50268a064e76f94bafe023602d6a72678fb7e0d83b692efaf849f951e24040efc66189aeb22b2a02f9110fe61efdad2dcbc3437a9bda5498 WHIRLPOOL cb1bbd8f706a852352dc7c19a33130899b486f3dd1c4cd7e14bb4d5949c39b45c1f89518ad797500755836f12fa1f64d5f4b4e9f9833c48dc954e28123da377c
+MISC ChangeLog-2015 6456 SHA256 a49fb86ea0458be43bb42954ba06eedc09adb0efe405808040957475b680cc8d SHA512 d7e00b881ac8c9636e0226a1f12ba89d1673604f4b177c83d6e87d2a3e459f2d2a51e33673b273d6db928f14297ce16899bb5b747f706dee1873ff769ebc7e05 WHIRLPOOL 713fd899b19d305cf4db71de373c1493cbd578fedf6712136aac735a290134158a904952b61254fa0db0b10358ddeddfc68f456140e7c577870581a74f0f1537
+MISC metadata.xml 424 SHA256 05062a8d055af575155178f9f246bf77b2cc229e949f68b786f8f8043a6eaab4 SHA512 660f5437b6a0b7f3ab377d572b80bf3fc849fe663333f283c3b2dc36dc5d655fb528b32610831b1806ae391c7c2e0f48ae66d5f8c32e5e87e977aa3da261ddc3 WHIRLPOOL cdb9b90d713bd42bd33d6b3996f7d969ab7e16888188c990d53d191893f613794875670c9d4d4f5797b3758c3382f84984fab2a75aded70b74e686746ace8659
diff --git a/media-gfx/nip2/metadata.xml b/media-gfx/nip2/metadata.xml
new file mode 100644
index 000000000000..1bc39a2f5412
--- /dev/null
+++ b/media-gfx/nip2/metadata.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>graphics@gentoo.org</email>
+ <name>Gentoo Graphics Project</name>
+ </maintainer>
+ <use>
+ <flag name="goffice">use <pkg>x11-libs/goffice</pkg> to show plots</flag>
+ </use>
+ <upstream>
+ <remote-id type="sourceforge">vips</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/media-gfx/nip2/nip2-7.38.1.ebuild b/media-gfx/nip2/nip2-7.38.1.ebuild
new file mode 100644
index 000000000000..1fbed7e2f585
--- /dev/null
+++ b/media-gfx/nip2/nip2-7.38.1.ebuild
@@ -0,0 +1,77 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+inherit 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 graphviz goffice gsl test"
+
+RDEPEND=">=dev-libs/glib-2.14:2
+ dev-libs/libxml2
+ x11-misc/xdg-utils
+ =media-libs/vips-${MY_MAJ_VER}*[fftw?]
+ >=x11-libs/gtk+-2.24:2
+ goffice? ( x11-libs/goffice:0.8 )
+ graphviz? ( <media-gfx/graphviz-2.30 )
+ gsl? ( sci-libs/gsl )
+ fftw? ( sci-libs/fftw:3.0 )"
+DEPEND="${RDEPEND}
+ sys-devel/bison
+ sys-devel/flex
+ test? ( media-libs/vips[jpeg,lcms,tiff] )"
+
+# lots of tests use fftw transforms
+REQUIRED_USE="test? ( fftw )"
+
+src_configure() {
+ econf \
+ --disable-update-desktop \
+ $(use_enable debug) \
+ $(use_with goffice libgoffice) \
+ $(use_with graphviz libgvc) \
+ $(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
+ emake check
+}
+
+src_install() {
+ emake DESTDIR="${D}" install
+ dodoc AUTHORS ChangeLog THANKS
+ insinto /usr/share/icons/hicolor/128x128/apps
+ newins share/nip2/data/vips-128.png nip2.png
+
+ mv "${D}"/usr/share/doc/${PN}/* "${D}"/usr/share/doc/${PF} || die
+ rmdir "${D}"/usr/share/doc/${PN}/ || die
+ dosym ../${PF}/html /usr/share/doc/${PN}/html
+}
+
+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
+}