diff options
author | Bart Ribbers <bribbers@disroot.org> | 2020-03-02 11:44:35 +0100 |
---|---|---|
committer | Leo <thinkabit.ukim@gmail.com> | 2020-03-03 08:50:06 -0300 |
commit | b09f74c810e1d37ba24743ea4e9636089b35e282 (patch) | |
tree | 38e98b993ff0e6c2ccd8aaf5687118ab80259266 /community/marble | |
parent | 6b1220910bbebf2bb0a3585a23e0b5a81bed0915 (diff) | |
download | aports-b09f74c810e1d37ba24743ea4e9636089b35e282.tar.bz2 aports-b09f74c810e1d37ba24743ea4e9636089b35e282.tar.xz |
community/marble: move from testing
Diffstat (limited to 'community/marble')
-rw-r--r-- | community/marble/APKBUILD | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/community/marble/APKBUILD b/community/marble/APKBUILD new file mode 100644 index 0000000000..e12a28f11c --- /dev/null +++ b/community/marble/APKBUILD @@ -0,0 +1,37 @@ +# Contributor: Bart Ribbers <bribbers@disroot.org> +# Maintainer: Bart Ribbers <bribbers@disroot.org> +pkgname=marble +pkgver=19.12.2 +pkgrel=1 +pkgdesc="A Virtual Globe and World Atlas that you can use to learn more about Earth" +# ppc64le and s390x blocked by qt5-qtwebengine +# armhf blocked by qt5-qtdeclarative +arch="all !ppc64le !s390x !armhf" +url='https://marble.kde.org' +license="LGPL-2.1-or-later AND GPL-3.0-or-later" +depends_dev="qt5-qtbase-dev qt5-qtsvg-dev qt5-qtdeclarative-dev qt5-qtwebengine-dev qt5-qttools-dev qt5-qtserialport-dev qt5-qtlocation-dev kdoctools-dev phonon-dev gpsd-dev kcrash-dev kcoreaddons-dev kwallet-dev knewstuff-dev kparts-dev plasma-framework-dev krunner-dev ki18n-dev kio-dev shared-mime-info" +makedepends="$depends_dev extra-cmake-modules" +source="https://download.kde.org/stable/release-service/$pkgver/src/marble-$pkgver.tar.xz" +subpackages="$pkgname-dev $pkgname-doc $pkgname-lang" +options="!check" # Requires itself to be installed + +build() { + cmake -B "$builddir"/build \ + -DCMAKE_BUILD_TYPE=None \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib \ + -DCMAKE_INSTALL_SYSCONFDIR=/etc \ + -DMOBILE=ON \ + -DBUILD_MARBLE_APPS=YES + make -C build +} + +check() { + cd "$builddir"/build + CTEST_OUTPUT_ON_FAILURE=TRUE ctest +} + +package() { + DESTDIR="$pkgdir" make -C build install +} +sha512sums="4e8483ae11f929fdbc052b46557e976789b05619ec36847173b80d9c1bfdb90b82ee0c9ee75edae77ccd7f9cd1feb75da5e42fb97078829b5b40cbfbed446d0d marble-19.12.2.tar.xz" |