wok-next view marble/receipt @ rev 21640

updated fbgrab (1.2 -> 1.3.3)
author Hans-G?nter Theisgen
date Fri Jun 26 15:42:40 2020 +0100 (2020-06-26)
parents c0521c689857
children
line source
1 # SliTaz package receipt v2.
3 PACKAGE="marble"
4 VERSION="v17.08.2"
5 CATEGORY="misc"
6 SHORT_DESC="A virtual globe and world atlas"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="LGPL2.1 GPL3"
9 WEB_SITE="https://marble.kde.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 BRANCH="$VERSION"
13 WGET_URL="git|git://anongit.kde.org/marble"
15 BUILD_DEPENDS="git qt5-dev cmake xorg-dev mesa-dev zlib-dev"
17 compile_rules() {
18 mkdir build
19 cd build
20 cmake \
21 -DCMAKE_BUILD_TYPE=Release \
22 -DQTONLY=TRUE \
23 -DCMAKE_INSTALL_PREFIX=/usr \
24 .. &&
25 make &&
26 make install
28 # remove unwanted files
29 # cd $install/usr/share/applications
30 # mv marble_osm.desktop marble.desktop
31 # for i in $(sed '/MimeType/!d;s/.*=//' marble_*); do
32 # sed -i "s|MimeType.*|&$i|" marble.desktop
33 # done
34 # rm -f marble_*.desktop marble-*.desktop
35 }
37 genpkg_rules() {
38 cp -a $install/usr $fs
40 # remove unwanted files
41 rm -rf $fs/usr/include
42 rm -rf $fs/usr/share/marble/cmake
43 # rm $fs/usr/bin/marble-mobile $fs/usr/bin/marble-touch
44 DEPENDS="qt5-base"
45 TAGS="globe atlas"
46 }