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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 6436B138334 for ; Mon, 24 Sep 2018 00:14:39 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 33A86E08EC; Mon, 24 Sep 2018 00:14:38 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 064ADE08EC for ; Mon, 24 Sep 2018 00:14:37 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 35249335CC9 for ; Mon, 24 Sep 2018 00:14:36 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 39A853E1 for ; Mon, 24 Sep 2018 00:14:34 +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: <1537748056.2246e624fbf5ba29cacdf6200fb8ca28d0d1988f.chymera@gentoo> Subject: [gentoo-commits] proj/sci:master commit in: sci-visualization/surf-ice/ X-VCS-Repository: proj/sci X-VCS-Files: sci-visualization/surf-ice/surf-ice-1.0.20180622.ebuild X-VCS-Directories: sci-visualization/surf-ice/ X-VCS-Committer: chymera X-VCS-Committer-Name: Horea Christian X-VCS-Revision: 2246e624fbf5ba29cacdf6200fb8ca28d0d1988f X-VCS-Branch: master Date: Mon, 24 Sep 2018 00:14:34 +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-Archives-Salt: fab61839-6674-4693-8d44-07dc97ced80d X-Archives-Hash: f437bbf606d4ca8063aabadab298ee9b commit: 2246e624fbf5ba29cacdf6200fb8ca28d0d1988f Author: Horea Christian yandex com> AuthorDate: Mon Sep 24 00:14:16 2018 +0000 Commit: Horea Christian gmail com> CommitDate: Mon Sep 24 00:14:16 2018 +0000 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=2246e624 sci-visualization/surf-ice: version bump Package-Manager: Portage-2.3.49, Repoman-2.3.10 .../surf-ice/surf-ice-1.0.20180622.ebuild | 45 ++++++++++++++++++++++ 1 file changed, 45 insertions(+) diff --git a/sci-visualization/surf-ice/surf-ice-1.0.20180622.ebuild b/sci-visualization/surf-ice/surf-ice-1.0.20180622.ebuild new file mode 100644 index 000000000..477d3a0c8 --- /dev/null +++ b/sci-visualization/surf-ice/surf-ice-1.0.20180622.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit gnome2-utils + +DESCRIPTION="A simple medical imaging visualization tool" +HOMEPAGE="https://github.com/neurolabusc/surf-ice" +SRC_URI="https://github.com/neurolabusc/surf-ice/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]" + +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" surfice.lpi || die +} + +src_install() { + dobin surfice + + insinto /usr/bin/shaders + doins shaders/*.txt + + insinto /usr/bin/shadersOld + doins shadersOld/*.txt + + doicon -s scalable Surfice.jpg + make_desktop_entry surfice surfice /usr/share/icons/hicolor/scalable/apps/Surfice.jpg +} + +pkg_postinst() { + gnome2_icon_cache_update +} +pkg_postrm() { + gnome2_icon_cache_update +}