diff options
author | Horea Christian <horea.christ@yandex.com> | 2017-01-09 14:53:31 +0100 |
---|---|---|
committer | Justin Lecher <jlec@gentoo.org> | 2017-01-09 13:53:31 +0000 |
commit | 6f0488d558af648d64c5fe8e1f36b15370b940d6 (patch) | |
tree | 5e33b1111e9c5a8a2616d9681e335bbf4086d035 /sci-visualization/surf-ice | |
parent | dev-util/emscripten: Revision bump to 1.37.1 (#721) (diff) | |
download | sci-6f0488d558af648d64c5fe8e1f36b15370b940d6.tar.gz sci-6f0488d558af648d64c5fe8e1f36b15370b940d6.tar.bz2 sci-6f0488d558af648d64c5fe8e1f36b15370b940d6.zip |
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
Diffstat (limited to 'sci-visualization/surf-ice')
-rw-r--r-- | sci-visualization/surf-ice/metadata.xml | 23 | ||||
-rw-r--r-- | sci-visualization/surf-ice/surf-ice-9999.ebuild | 43 |
2 files changed, 66 insertions, 0 deletions
diff --git a/sci-visualization/surf-ice/metadata.xml b/sci-visualization/surf-ice/metadata.xml new file mode 100644 index 000000000..434c6e79a --- /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>sci@gentoo.org</email> + <name>Gentoo Science Project</name> + </maintainer> + <maintainer type="person"> + <email>horea.christ@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 000000000..e65eb5cf6 --- /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 +} |