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-biology/mricrogl/
Date: Wed, 24 Feb 2016 16:50:02
Message-Id: 1456223941.1f31775ed8af8c80fcac8b8aae8a55526133faeb.jlec@gentoo
1 commit: 1f31775ed8af8c80fcac8b8aae8a55526133faeb
2 Author: Horea Christian <horea.christ <AT> yandex <DOT> com>
3 AuthorDate: Tue Feb 23 10:39:01 2016 +0000
4 Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
5 CommitDate: Tue Feb 23 10:39:01 2016 +0000
6 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=1f31775e
7
8 sci-biology/mricrogl: new package
9
10 Package-Manager: portage-2.2.27
11
12 sci-biology/mricrogl/metadata.xml | 17 ++++++++++++++
13 sci-biology/mricrogl/mricrogl-9999.ebuild | 38 +++++++++++++++++++++++++++++++
14 2 files changed, 55 insertions(+)
15
16 diff --git a/sci-biology/mricrogl/metadata.xml b/sci-biology/mricrogl/metadata.xml
17 new file mode 100644
18 index 0000000..a70a4f6
19 --- /dev/null
20 +++ b/sci-biology/mricrogl/metadata.xml
21 @@ -0,0 +1,17 @@
22 +<?xml version="1.0" encoding="UTF-8"?>
23 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
24 +<pkgmetadata>
25 + <maintainer type="project">
26 + <email>sci@g.o</email>
27 + <name>Gentoo Science Project</name>
28 + </maintainer>
29 + <longdescription lang="en">
30 + MRIcroGL is a program designed to display 3D medical imaging.
31 + By using your computer's graphics card, it can allow real-time
32 + interactive rendering. It includes scripts to show you some of
33 + the many effects.
34 + </longdescription>
35 + <upstream>
36 + <remote-id type="github">neurolabusc/MRIcroGL</remote-id>
37 + </upstream>
38 +</pkgmetadata>
39
40 diff --git a/sci-biology/mricrogl/mricrogl-9999.ebuild b/sci-biology/mricrogl/mricrogl-9999.ebuild
41 new file mode 100644
42 index 0000000..407af9f
43 --- /dev/null
44 +++ b/sci-biology/mricrogl/mricrogl-9999.ebuild
45 @@ -0,0 +1,38 @@
46 +# Copyright 1999-2015 Gentoo Foundation
47 +# Distributed under the terms of the GNU General Public License v2
48 +# $Id$
49 +
50 +EAPI="5"
51 +
52 +inherit git-r3
53 +
54 +DESCRIPTION="A simle medical imaging visualization tool"
55 +HOMEPAGE="https://github.com/neurolabusc/MRIcroGL"
56 +SRC_URI=""
57 +EGIT_REPO_URI="https://github.com/neurolabusc/MRIcroGL.git"
58 +
59 +LICENSE="BSD"
60 +SLOT="0"
61 +
62 +RDEPEND=""
63 +DEPEND="dev-lang/fpc
64 + dev-lang/lazarus"
65 +
66 +src_compile() {
67 + lazbuild -B --lazarusdir="/usr/share/lazarus/" simplelaz.lpi || die
68 +}
69 +
70 +src_install() {
71 + dobin MRIcroGL
72 + dobin dcm2niix
73 + dobin dcm2nii/dcm2niigui
74 + doicon icons/mricron.png
75 + make_desktop_entry MRIcroGL MRIcroGL mricrogl.svg
76 +}
77 +
78 +pkg_postinst() {
79 + gnome2_icon_cache_update
80 +}
81 +pkg_postrm() {
82 + gnome2_icon_cache_update
83 +}