commit:     8207b946392c182db4c6dd796c21284352e69932
Author:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
AuthorDate: Wed Mar  3 15:00:02 2021 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Wed Mar  3 15:00:02 2021 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=8207b946

sci-visualization/surf-ice: version bump 20201102

Package-Manager: Portage-3.0.16, Repoman-3.0.2
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net>

 ...ce-9999.ebuild => surf-ice-1.0.20201102.ebuild} | 28 ++++++++--------------
 sci-visualization/surf-ice/surf-ice-9999.ebuild    | 23 ++++++------------
 2 files changed, 17 insertions(+), 34 deletions(-)

diff --git a/sci-visualization/surf-ice/surf-ice-9999.ebuild 
b/sci-visualization/surf-ice/surf-ice-1.0.20201102.ebuild
similarity index 59%
copy from sci-visualization/surf-ice/surf-ice-9999.ebuild
copy to sci-visualization/surf-ice/surf-ice-1.0.20201102.ebuild
index 6858805e5..845e43e48 100644
--- a/sci-visualization/surf-ice/surf-ice-9999.ebuild
+++ b/sci-visualization/surf-ice/surf-ice-1.0.20201102.ebuild
@@ -1,21 +1,23 @@
-# 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 desktop xdg
 
-DESCRIPTION="A surface rendering tool supporting neuroimaging data"
+DESCRIPTION="A simple medical imaging visualization tool"
 HOMEPAGE="https://github.com/neurolabusc/surf-ice";
-SRC_URI=""
-EGIT_REPO_URI="https://github.com/neurolabusc/surf-ice.git";
+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"
+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 +29,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
-}

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
-}

Reply via email to