void-packages/srcpkgs/marble5/template

35 lines
1.2 KiB
Bash

# Template file for 'marble5'
pkgname=marble5
version=17.12.3
revision=1
maintainer="Piotr Wójcik <chocimier@tlen.pl>"
homepage="https://marble.kde.org"
license="GPL-3"
short_desc="Virtual globe and world atlas"
build_style=cmake
wrksrc="${pkgname%5}-${version}"
hostmakedepends="extra-cmake-modules"
makedepends="knewstuff-devel kparts-devel krunner-devel libressl-devel
phonon-devel plasma-framework-devel qt5-devel qt5-location-devel
qt5-plugin-mysql qt5-plugin-odbc qt5-plugin-pgsql qt5-plugin-sqlite
qt5-plugin-tds qt5-serialport-devel qt5-webkit-devel"
distfiles="http://download.kde.org/stable/applications/${version}/src/${pkgname%5}-${version}.tar.xz"
checksum=f1004b0a63767cfba91865623598c309ca7529a7e37ccf451d439f5edbb6f8dd
conflicts="marble"
nocross="/bin/sh: /usr/aarch64-linux-musl/usr/bin/desktoptojson: cannot execute binary file: Exec format error"
if [ -n "$CROSS_BUILD" ]; then
hostmakedepends+=" kdoctools qt5-host-tools qt5-qmake"
fi
marble5-devel_package() {
short_desc+=" - development files"
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
conflicts="marble-devel"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.so"
vmove usr/lib/cmake
}
}