1
0
mirror of synced 2024-12-22 12:50:33 +01:00

sci-visualization/mricrogl: version bump 1.2.20200324

Package-Manager: Portage-2.3.96, Repoman-2.3.22
Signed-off-by: Horea Christian <chr@chymera.eu>
This commit is contained in:
Horea Christian 2020-03-30 19:15:19 -04:00
parent f81e381219
commit e681420da1
No known key found for this signature in database
GPG Key ID: EAA9223EE3BB378A
5 changed files with 149 additions and 0 deletions

View File

@ -0,0 +1,6 @@
*mricrogl-1.2.20190902 (30 Mar 2020)
*mricrogl-1.2.20200324 (30 Mar 2020)
30 Mar 2020; <chymera@gentoo.org> +metadata.xml,
+mricrogl-1.2.20190902.ebuild, +mricrogl-1.2.20200324.ebuild:
sci-visualization/mricrogl: version bump 1.2.20200324

View File

@ -0,0 +1,5 @@
DIST 8dc41685b547f0982755b90115d9a43a2d2b358c.tar.gz 1097797 SHA256 8ed0fa9b35dd046e9bb8fb247367f5c0d5656536ae24c7b5114b9de05efc61bf SHA512 f1ec3fe1fdb130eef9c43961f5ec4d296467bce6cbffa18ca0017f47da723f27cf660af5970741362013bcffa72f1b50783f3c599bce45f32285172dd400f627 WHIRLPOOL 77fd6ae2f9d2e7ddcad12491efa6219076f82dbd43e38dfce549a56d80db553b5450dff7ca5aa8f6667d68e4632ab3bbf6124bbecc4c7d1852eac5b4394f54a6
DIST d07815f31093f28b47731f87f3f5ba5543f12d11.tar.gz 13455573 SHA256 4ad41f25f706faeda29f76f52210fe80eaa13f2970b1445c746e01b118da0374 SHA512 f5a5ef9022317c934464365cee1c9075ff8158cbc75a4cacbd7c8c25cc76b2f6ae6069d4745aa53d45ba82a399398506ff8a6aa2eb62784f9d658e21e2ab9a74 WHIRLPOOL 8e3214077873dddda04ba32a49f213662d3de46274f17a118202a11588bd817f9804b77ef247104fc7e3347defa4a6c92f7a827c2865b220b99974f64b59ac07
DIST f487b6a74a8837faa01d1f33bdcdba2e829a16c3.tar.gz 13455469 SHA256 fbfa03ad632ce9c1549301a1015717bd1bc5356f347c4ea1dfec03d52078ec2c SHA512 14131cba26511883b345d34162bfe6d7c25d2b0573d59e10f5271ca56b074ada6e212f23aa6234d646222a85fbbf831bc8095a528bf1a656f19ce0e6b82c5288 WHIRLPOOL ad5151fd795f417090b8514386212cf6c379a874e6d584f15cb4b66449923b332d71262ef1d63b5d524aa2d1b840dd662ec6fc549ddc1c864c24e59369d6aa72
DIST mricrogl-1.2.20190902.tar.gz 8406981 SHA256 6283660f790801e14587b83ce6501095cedcf3c117e55ca5646cf1c9dfa0e5ee SHA512 801d21fd29016611526356de6524196dab40e14ae9fe1a47d8a74f6b75daacd336ddec3bcdba0e6848669dbac676b171f005821c7a6802504fcc5dcaa03f1232 WHIRLPOOL 152fe69a2d202bc725162b304c9d0cd67313819f3de2fa45cf61ef8bb3a848e566b6795de38ed940e3b89bb06ceb35d27d6505d9270c74765da5a860fc794b9f
DIST mricrogl-1.2.20200324.tar.gz 38549569 SHA256 ef60874f6fabf15cec3d606c1f6b1f3e5cac53adc947d67b8cbff672f5ac0e76 SHA512 51abd0bd3394552857583a50eeb51a366653c89dd82db59b48c63fcce8d9551210105baaef12627ef885c09cc20bec7cd63cfed48693358e9b3951e449107968 WHIRLPOOL ae83d5e577233b9f2135eba1c78a28886e1a4688c40cbc0e1facbd7ad774e1f4d2293766871c13f849985bb99365144756877c73cd31f848b8ad6840432922ef

View File

@ -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>sci@gentoo.org</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>

View File

@ -0,0 +1,56 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit eutils gnome2-utils
DESCRIPTION="A simple medical imaging visualization tool"
HOMEPAGE="https://github.com/neurolabusc/MRIcroGL"
SRC_URI="
https://github.com/rordenlab/MRIcroGL12/archive/v${PV}.tar.gz -> ${P}.tar.gz
https://github.com/neurolabusc/Metal-Demos/archive/f487b6a74a8837faa01d1f33bdcdba2e829a16c3.tar.gz
"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
RDEPEND=""
DEPEND="dev-lang/fpc
>=dev-lang/lazarus-1.6.2"
S="${WORKDIR}/MRIcroGL12-${PV}"
#src_prepare() {
# ls
# pwd
# die
# default
#}
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 --verbose-pkgsearch lazopenglcontext --verbose-pkgsearch python4lazarus_package || die
#lazbuild -B MRIcroGL.lpr
lazbuild -B --lazarusdir="/usr/share/lazarus/" --pcp="system-lazarus-config" MRIcroGL_NoPython.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
}

View File

@ -0,0 +1,65 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit eutils gnome2-utils
MY_HASH="6979db2afb169523d198e973e9033b1c89ddd40b"
DEMOS_HASH="d07815f31093f28b47731f87f3f5ba5543f12d11"
PY4LAZ_HASH="8dc41685b547f0982755b90115d9a43a2d2b358c"
DESCRIPTION="A simple medical imaging visualization tool"
HOMEPAGE="https://github.com/neurolabusc/MRIcroGL"
SRC_URI="
https://github.com/rordenlab/MRIcroGL12/archive/${MY_HASH}.tar.gz -> ${P}.tar.gz
https://github.com/neurolabusc/Metal-Demos/archive/${DEMOS_HASH}.tar.gz
https://github.com/Alexey-T/Python-for-Lazarus/archive/${PY4LAZ_HASH}.tar.gz
"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
RDEPEND=""
DEPEND="dev-lang/fpc
>=dev-lang/lazarus-1.6.2"
S="${WORKDIR}/MRIcroGL12-${MY_HASH}"
#src_prepare() {
# ls
# pwd
# die
# default
#}
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 --verbose-pkgsearch lazopenglcontext --verbose-pkgsearch python4lazarus_package || die
##lazbuild -B MRIcroGL.lpr
sed -i -e "s:Metal-Demos/common:Metal-Demos-${DEMOS_HASH}/common:g" MRIcroGL_NoPython.lpi || die
#lazbuild --verbose-pkgsearch lazopenglcontext
lazbuild -build-ide= --add-package lazopenglcontext ./Python-for-Lazarus-${PY4LAZ}/python4lazarus/python4lazarus_package.lpk || die
lazbuild -B --lazarusdir="/usr/share/lazarus/" --pcp="system-lazarus-config" MRIcroGL_NoPython.lpi || die
}
src_install() {
dobin MRIcroGL
pushd Resources > /dev/null
insinto /usr/share/MRIcroGL
doins -r lut matcap Roboto.* script shader
doicon -s scalable mricrogl.svg
make_desktop_entry MRIcroGL MRIcroGL /usr/share/icons/hicolor/scalable/apps/mricrogl.svg
popd
}
pkg_postinst() {
gnome2_icon_cache_update
}
pkg_postrm() {
gnome2_icon_cache_update
}