commit: aecc1ca8aabb4b17ae45dd162552a9ff9ddd1da3 Author: Horea Christian <horea.christ <AT> yandex <DOT> com> AuthorDate: Sun Sep 23 23:57:19 2018 +0000 Commit: Horea Christian <horea.christ <AT> gmail <DOT> com> CommitDate: Sun Sep 23 23:57:19 2018 +0000 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=aecc1ca8
sci-visualization/mricrogl: version bump Package-Manager: Portage-2.3.49, Repoman-2.3.10 .../mricrogl/mricrogl-1.0.20180623.ebuild | 44 ++++++++++++++++++++++ 1 file changed, 44 insertions(+) diff --git a/sci-visualization/mricrogl/mricrogl-1.0.20180623.ebuild b/sci-visualization/mricrogl/mricrogl-1.0.20180623.ebuild new file mode 100644 index 000000000..3c54c1576 --- /dev/null +++ b/sci-visualization/mricrogl/mricrogl-1.0.20180623.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit eutils 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[python]" + +S="${WORKDIR}/MRIcroGL-${PV}" + +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" 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 +}
