Gentoo Archives: gentoo-commits

From: David Seifert <soap@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-visualization/quickplot/
Date: Sun, 29 Jan 2017 22:51:52
Message-Id: 1485730283.3c11d6809dd44eb3625677a37cb088e82b329844.soap@gentoo
1 commit: 3c11d6809dd44eb3625677a37cb088e82b329844
2 Author: Gerhard Bräunlich <wippbox <AT> gmx <DOT> net>
3 AuthorDate: Sun Jan 29 00:28:18 2017 +0000
4 Commit: David Seifert <soap <AT> gentoo <DOT> org>
5 CommitDate: Sun Jan 29 22:51:23 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3c11d680
7
8 sci-visualization/quickplot: Version bump to 1.0.1_rc, EAPI bump 5 -> 6
9
10 Package-Manager: portage-2.3.3
11 Closes: https://github.com/gentoo/gentoo/pull/3700
12
13 sci-visualization/quickplot/Manifest | 1 +
14 .../quickplot/quickplot-1.0.1_rc.ebuild | 50 ++++++++++++++++++++++
15 2 files changed, 51 insertions(+)
16
17 diff --git a/sci-visualization/quickplot/Manifest b/sci-visualization/quickplot/Manifest
18 index e58f25b..c6eb26a 100644
19 --- a/sci-visualization/quickplot/Manifest
20 +++ b/sci-visualization/quickplot/Manifest
21 @@ -1,2 +1,3 @@
22 DIST quickplot-0.10.6.tar.xz 445172 SHA256 6560dcfade541ed183d0609682a64915d66f437bf7268e1f221216b2a453d878 SHA512 10b5277d8d0b8febc3c663256f3912bdd9d879b3038a5fdd3a7adc223419893ee56b825f04b5bee29883f30acb3b6a329d8e314b049fef26d6220192767d4adb WHIRLPOOL d0f2b49db8fb3e74c7f4483a65bf278dd9c196833f341f2ea5d1d5b91bf36b2549e8465d64eed410e7c63a1cd6bef85e49200f102c79dc9d39a0a59be2e26ede
23 DIST quickplot-0.10.8.tar.bz2 531610 SHA256 ec3946daf978f9c18537c88c15be9e84f84097ab3bb7b04dae62edad5ba91456 SHA512 e382206ba70849755e4110070a5e6b128bea4502ef623c59aa041ba84ed407e0ad06c62366b3bbcd71f8a76a3e651a04efab61edeb616ab6321c5680b03afa95 WHIRLPOOL 84216eadfe905741c19ce036c621d6386a538bcee939ea7abd3e6bd90e2249f858b51400fbe8d79a0c3ccb93fabd00915012d3443afebac00c71d667ac4faf5f
24 +DIST quickplot-1.0.1rc.tar.gz 303055 SHA256 44c39c179eb593c717fc2a6f01058efa7deb2da91f4b91a0d014e03fba35e8a2 SHA512 9cfaaafb7db379fb43b2975d588464288ac18eb21b3248fb02e5a30b0fa0950313a9818cfec23821046f9819d78255f02dff9970668a4b4ed8c4f452d6df3451 WHIRLPOOL f20ff4bac3f990fe39a67368b8f42cafd513b0fd08091ab4befd8592719713f1bb4d01eb76dd87cd28adce26c820a648346b5dfe63f40044ac0080467b2cd870
25
26 diff --git a/sci-visualization/quickplot/quickplot-1.0.1_rc.ebuild b/sci-visualization/quickplot/quickplot-1.0.1_rc.ebuild
27 new file mode 100644
28 index 00000000..15fd960
29 --- /dev/null
30 +++ b/sci-visualization/quickplot/quickplot-1.0.1_rc.ebuild
31 @@ -0,0 +1,50 @@
32 +# Copyright 1999-2017 Gentoo Foundation
33 +# Distributed under the terms of the GNU General Public License v2
34 +# $Id$
35 +
36 +EAPI=6
37 +
38 +inherit autotools eutils
39 +
40 +MY_P=${P/_rc/rc}
41 +
42 +DESCRIPTION="A fast interactive 2D plotter"
43 +HOMEPAGE="http://quickplot.sourceforge.net/ https://github.com/lanceman2/quickplot"
44 +SRC_URI="https://github.com/lanceman2/${PN}/archive/${MY_P}.tar.gz"
45 +
46 +SLOT="0"
47 +LICENSE="GPL-3"
48 +KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux"
49 +IUSE="static-libs"
50 +
51 +RDEPEND="
52 + media-libs/libsndfile
53 + >=sys-libs/readline-0.6.2:0=
54 + x11-libs/gtk+:3"
55 +DEPEND="${RDEPEND}
56 + media-gfx/imagemagick
57 + virtual/pkgconfig
58 + www-client/lynx"
59 +
60 +S="${WORKDIR}/${PN}-${MY_P}"
61 +
62 +src_prepare() {
63 + sed -i \
64 + -e '/libquickplot_la_LIBADD/s:$: -lm:g' \
65 + -e 's/ $(htmldir)/ $(DESTDIR)$(htmldir)/g' \
66 + Makefile.am || die
67 + default
68 + eautoreconf
69 +}
70 +
71 +src_configure() {
72 + econf \
73 + --enable-developer \
74 + $(use_enable static-libs static)
75 +}
76 +
77 +src_install () {
78 + default
79 + make_desktop_entry 'quickplot --no-pipe' Quickplot quickplot Graphics
80 + mv "${ED%/}"/usr/share/applications/quickplot{*,}.desktop || die
81 +}