commit:     bde04ba5a872a67566f838c071ce08a75482ed7e
Author:     Horea Christian <horea.christ <AT> yandex <DOT> com>
AuthorDate: Mon Jul 17 17:12:31 2017 +0000
Commit:     Benda XU <heroxbd <AT> gentoo <DOT> org>
CommitDate: Thu Sep 21 02:55:35 2017 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=bde04ba5

sci-visualization/mricrogl: version bump.

Closes: https://github.com/gentoo/sci/pull/798
Package-Manager: Portage-2.3.6, Repoman-2.3.2

 .../mricrogl/mricrogl-1.0.20170714.ebuild          | 41 ++++++++++++++++++++++
 1 file changed, 41 insertions(+)

diff --git a/sci-visualization/mricrogl/mricrogl-1.0.20170714.ebuild 
b/sci-visualization/mricrogl/mricrogl-1.0.20170714.ebuild
new file mode 100644
index 000000000..d8316d3d8
--- /dev/null
+++ b/sci-visualization/mricrogl/mricrogl-1.0.20170714.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2017 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"
+
+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
+}

Reply via email to