blob: 6858805e5ea0c684fa9a485842083d2f39565af8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit git-r3 gnome2-utils
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"
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/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
}
|