pmaports/kde/marble/APKBUILD
Oliver Smith b46484ac65
kde/marble: bump pkgrel after soname bump
This does not exist anymore in Alpine, rebuilding: so:libgps.so.23
2018-12-22 09:29:47 +01:00

41 lines
1.3 KiB
Text

# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=marble
pkgver=18.08.1
pkgrel=1
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
}
sha512sums="e6bf16f7b26f8f1ba88448378c1d97506140f87c0d75481f9cc2435f5f7e09a55ae510475397c6ccfecd4252a618287638cb350425895ad216c1d74115f81956 marble-18.08.1.tar.xz"