summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGerhard Bräunlich <wippbox@gmx.net>2017-01-29 01:28:18 +0100
committerDavid Seifert <soap@gentoo.org>2017-01-29 23:51:23 +0100
commit3c11d6809dd44eb3625677a37cb088e82b329844 (patch)
treeb23d80a9bac62fa897fd009d71f14190eb39ed57 /sci-visualization
parentsci-misc/netlogo-bin: Removing EAPI 4 euilds (diff)
downloadgentoo-3c11d6809dd44eb3625677a37cb088e82b329844.tar.gz
gentoo-3c11d6809dd44eb3625677a37cb088e82b329844.tar.bz2
gentoo-3c11d6809dd44eb3625677a37cb088e82b329844.zip
sci-visualization/quickplot: Version bump to 1.0.1_rc, EAPI bump 5 -> 6
Package-Manager: portage-2.3.3 Closes: https://github.com/gentoo/gentoo/pull/3700
Diffstat (limited to 'sci-visualization')
-rw-r--r--sci-visualization/quickplot/Manifest1
-rw-r--r--sci-visualization/quickplot/quickplot-1.0.1_rc.ebuild50
2 files changed, 51 insertions, 0 deletions
diff --git a/sci-visualization/quickplot/Manifest b/sci-visualization/quickplot/Manifest
index e58f25ba309b..c6eb26a2b01f 100644
--- a/sci-visualization/quickplot/Manifest
+++ b/sci-visualization/quickplot/Manifest
@@ -1,2 +1,3 @@
DIST quickplot-0.10.6.tar.xz 445172 SHA256 6560dcfade541ed183d0609682a64915d66f437bf7268e1f221216b2a453d878 SHA512 10b5277d8d0b8febc3c663256f3912bdd9d879b3038a5fdd3a7adc223419893ee56b825f04b5bee29883f30acb3b6a329d8e314b049fef26d6220192767d4adb WHIRLPOOL d0f2b49db8fb3e74c7f4483a65bf278dd9c196833f341f2ea5d1d5b91bf36b2549e8465d64eed410e7c63a1cd6bef85e49200f102c79dc9d39a0a59be2e26ede
DIST quickplot-0.10.8.tar.bz2 531610 SHA256 ec3946daf978f9c18537c88c15be9e84f84097ab3bb7b04dae62edad5ba91456 SHA512 e382206ba70849755e4110070a5e6b128bea4502ef623c59aa041ba84ed407e0ad06c62366b3bbcd71f8a76a3e651a04efab61edeb616ab6321c5680b03afa95 WHIRLPOOL 84216eadfe905741c19ce036c621d6386a538bcee939ea7abd3e6bd90e2249f858b51400fbe8d79a0c3ccb93fabd00915012d3443afebac00c71d667ac4faf5f
+DIST quickplot-1.0.1rc.tar.gz 303055 SHA256 44c39c179eb593c717fc2a6f01058efa7deb2da91f4b91a0d014e03fba35e8a2 SHA512 9cfaaafb7db379fb43b2975d588464288ac18eb21b3248fb02e5a30b0fa0950313a9818cfec23821046f9819d78255f02dff9970668a4b4ed8c4f452d6df3451 WHIRLPOOL f20ff4bac3f990fe39a67368b8f42cafd513b0fd08091ab4befd8592719713f1bb4d01eb76dd87cd28adce26c820a648346b5dfe63f40044ac0080467b2cd870
diff --git a/sci-visualization/quickplot/quickplot-1.0.1_rc.ebuild b/sci-visualization/quickplot/quickplot-1.0.1_rc.ebuild
new file mode 100644
index 000000000000..15fd960c46c1
--- /dev/null
+++ b/sci-visualization/quickplot/quickplot-1.0.1_rc.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit autotools eutils
+
+MY_P=${P/_rc/rc}
+
+DESCRIPTION="A fast interactive 2D plotter"
+HOMEPAGE="http://quickplot.sourceforge.net/ https://github.com/lanceman2/quickplot"
+SRC_URI="https://github.com/lanceman2/${PN}/archive/${MY_P}.tar.gz"
+
+SLOT="0"
+LICENSE="GPL-3"
+KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux"
+IUSE="static-libs"
+
+RDEPEND="
+ media-libs/libsndfile
+ >=sys-libs/readline-0.6.2:0=
+ x11-libs/gtk+:3"
+DEPEND="${RDEPEND}
+ media-gfx/imagemagick
+ virtual/pkgconfig
+ www-client/lynx"
+
+S="${WORKDIR}/${PN}-${MY_P}"
+
+src_prepare() {
+ sed -i \
+ -e '/libquickplot_la_LIBADD/s:$: -lm:g' \
+ -e 's/ $(htmldir)/ $(DESTDIR)$(htmldir)/g' \
+ Makefile.am || die
+ default
+ eautoreconf
+}
+
+src_configure() {
+ econf \
+ --enable-developer \
+ $(use_enable static-libs static)
+}
+
+src_install () {
+ default
+ make_desktop_entry 'quickplot --no-pipe' Quickplot quickplot Graphics
+ mv "${ED%/}"/usr/share/applications/quickplot{*,}.desktop || die
+}