From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id B052D15800F for ; Fri, 17 Feb 2023 05:22:45 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CC8C1E0891; Fri, 17 Feb 2023 05:22:44 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id B0CE4E0891 for ; Fri, 17 Feb 2023 05:22:44 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 8647834114B for ; Fri, 17 Feb 2023 05:22:43 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id EE3668AE for ; Fri, 17 Feb 2023 05:22:41 +0000 (UTC) From: "Horea Christian" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Horea Christian" Message-ID: <1676609693.8520f56b7eddefdedeedb45cbd7426979036ebd9.chymera@gentoo> Subject: [gentoo-commits] proj/sci:master commit in: sci-visualization/mricrogl/ X-VCS-Repository: proj/sci X-VCS-Files: sci-visualization/mricrogl/mricrogl-1.2.20220720.ebuild X-VCS-Directories: sci-visualization/mricrogl/ X-VCS-Committer: chymera X-VCS-Committer-Name: Horea Christian X-VCS-Revision: 8520f56b7eddefdedeedb45cbd7426979036ebd9 X-VCS-Branch: master Date: Fri, 17 Feb 2023 05:22:41 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 6ada1bc5-40e5-4f99-bfe6-736d88028d1e X-Archives-Hash: 8c2c519200c736fe03363c6a401e373d commit: 8520f56b7eddefdedeedb45cbd7426979036ebd9 Author: Horea Christian chymera eu> AuthorDate: Fri Feb 17 04:54:53 2023 +0000 Commit: Horea Christian gmail com> CommitDate: Fri Feb 17 04:54:53 2023 +0000 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=8520f56b sci-visualization/mricrogl: add 1.2.20220720 Signed-off-by: Horea Christian chymera.eu> .../mricrogl/mricrogl-1.2.20220720.ebuild | 44 ++++++++++++++++++++++ 1 file changed, 44 insertions(+) diff --git a/sci-visualization/mricrogl/mricrogl-1.2.20220720.ebuild b/sci-visualization/mricrogl/mricrogl-1.2.20220720.ebuild new file mode 100644 index 000000000..5a3ddea14 --- /dev/null +++ b/sci-visualization/mricrogl/mricrogl-1.2.20220720.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +MY_PN="MRIcroGL" +inherit desktop + +DESCRIPTION="A simple medical imaging visualization tool" +HOMEPAGE="https://github.com/neurolabusc/MRIcroGL" +SRC_URI="https://github.com/rordenlab/${MY_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="dicom python" + +RDEPEND="dicom? ( sci-biology/dcm2niix )" +DEPEND=" + dev-lang/fpc + dev-lang/lazarus + " + +S="${WORKDIR}/${MY_PN}-${PV}" + +src_compile() { + # Allegedly the Debian recipe contains some sort of Python support, wasn't able to test. + if use python; then + lazbuild -B --lazarusdir="/usr/share/lazarus/" --pcp="system-lazarus-config" MRIcroGL_Debian.lpi || die + else + lazbuild -B --lazarusdir="/usr/share/lazarus/" --pcp="system-lazarus-config" MRIcroGL_NoPython.lpi || die + fi +} + +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 +}