commit:     6f0488d558af648d64c5fe8e1f36b15370b940d6
Author:     Horea Christian <horea.christ <AT> yandex <DOT> com>
AuthorDate: Mon Jan  9 13:53:31 2017 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Mon Jan  9 13:53:31 2017 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=6f0488d5

Surf ice (#719)

* sci-visualization/surf-ice: new ebuild

Package-Manager: Portage-2.3.3, Repoman-2.3.1

* sci-visualization/surf-ice: updated metadata

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 sci-visualization/surf-ice/metadata.xml         | 23 +++++++++++++
 sci-visualization/surf-ice/surf-ice-9999.ebuild | 43 +++++++++++++++++++++++++
 2 files changed, 66 insertions(+)

diff --git a/sci-visualization/surf-ice/metadata.xml 
b/sci-visualization/surf-ice/metadata.xml
new file mode 100644
index 0000000..434c6e7
--- /dev/null
+++ b/sci-visualization/surf-ice/metadata.xml
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
+<pkgmetadata>
+       <maintainer type="project">
+               <email>s...@gentoo.org</email>
+               <name>Gentoo Science Project</name>
+       </maintainer>
+       <maintainer type="person">
+               <email>horea.chr...@gmail.com</email>
+               <name>Horea Christian</name>
+       </maintainer>
+       <longdescription lang="en">
+               Surf Ice is an open source surface render. It supports 
+               mesh formats including 3DS, CTM, DXF, FreeSurfer, GII 
+               (GIfTI), GTS, LWO2, MS3D, MZ3, NV (BrainNetViewer), OBJ,
+               OFF, PLY, STL, VTK. It also supports tractography formats 
+               including BFloat, PDB, TCK, TRK, and VTK. Further, the 
+               software supports the NIfTI voxelwise format
+       </longdescription>
+       <upstream>
+               <remote-id type="github">neurolabusc/surf-ice</remote-id>
+       </upstream>
+</pkgmetadata>

diff --git a/sci-visualization/surf-ice/surf-ice-9999.ebuild 
b/sci-visualization/surf-ice/surf-ice-9999.ebuild
new file mode 100644
index 0000000..e65eb5c
--- /dev/null
+++ b/sci-visualization/surf-ice/surf-ice-9999.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit git-r3 gnome2-utils
+
+DESCRIPTION="A surface rendering tool supporting neuroimaging data"
+HOMEPAGE="https://github.com/neurolabusc/surf-ice";
+SRC_URI=""
+EGIT_REPO_URI="https://github.com/neurolabusc/surf-ice.git";
+
+LICENSE="BSD"
+SLOT="0"
+
+RDEPEND=""
+DEPEND="dev-lang/fpc
+       >=dev-lang/lazarus-1.6.2"
+
+src_compile() {
+       lazbuild -B --lazarusdir="/usr/share/lazarus/" 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 surf-ice surf-ice 
/usr/share/icons/hicolor/scalable/apps/Surfice.jpg
+}
+
+pkg_postinst() {
+       gnome2_icon_cache_update
+}
+pkg_postrm() {
+       gnome2_icon_cache_update
+}

Reply via email to