diff options
author | Andrew Ammerlaan <andrewammerlaan@riseup.net> | 2021-03-03 16:00:02 +0100 |
---|---|---|
committer | Andrew Ammerlaan <andrewammerlaan@riseup.net> | 2021-03-03 16:00:02 +0100 |
commit | 8207b946392c182db4c6dd796c21284352e69932 (patch) | |
tree | b99e66c4d6cfefd989c0641fe71f3d749c5947b3 /sci-visualization/surf-ice | |
parent | media-libs/libgfx: EAPI bump (diff) | |
download | sci-8207b946392c182db4c6dd796c21284352e69932.tar.gz sci-8207b946392c182db4c6dd796c21284352e69932.tar.bz2 sci-8207b946392c182db4c6dd796c21284352e69932.zip |
sci-visualization/surf-ice: version bump 20201102
Package-Manager: Portage-3.0.16, Repoman-3.0.2
Signed-off-by: Andrew Ammerlaan <andrewammerlaan@riseup.net>
Diffstat (limited to 'sci-visualization/surf-ice')
-rw-r--r-- | sci-visualization/surf-ice/Manifest | 1 | ||||
-rw-r--r-- | sci-visualization/surf-ice/surf-ice-1.0.20201102.ebuild | 34 | ||||
-rw-r--r-- | sci-visualization/surf-ice/surf-ice-9999.ebuild | 23 |
3 files changed, 42 insertions, 16 deletions
diff --git a/sci-visualization/surf-ice/Manifest b/sci-visualization/surf-ice/Manifest index b7b7b498f..3a5a24c03 100644 --- a/sci-visualization/surf-ice/Manifest +++ b/sci-visualization/surf-ice/Manifest @@ -1,2 +1,3 @@ DIST surf-ice-1.0.20170202.tar.gz 40179987 BLAKE2B 94c396f2813d37664988ddf1402421799bb6e4d2bdfb016db4420c810b38466bb274c8d43ea4d8ddba870155fdea5873a6ef6aea286961741726b61bd8eb7f61 SHA512 526828d12a75f103fa04ef6e2bd1a5f75eabd47243797392ac8275e9bfaacd66285272241171745c3d7aa5669dc24eee736d597ad89d066d8cbeb4ad4a0954df DIST surf-ice-1.0.20180622.tar.gz 29653902 BLAKE2B f68d2746d7bb2c97e4e998d394c1028173164d855ada695d65846f78ec7c6d1b43b6bab66444da27000d7d0539b2b1adfe0499321085980ba3d528423315d84e SHA512 dcad99c7add43d9e5b3196f64236a64c7315cd5bbbd744911c322b4ac821d8a81f268e43a367e9e09cd22972abb64f9419346a8119332551ae02a9261751c5f8 +DIST surf-ice-1.0.20201102.tar.gz 31088319 BLAKE2B 08b0f234776dbcc568dd6f5cd024e06759bece6deaac759e44b30887c171ea4619ca0c422d6fba2948bdf5efa57a2e8d82950a1ef0eafea9646b939eccce6c1a SHA512 3158733e9910440900f9bc3a00d5ba7635613e72a3d40b64e3ae80927ad69d8103c78097e6b4230d802008a0d1d81164904862edf715dc66782fa74cf227c23b diff --git a/sci-visualization/surf-ice/surf-ice-1.0.20201102.ebuild b/sci-visualization/surf-ice/surf-ice-1.0.20201102.ebuild new file mode 100644 index 000000000..845e43e48 --- /dev/null +++ b/sci-visualization/surf-ice/surf-ice-1.0.20201102.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit desktop xdg + +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="${RDEPEND} + 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 + + doicon -s scalable Surfice.jpg + make_desktop_entry surfice surfice /usr/share/icons/hicolor/scalable/apps/Surfice.jpg +} diff --git a/sci-visualization/surf-ice/surf-ice-9999.ebuild b/sci-visualization/surf-ice/surf-ice-9999.ebuild index 6858805e5..b44d7ba62 100644 --- a/sci-visualization/surf-ice/surf-ice-9999.ebuild +++ b/sci-visualization/surf-ice/surf-ice-9999.ebuild @@ -1,21 +1,22 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=7 -inherit git-r3 gnome2-utils +inherit git-r3 desktop xdg DESCRIPTION="A surface rendering tool supporting neuroimaging data" HOMEPAGE="https://github.com/neurolabusc/surf-ice" -SRC_URI="" EGIT_REPO_URI="https://github.com/neurolabusc/surf-ice.git" LICENSE="BSD" SLOT="0" RDEPEND="" -DEPEND="dev-lang/fpc - >=dev-lang/lazarus-1.6.2" +DEPEND="${RDEPEND} + dev-lang/fpc + >=dev-lang/lazarus-1.6.2[python(-)] +" src_compile() { # Python support will only be vaialable for the default implementation: @@ -27,16 +28,6 @@ src_compile() { src_install() { dobin surfice - insinto /usr/share/surfice - doins -r lut script shaders shadersOld - 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 -} |