1 |
commit: 2246e624fbf5ba29cacdf6200fb8ca28d0d1988f |
2 |
Author: Horea Christian <horea.christ <AT> yandex <DOT> com> |
3 |
AuthorDate: Mon Sep 24 00:14:16 2018 +0000 |
4 |
Commit: Horea Christian <horea.christ <AT> gmail <DOT> com> |
5 |
CommitDate: Mon Sep 24 00:14:16 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=2246e624 |
7 |
|
8 |
sci-visualization/surf-ice: version bump |
9 |
|
10 |
Package-Manager: Portage-2.3.49, Repoman-2.3.10 |
11 |
|
12 |
.../surf-ice/surf-ice-1.0.20180622.ebuild | 45 ++++++++++++++++++++++ |
13 |
1 file changed, 45 insertions(+) |
14 |
|
15 |
diff --git a/sci-visualization/surf-ice/surf-ice-1.0.20180622.ebuild b/sci-visualization/surf-ice/surf-ice-1.0.20180622.ebuild |
16 |
new file mode 100644 |
17 |
index 000000000..477d3a0c8 |
18 |
--- /dev/null |
19 |
+++ b/sci-visualization/surf-ice/surf-ice-1.0.20180622.ebuild |
20 |
@@ -0,0 +1,45 @@ |
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 gnome2-utils |
27 |
+ |
28 |
+DESCRIPTION="A simple medical imaging visualization tool" |
29 |
+HOMEPAGE="https://github.com/neurolabusc/surf-ice" |
30 |
+SRC_URI="https://github.com/neurolabusc/surf-ice/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 |
+src_compile() { |
41 |
+ # Python support will only be vaialable for the default implementation: |
42 |
+ # https://github.com/neurolabusc/MRIcroGL/issues/30#issuecomment-423216197 |
43 |
+ cp -rf /etc/lazarus system-lazarus-config |
44 |
+ lazbuild -B --lazarusdir="/usr/share/lazarus/" --pcp="system-lazarus-config" surfice.lpi || die |
45 |
+} |
46 |
+ |
47 |
+src_install() { |
48 |
+ dobin surfice |
49 |
+ |
50 |
+ insinto /usr/bin/shaders |
51 |
+ doins shaders/*.txt |
52 |
+ |
53 |
+ insinto /usr/bin/shadersOld |
54 |
+ doins shadersOld/*.txt |
55 |
+ |
56 |
+ doicon -s scalable Surfice.jpg |
57 |
+ make_desktop_entry surfice surfice /usr/share/icons/hicolor/scalable/apps/Surfice.jpg |
58 |
+} |
59 |
+ |
60 |
+pkg_postinst() { |
61 |
+ gnome2_icon_cache_update |
62 |
+} |
63 |
+pkg_postrm() { |
64 |
+ gnome2_icon_cache_update |
65 |
+} |