From b99badcc6bf7e276a969c302e34623dec379d093 Mon Sep 17 00:00:00 2001 From: Horea Christian Date: Wed, 1 Apr 2020 17:35:51 -0400 Subject: [PATCH] sci-visualization/mricrogl: migrated to Gentoo Science https://gitweb.gentoo.org/proj/sci.git/commit/?id=cdfe003acbda7e49273fde41daac188fa4db98e9 Signed-off-by: Horea Christian --- sci-visualization/mricrogl/ChangeLog | 19 ------ sci-visualization/mricrogl/Manifest | 6 -- sci-visualization/mricrogl/metadata.xml | 17 ----- .../mricrogl/mricrogl-1.2.20190902.ebuild | 56 ---------------- .../mricrogl/mricrogl-1.2.20200324.ebuild | 64 ------------------- .../mricrogl/mricrogl-1.2.20200331.ebuild | 49 -------------- 6 files changed, 211 deletions(-) delete mode 100644 sci-visualization/mricrogl/ChangeLog delete mode 100644 sci-visualization/mricrogl/Manifest delete mode 100644 sci-visualization/mricrogl/metadata.xml delete mode 100644 sci-visualization/mricrogl/mricrogl-1.2.20190902.ebuild delete mode 100644 sci-visualization/mricrogl/mricrogl-1.2.20200324.ebuild delete mode 100644 sci-visualization/mricrogl/mricrogl-1.2.20200331.ebuild diff --git a/sci-visualization/mricrogl/ChangeLog b/sci-visualization/mricrogl/ChangeLog deleted file mode 100644 index 85d948f..0000000 --- a/sci-visualization/mricrogl/ChangeLog +++ /dev/null @@ -1,19 +0,0 @@ - 01 Apr 2020; mricrogl-1.2.20200331.ebuild: - sci-visualization/mricrogl: icon installation improved with new desktop - eclass - -*mricrogl-1.2.20200331 (01 Apr 2020) - - 01 Apr 2020; +mricrogl-1.2.20200331.ebuild: - sci-visualization/mricrogl: version bump 1.2.20200331 versioned releas by - upstream superseding hash-based package version - - 30 Mar 2020; mricrogl-1.2.20200324.ebuild: - sci-visualization/mricrogl: Python USE flag for python4lazarus - -*mricrogl-1.2.20190902 (30 Mar 2020) -*mricrogl-1.2.20200324 (30 Mar 2020) - - 30 Mar 2020; +metadata.xml, - +mricrogl-1.2.20190902.ebuild, +mricrogl-1.2.20200324.ebuild: - sci-visualization/mricrogl: version bump 1.2.20200324 diff --git a/sci-visualization/mricrogl/Manifest b/sci-visualization/mricrogl/Manifest deleted file mode 100644 index 3f7613d..0000000 --- a/sci-visualization/mricrogl/Manifest +++ /dev/null @@ -1,6 +0,0 @@ -DIST Metal-Demos-d07815f31093f28b47731f87f3f5ba5543f12d11.tar.gz 13455573 SHA256 4ad41f25f706faeda29f76f52210fe80eaa13f2970b1445c746e01b118da0374 SHA512 f5a5ef9022317c934464365cee1c9075ff8158cbc75a4cacbd7c8c25cc76b2f6ae6069d4745aa53d45ba82a399398506ff8a6aa2eb62784f9d658e21e2ab9a74 WHIRLPOOL 8e3214077873dddda04ba32a49f213662d3de46274f17a118202a11588bd817f9804b77ef247104fc7e3347defa4a6c92f7a827c2865b220b99974f64b59ac07 -DIST Python-for-Lazarus-.tar.gz 1097797 SHA256 8ed0fa9b35dd046e9bb8fb247367f5c0d5656536ae24c7b5114b9de05efc61bf SHA512 f1ec3fe1fdb130eef9c43961f5ec4d296467bce6cbffa18ca0017f47da723f27cf660af5970741362013bcffa72f1b50783f3c599bce45f32285172dd400f627 WHIRLPOOL 77fd6ae2f9d2e7ddcad12491efa6219076f82dbd43e38dfce549a56d80db553b5450dff7ca5aa8f6667d68e4632ab3bbf6124bbecc4c7d1852eac5b4394f54a6 -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 -DIST mricrogl-1.2.20200331.tar.gz 38545843 SHA256 d3694b9631d3267281356197b5bc980174bc5022531437e928d187063c49a70f SHA512 a5ce6667f3f2c6abc7a1ab4b46dca08783e5484a1c6d28ac05b7db51a7fba1dc5062a57d29012f50e5c9dd22ba0f1ce1f2047e28f81ba2b64ecbdfbffe6ebe49 WHIRLPOOL 5c372cb08482779c2ff4487fff56c70d2993553ae054bcd4405cd55b28273d91c14f050e6c16535e8877e558a161615e8b6704bce7b9878abfd8688b5435824a diff --git a/sci-visualization/mricrogl/metadata.xml b/sci-visualization/mricrogl/metadata.xml deleted file mode 100644 index a9107b8..0000000 --- a/sci-visualization/mricrogl/metadata.xml +++ /dev/null @@ -1,17 +0,0 @@ - - - - - sci@gentoo.org - Gentoo Science Project - - -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. - - - neurolabusc/MRIcroGL - - diff --git a/sci-visualization/mricrogl/mricrogl-1.2.20190902.ebuild b/sci-visualization/mricrogl/mricrogl-1.2.20190902.ebuild deleted file mode 100644 index 9cd5514..0000000 --- a/sci-visualization/mricrogl/mricrogl-1.2.20190902.ebuild +++ /dev/null @@ -1,56 +0,0 @@ -# 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 -} diff --git a/sci-visualization/mricrogl/mricrogl-1.2.20200324.ebuild b/sci-visualization/mricrogl/mricrogl-1.2.20200324.ebuild deleted file mode 100644 index b2ce0ea..0000000 --- a/sci-visualization/mricrogl/mricrogl-1.2.20200324.ebuild +++ /dev/null @@ -1,64 +0,0 @@ -# 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 -> Metal-Demos-${DEMOS_HASH}.tar.gz - python? ( https://github.com/Alexey-T/Python-for-Lazarus/archive/${PY4LAZ_HASH}.tar.gz -> Python-for-Lazarus-${P4LAZ_HASH}.tar.gz ) - " - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="python" - -RDEPEND="" -DEPEND="dev-lang/fpc - >=dev-lang/lazarus-1.6.2" - -S="${WORKDIR}/MRIcroGL12-${MY_HASH}" - -#src_prepare() { -# ls -# pwd -# die -# default -#} - -src_compile() { - sed -i -e "s:Metal-Demos/common:Metal-Demos-${DEMOS_HASH}/common:g" MRIcroGL_NoPython.lpi || die - if use python; then - lazbuild -build-ide= --add-package lazopenglcontext ./Python-for-Lazarus-${PY4LAZ}/python4lazarus/python4lazarus_package.lpk || die - else - lazbuild --verbose-pkgsearch lazopenglcontext - fi - 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 -} diff --git a/sci-visualization/mricrogl/mricrogl-1.2.20200331.ebuild b/sci-visualization/mricrogl/mricrogl-1.2.20200331.ebuild deleted file mode 100644 index dee87d9..0000000 --- a/sci-visualization/mricrogl/mricrogl-1.2.20200331.ebuild +++ /dev/null @@ -1,49 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit eutils desktop - -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/v${PV}.tar.gz -> ${P}.tar.gz - https://github.com/neurolabusc/Metal-Demos/archive/${DEMOS_HASH}.tar.gz -> Metal-Demos-${DEMOS_HASH}.tar.gz - python? ( https://github.com/Alexey-T/Python-for-Lazarus/archive/${PY4LAZ_HASH}.tar.gz -> Python-for-Lazarus-${P4LAZ_HASH}.tar.gz ) - " - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="python" - -RDEPEND="" -DEPEND="dev-lang/fpc - >=dev-lang/lazarus-1.6.2" - -S="${WORKDIR}/MRIcroGL12-${PV}" - -src_compile() { - sed -i -e "s:Metal-Demos/common:Metal-Demos-${DEMOS_HASH}/common:g" MRIcroGL_NoPython.lpi || die - if use python; then - lazbuild -build-ide= --add-package lazopenglcontext ./Python-for-Lazarus-${PY4LAZ}/python4lazarus/python4lazarus_package.lpk || die - else - lazbuild --verbose-pkgsearch lazopenglcontext - fi - 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 -}