2018-10-08 06:50:31 +00:00
|
|
|
# Contributor: Bart Ribbers <bribbers@disroot.org>
|
|
|
|
# Maintainer: Bart Ribbers <bribbers@disroot.org>
|
|
|
|
pkgname=marble
|
2019-01-06 14:10:19 +00:00
|
|
|
pkgver=18.12.0
|
2018-12-22 08:26:03 +00:00
|
|
|
pkgrel=1
|
2018-10-08 06:50:31 +00:00
|
|
|
pkgdesc='Marble is a Virtual Globe and World Atlas that you can use to learn more about Earth'
|
|
|
|
arch="all"
|
|
|
|
url='https://marble.kde.org'
|
|
|
|
license="iGFDL-1.2 BSD-3.0 GPL-3.0"
|
|
|
|
depends="krunner"
|
|
|
|
depends_dev="qt5-qtbase-dev qt5-qtsvg-dev qt5-qtdeclarative-dev qt5-qtlocation-dev qt5-qtwebkit-dev
|
|
|
|
qt5-qtserialport-dev kcoreaddons-dev kwallet-dev knewstuff-dev kparts-dev plasma-framework-dev
|
|
|
|
ki18n-dev kio-dev kcrash-dev krunner-dev shared-mime-info gpsd-dev"
|
|
|
|
makedepends="$depends_dev extra-cmake-modules"
|
|
|
|
source="https://download.kde.org/stable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz"
|
|
|
|
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
|
|
|
|
options="!check" # Broken
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cmake \
|
|
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
|
|
-DCMAKE_INSTALL_LIBDIR=lib \
|
|
|
|
-DCMAKE_INSTALL_SYSCONFDIR=/etc \
|
|
|
|
-DQT_PLUGINS_DIR=lib/qt/plugins \
|
|
|
|
-DMOBILE=ON \
|
|
|
|
-DBUILD_MARBLE_APPS=YES
|
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
check() {
|
|
|
|
cd "$builddir"
|
|
|
|
CTEST_OUTPUT_ON_FAILURE=TRUE ctest
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd "$builddir"
|
|
|
|
make DESTDIR="$pkgdir" install
|
|
|
|
#rm "$pkgdir"/usr/bin/marble-qt
|
|
|
|
}
|
2019-01-06 14:10:19 +00:00
|
|
|
sha512sums="4cb13b6d4a51d0af6428ce60b728e20e6b6c9f861d27de81aaf258815e7f8114a5571d19a80fb6ebc703cd1e6ac03a2b7e79218f832bd8188a3734b1cadd6360 marble-18.12.0.tar.xz"
|