aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHorea Christian <horea.christ@yandex.com>2018-09-24 02:14:16 +0200
committerHorea Christian <horea.christ@yandex.com>2018-09-24 02:14:16 +0200
commit2246e624fbf5ba29cacdf6200fb8ca28d0d1988f (patch)
treef6cd05eb3307ce7f68ea3dc458a45e4632b9b1c5
parentsci-visualization/mricrogl: updated live ebuild (diff)
downloadsci-2246e624fbf5ba29cacdf6200fb8ca28d0d1988f.tar.gz
sci-2246e624fbf5ba29cacdf6200fb8ca28d0d1988f.tar.bz2
sci-2246e624fbf5ba29cacdf6200fb8ca28d0d1988f.zip
sci-visualization/surf-ice: version bump
Package-Manager: Portage-2.3.49, Repoman-2.3.10
-rw-r--r--sci-visualization/surf-ice/Manifest1
-rw-r--r--sci-visualization/surf-ice/surf-ice-1.0.20180622.ebuild45
2 files changed, 46 insertions, 0 deletions
diff --git a/sci-visualization/surf-ice/Manifest b/sci-visualization/surf-ice/Manifest
index ccd9581d4..b7b7b498f 100644
--- a/sci-visualization/surf-ice/Manifest
+++ b/sci-visualization/surf-ice/Manifest
@@ -1 +1,2 @@
DIST surf-ice-1.0.20170202.tar.gz 40179987 BLAKE2B 94c396f2813d37664988ddf1402421799bb6e4d2bdfb016db4420c810b38466bb274c8d43ea4d8ddba870155fdea5873a6ef6aea286961741726b61bd8eb7f61 SHA512 526828d12a75f103fa04ef6e2bd1a5f75eabd47243797392ac8275e9bfaacd66285272241171745c3d7aa5669dc24eee736d597ad89d066d8cbeb4ad4a0954df
+DIST surf-ice-1.0.20180622.tar.gz 29653902 BLAKE2B f68d2746d7bb2c97e4e998d394c1028173164d855ada695d65846f78ec7c6d1b43b6bab66444da27000d7d0539b2b1adfe0499321085980ba3d528423315d84e SHA512 dcad99c7add43d9e5b3196f64236a64c7315cd5bbbd744911c322b4ac821d8a81f268e43a367e9e09cd22972abb64f9419346a8119332551ae02a9261751c5f8
diff --git a/sci-visualization/surf-ice/surf-ice-1.0.20180622.ebuild b/sci-visualization/surf-ice/surf-ice-1.0.20180622.ebuild
new file mode 100644
index 000000000..477d3a0c8
--- /dev/null
+++ b/sci-visualization/surf-ice/surf-ice-1.0.20180622.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit gnome2-utils
+
+DESCRIPTION="A simple medical imaging visualization tool"
+HOMEPAGE="https://github.com/neurolabusc/surf-ice"
+SRC_URI="https://github.com/neurolabusc/surf-ice/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND=""
+DEPEND="dev-lang/fpc
+ >=dev-lang/lazarus-1.6.2[python]"
+
+src_compile() {
+ # Python support will only be vaialable for the default implementation:
+ # https://github.com/neurolabusc/MRIcroGL/issues/30#issuecomment-423216197
+ cp -rf /etc/lazarus system-lazarus-config
+ lazbuild -B --lazarusdir="/usr/share/lazarus/" --pcp="system-lazarus-config" surfice.lpi || die
+}
+
+src_install() {
+ dobin surfice
+
+ insinto /usr/bin/shaders
+ doins shaders/*.txt
+
+ insinto /usr/bin/shadersOld
+ doins shadersOld/*.txt
+
+ doicon -s scalable Surfice.jpg
+ make_desktop_entry surfice surfice /usr/share/icons/hicolor/scalable/apps/Surfice.jpg
+}
+
+pkg_postinst() {
+ gnome2_icon_cache_update
+}
+pkg_postrm() {
+ gnome2_icon_cache_update
+}