commit: d02f6de87dc62fe8fb34eedc0c9bcd5d42b7980c Author: Horea Christian <horea.christ <AT> yandex <DOT> com> AuthorDate: Wed Apr 12 13:21:03 2017 +0000 Commit: Justin Lecher <jlec <AT> gentoo <DOT> org> CommitDate: Wed Apr 12 13:21:03 2017 +0000 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=d02f6de8
sci-visualization/mricrogl: version bump (#773) Package-Manager: Portage-2.3.5, Repoman-2.3.2 .../mricrogl/mricrogl-1.0.20170401.ebuild | 41 ++++++++++++++++++++++ 1 file changed, 41 insertions(+) diff --git a/sci-visualization/mricrogl/mricrogl-1.0.20170401.ebuild b/sci-visualization/mricrogl/mricrogl-1.0.20170401.ebuild new file mode 100644 index 000000000..5795dd323 --- /dev/null +++ b/sci-visualization/mricrogl/mricrogl-1.0.20170401.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2017 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/MRIcroGL" +SRC_URI="https://github.com/neurolabusc/MRIcroGL/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" + +S="${WORKDIR}/MRIcroGL-${PV}" + +src_compile() { + lazbuild -B --lazarusdir="/usr/share/lazarus/" simplelaz.lpi || die +} + +src_install() { + dobin MRIcroGL + + insinto /usr/share/mricrogl + doins -r lut script shaders + + doicon -s scalable mricrogl.svg + make_desktop_entry MRIcroGL MRIcroGL /usr/share/icons/hicolor/scalable/apps/mricrogl.svg +} + +pkg_postinst() { + gnome2_icon_cache_update +} +pkg_postrm() { + gnome2_icon_cache_update +}