6 |
6 |
|
7 |
7 |
pkgbase=marble
|
8 |
8 |
pkgname=(marble-common)
|
9 |
|
pkgver=20.04.1
|
10 |
|
pkgrel=1
|
|
9 |
pkgver=20.12.1
|
|
10 |
pkgrel=2
|
11 |
11 |
pkgrel+=.parabola1
|
12 |
12 |
pkgdesc="Desktop Globe"
|
13 |
13 |
arch=(x86_64)
|
... | ... | |
17 |
17 |
makedepends=(extra-cmake-modules gpsd kdoctools knewstuff kparts krunner libwlocate phonon-qt5
|
18 |
18 |
plasma-workspace qt5-serialport qt5-tools qt5-webkit shapelib)
|
19 |
19 |
source=("https://download.kde.org/stable/release-service/$pkgver/src/$pkgbase-$pkgver.tar.xz"{,.sig})
|
20 |
|
sha256sums=('28cdf7161e8f3a2f00fd35cc4a384e29e7875c7177c27ff6d5dd8f8f53bcaa67'
|
|
20 |
sha256sums=('65c936ceefdd368494778e55a921f9d111e6fabab718b948f3f59ede5f446970'
|
21 |
21 |
'SKIP')
|
22 |
22 |
validpgpkeys=(CA262C6C83DE4D2FB28A332A3A6A4DB839EAA6D7 # Albert Astals Cid <aacid@kde.org>
|
23 |
23 |
F23275E4BF10AFC1DF6914A6DBD2CE893E2D1C87) # Christoph Feck <cfeck@kde.org>
|
24 |
24 |
|
25 |
|
prepare() {
|
26 |
|
mkdir -p build
|
27 |
|
}
|
28 |
|
|
29 |
25 |
build() {
|
30 |
|
cd build
|
31 |
|
cmake ../$pkgbase-$pkgver \
|
|
26 |
cmake -B build -S $pkgbase-$pkgver \
|
32 |
27 |
-DCMAKE_INSTALL_PREFIX=/usr \
|
33 |
|
-DCMAKE_INSTALL_LIBDIR=lib \
|
34 |
28 |
-DCMAKE_INSTALL_SYSCONFDIR=/etc \
|
35 |
29 |
-DQT_PLUGINS_DIR=lib/qt/plugins \
|
36 |
30 |
-DBUILD_TESTING=OFF \
|
37 |
31 |
-DBUILD_MARBLE_EXAMPLES=OFF \
|
38 |
32 |
-DBUILD_MARBLE_TESTS=OFF \
|
39 |
33 |
-DMOBILE=OFF
|
40 |
|
make
|
|
34 |
cmake --build build
|
41 |
35 |
}
|
42 |
36 |
|
43 |
37 |
package_marble-common() {
|
44 |
38 |
pkgdesc='Common libraries and plugins for Marble'
|
45 |
|
depends=(qt5-svg qt5-webkit phonon-qt5 desktop-file-utils)
|
|
39 |
depends=(qt5-svg qt5-webkit phonon-qt5 protobuf)
|
46 |
40 |
optdepends=('gpsd: GPS based geolocation'
|
47 |
41 |
'libwlocate: WLAN based geolocation'
|
48 |
42 |
'qt5-serialport: APRS plugin'
|
49 |
43 |
'shapelib: SHP plugin')
|
50 |
44 |
|
51 |
|
cd build
|
52 |
|
make DESTDIR="$pkgdir" install
|
|
45 |
DESTDIR="$pkgdir" cmake --install build
|
53 |
46 |
rm -rf "$pkgdir"/usr/share/{config.kcfg,kxmlgui5,metainfo,plasma} \
|
54 |
47 |
"$pkgdir"/usr/bin \
|
55 |
|
"$pkgdir"/etc \
|
|
48 |
"$pkgdir"/usr/share/knsrcfiles \
|
56 |
49 |
"$pkgdir"/usr/lib/qt/{qml,plugins/*.so} \
|
57 |
50 |
"$pkgdir"/usr/share/applications/{marble_geo.desktop,marble_worldwind.desktop,org.kde.marble*.desktop} \
|
58 |
51 |
"$pkgdir"/usr/share/kservices5/{marble_part.desktop,plasma*} \
|
59 |
|
-
|