Gentoo Archives: gentoo-commits

From: Justin Lecher <jlec@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/sci:master commit in: sci-visualization/mricrogl/
Date: Fri, 14 Apr 2017 11:17:36
Message-Id: 1492003263.d02f6de87dc62fe8fb34eedc0c9bcd5d42b7980c.jlec@gentoo
1 commit: d02f6de87dc62fe8fb34eedc0c9bcd5d42b7980c
2 Author: Horea Christian <horea.christ <AT> yandex <DOT> com>
3 AuthorDate: Wed Apr 12 13:21:03 2017 +0000
4 Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
5 CommitDate: Wed Apr 12 13:21:03 2017 +0000
6 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=d02f6de8
7
8 sci-visualization/mricrogl: version bump (#773)
9
10 Package-Manager: Portage-2.3.5, Repoman-2.3.2
11
12 .../mricrogl/mricrogl-1.0.20170401.ebuild | 41 ++++++++++++++++++++++
13 1 file changed, 41 insertions(+)
14
15 diff --git a/sci-visualization/mricrogl/mricrogl-1.0.20170401.ebuild b/sci-visualization/mricrogl/mricrogl-1.0.20170401.ebuild
16 new file mode 100644
17 index 000000000..5795dd323
18 --- /dev/null
19 +++ b/sci-visualization/mricrogl/mricrogl-1.0.20170401.ebuild
20 @@ -0,0 +1,41 @@
21 +# Copyright 1999-2017 Gentoo Foundation
22 +# Distributed under the terms of the GNU General Public License v2
23 +
24 +EAPI=6
25 +
26 +inherit gnome2-utils
27 +
28 +DESCRIPTION="A simple medical imaging visualization tool"
29 +HOMEPAGE="https://github.com/neurolabusc/MRIcroGL"
30 +SRC_URI="https://github.com/neurolabusc/MRIcroGL/archive/v${PV}.tar.gz -> ${P}.tar.gz"
31 +
32 +LICENSE="BSD"
33 +SLOT="0"
34 +KEYWORDS="~amd64 ~x86"
35 +
36 +RDEPEND=""
37 +DEPEND="dev-lang/fpc
38 + >=dev-lang/lazarus-1.6.2"
39 +
40 +S="${WORKDIR}/MRIcroGL-${PV}"
41 +
42 +src_compile() {
43 + lazbuild -B --lazarusdir="/usr/share/lazarus/" simplelaz.lpi || die
44 +}
45 +
46 +src_install() {
47 + dobin MRIcroGL
48 +
49 + insinto /usr/share/mricrogl
50 + doins -r lut script shaders
51 +
52 + doicon -s scalable mricrogl.svg
53 + make_desktop_entry MRIcroGL MRIcroGL /usr/share/icons/hicolor/scalable/apps/mricrogl.svg
54 +}
55 +
56 +pkg_postinst() {
57 + gnome2_icon_cache_update
58 +}
59 +pkg_postrm() {
60 + gnome2_icon_cache_update
61 +}