commit: 1f31775ed8af8c80fcac8b8aae8a55526133faeb Author: Horea Christian <horea.christ <AT> yandex <DOT> com> AuthorDate: Tue Feb 23 10:39:01 2016 +0000 Commit: Justin Lecher <jlec <AT> gentoo <DOT> org> CommitDate: Tue Feb 23 10:39:01 2016 +0000 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=1f31775e
sci-biology/mricrogl: new package Package-Manager: portage-2.2.27 sci-biology/mricrogl/metadata.xml | 17 ++++++++++++++ sci-biology/mricrogl/mricrogl-9999.ebuild | 38 +++++++++++++++++++++++++++++++ 2 files changed, 55 insertions(+) diff --git a/sci-biology/mricrogl/metadata.xml b/sci-biology/mricrogl/metadata.xml new file mode 100644 index 0000000..a70a4f6 --- /dev/null +++ b/sci-biology/mricrogl/metadata.xml @@ -0,0 +1,17 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>[email protected]</email> + <name>Gentoo Science Project</name> + </maintainer> + <longdescription lang="en"> + MRIcroGL is a program designed to display 3D medical imaging. + By using your computer's graphics card, it can allow real-time + interactive rendering. It includes scripts to show you some of + the many effects. + </longdescription> + <upstream> + <remote-id type="github">neurolabusc/MRIcroGL</remote-id> + </upstream> +</pkgmetadata> diff --git a/sci-biology/mricrogl/mricrogl-9999.ebuild b/sci-biology/mricrogl/mricrogl-9999.ebuild new file mode 100644 index 0000000..407af9f --- /dev/null +++ b/sci-biology/mricrogl/mricrogl-9999.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +inherit git-r3 + +DESCRIPTION="A simle medical imaging visualization tool" +HOMEPAGE="https://github.com/neurolabusc/MRIcroGL" +SRC_URI="" +EGIT_REPO_URI="https://github.com/neurolabusc/MRIcroGL.git" + +LICENSE="BSD" +SLOT="0" + +RDEPEND="" +DEPEND="dev-lang/fpc + dev-lang/lazarus" + +src_compile() { + lazbuild -B --lazarusdir="/usr/share/lazarus/" simplelaz.lpi || die +} + +src_install() { + dobin MRIcroGL + dobin dcm2niix + dobin dcm2nii/dcm2niigui + doicon icons/mricron.png + make_desktop_entry MRIcroGL MRIcroGL mricrogl.svg +} + +pkg_postinst() { + gnome2_icon_cache_update +} +pkg_postrm() { + gnome2_icon_cache_update +}
