summaryrefslogtreecommitdiff
path: root/user/marble
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-03-25 19:17:52 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-03-25 19:17:52 -0500
commit52051b911bd5a227933cdfb9a92b9de8b138ea69 (patch)
tree0797ef95b3bfc0de3faaa9e9507e994d80919b8f /user/marble
parent702fae70b5b4f43db8bf3bc7b5ed06442c6e476f (diff)
downloadpackages-52051b911bd5a227933cdfb9a92b9de8b138ea69.tar.gz
packages-52051b911bd5a227933cdfb9a92b9de8b138ea69.tar.bz2
packages-52051b911bd5a227933cdfb9a92b9de8b138ea69.tar.xz
packages-52051b911bd5a227933cdfb9a92b9de8b138ea69.zip
user/marble: new package
Diffstat (limited to 'user/marble')
-rw-r--r--user/marble/APKBUILD42
1 files changed, 42 insertions, 0 deletions
diff --git a/user/marble/APKBUILD b/user/marble/APKBUILD
new file mode 100644
index 000000000..559048a60
--- /dev/null
+++ b/user/marble/APKBUILD
@@ -0,0 +1,42 @@
+# Contributor: A. Wilcox <awilfox@adelielinux.org>
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=marble
+pkgver=17.12.2
+pkgrel=0
+pkgdesc="Free, open-source map and virtual globe"
+url="https://marble.kde.org/"
+arch="all"
+options="!check" # Test suite requires package to be already installed.
+license="LGPL-2.1-only GPL-2.0-only"
+depends="shared-mime-info"
+depends_dev="qt5-qtbase-dev qt5-qtdeclarative-dev qt5-qtsvg-dev"
+makedepends="$depends_dev cmake extra-cmake-modules qt5-qttools-dev zlib-dev
+ qt5-qtwebkit-dev krunner-dev kcoreaddons-dev kwallet-dev knewstuff-dev
+ kio-dev kparts-dev kcrash-dev ki18n-dev phonon-dev plasma-framework-dev
+ "
+install=""
+subpackages="$pkgname-dev $pkgname-doc $pkgname-lang $pkgname-libs"
+source="http://download.kde.org/stable/applications/$pkgver/src/marble-$pkgver.tar.xz"
+
+build() {
+ cd "$builddir"
+ if [ "$CBUILD" != "$CHOST" ]; then
+ CMAKE_CROSSOPTS="-DCMAKE_SYSTEM_NAME=Linux -DCMAKE_HOST_SYSTEM_NAME=Linux"
+ fi
+ cmake \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR=lib \
+ -DBUILD_SHARED_LIBS=True \
+ -DCMAKE_BUILD_TYPE=RelWithDebugInfo \
+ -DCMAKE_CXX_FLAGS="$CXXFLAGS" \
+ -DCMAKE_C_FLAGS="$CFLAGS" \
+ ${CMAKE_CROSSOPTS}
+ make
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="a8641e0d380f666b5402d83ccf01772442d8df0bb06d5de82f43abc56c19f544a1a3f148889f297758ae0ac6654e90cfdeac7a97b05be49c61985eb83bf7194f marble-17.12.2.tar.xz"