1 |
commit: aecc1ca8aabb4b17ae45dd162552a9ff9ddd1da3 |
2 |
Author: Horea Christian <horea.christ <AT> yandex <DOT> com> |
3 |
AuthorDate: Sun Sep 23 23:57:19 2018 +0000 |
4 |
Commit: Horea Christian <horea.christ <AT> gmail <DOT> com> |
5 |
CommitDate: Sun Sep 23 23:57:19 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=aecc1ca8 |
7 |
|
8 |
sci-visualization/mricrogl: version bump |
9 |
|
10 |
Package-Manager: Portage-2.3.49, Repoman-2.3.10 |
11 |
|
12 |
.../mricrogl/mricrogl-1.0.20180623.ebuild | 44 ++++++++++++++++++++++ |
13 |
1 file changed, 44 insertions(+) |
14 |
|
15 |
diff --git a/sci-visualization/mricrogl/mricrogl-1.0.20180623.ebuild b/sci-visualization/mricrogl/mricrogl-1.0.20180623.ebuild |
16 |
new file mode 100644 |
17 |
index 000000000..3c54c1576 |
18 |
--- /dev/null |
19 |
+++ b/sci-visualization/mricrogl/mricrogl-1.0.20180623.ebuild |
20 |
@@ -0,0 +1,44 @@ |
21 |
+# Copyright 1999-2018 Gentoo Foundation |
22 |
+# Distributed under the terms of the GNU General Public License v2 |
23 |
+ |
24 |
+EAPI=6 |
25 |
+ |
26 |
+inherit eutils 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[python]" |
39 |
+ |
40 |
+S="${WORKDIR}/MRIcroGL-${PV}" |
41 |
+ |
42 |
+src_compile() { |
43 |
+ # Python support will only be vaialable for the default implementation: |
44 |
+ # https://github.com/neurolabusc/MRIcroGL/issues/30#issuecomment-423216197 |
45 |
+ cp -rf /etc/lazarus system-lazarus-config |
46 |
+ lazbuild -B --lazarusdir="/usr/share/lazarus/" --pcp="system-lazarus-config" simplelaz.lpi || die |
47 |
+} |
48 |
+ |
49 |
+src_install() { |
50 |
+ dobin MRIcroGL |
51 |
+ |
52 |
+ insinto /usr/share/mricrogl |
53 |
+ doins -r lut script shaders |
54 |
+ |
55 |
+ doicon -s scalable mricrogl.svg |
56 |
+ make_desktop_entry MRIcroGL MRIcroGL /usr/share/icons/hicolor/scalable/apps/mricrogl.svg |
57 |
+} |
58 |
+ |
59 |
+pkg_postinst() { |
60 |
+ gnome2_icon_cache_update |
61 |
+} |
62 |
+pkg_postrm() { |
63 |
+ gnome2_icon_cache_update |
64 |
+} |