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: Tue, 26 Apr 2016 19:06:45
Message-Id: 1461692430.c1151b7b8e0a172a73d2884c421e1c8465b041b3.jlec@gentoo
1 commit: c1151b7b8e0a172a73d2884c421e1c8465b041b3
2 Author: Horea Christian <horea.christ <AT> yandex <DOT> com>
3 AuthorDate: Tue Apr 26 17:40:30 2016 +0000
4 Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
5 CommitDate: Tue Apr 26 17:40:30 2016 +0000
6 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=c1151b7b
7
8 sci-visualization/mricrogl: new versioned ebuild
9
10 Package-Manager: portage-2.2.28
11
12 .../mricrogl/mricrogl-1.0.20151111.ebuild | 42 ++++++++++++++++++++++
13 1 file changed, 42 insertions(+)
14
15 diff --git a/sci-visualization/mricrogl/mricrogl-1.0.20151111.ebuild b/sci-visualization/mricrogl/mricrogl-1.0.20151111.ebuild
16 new file mode 100644
17 index 0000000..0c33fad
18 --- /dev/null
19 +++ b/sci-visualization/mricrogl/mricrogl-1.0.20151111.ebuild
20 @@ -0,0 +1,42 @@
21 +# Copyright 1999-2016 Gentoo Foundation
22 +# Distributed under the terms of the GNU General Public License v2
23 +# $Id$
24 +
25 +EAPI="6"
26 +
27 +inherit git-r3 gnome2-utils
28 +
29 +DESCRIPTION="A simle medical imaging visualization tool"
30 +HOMEPAGE="https://github.com/neurolabusc/MRIcroGL"
31 +SRC_URI=""
32 +EGIT_REPO_URI="https://github.com/neurolabusc/MRIcroGL.git"
33 +EGIT_COMMIT="${PV}"
34 +
35 +LICENSE="BSD"
36 +SLOT="0"
37 +KEYWORDS="~amd64 ~x86"
38 +
39 +RDEPEND=""
40 +DEPEND="dev-lang/fpc
41 + dev-lang/lazarus"
42 +
43 +src_compile() {
44 + lazbuild -B --lazarusdir="/usr/share/lazarus/" simplelaz.lpi || die
45 +}
46 +
47 +src_install() {
48 + dobin MRIcroGL
49 +
50 + insinto /usr/bin/shaders
51 + doins shaders/*.txt
52 +
53 + doicon -s scalable mricrogl.svg
54 + make_desktop_entry MRIcroGL MRIcroGL /usr/share/icons/hicolor/scalable/apps/mricrogl.svg
55 +}
56 +
57 +pkg_postinst() {
58 + gnome2_icon_cache_update
59 +}
60 +pkg_postrm() {
61 + gnome2_icon_cache_update
62 +}