void-packages/srcpkgs/marble5/template
q66 b841b50046 marble5: switch to phonon-qt5
This is a qt5 application but for some reason still depended
on qt4 phonon.
2019-02-12 17:40:31 -02:00

28 lines
1,019 B
Bash

# Template file for 'marble5'
pkgname=marble5
version=18.12.2
revision=2
wrksrc="marble-${version}"
build_style=cmake
configure_args="-DBUILD_MARBLE_TESTS=NO -DKF5_HOST_TOOLING=/usr/lib/cmake"
hostmakedepends="extra-cmake-modules kconfig-devel kcoreaddons-devel kdoctools
perl qt5-host-tools qt5-qmake"
makedepends="gpsd-devel knewstuff-devel kparts-devel krunner-devel phonon-qt5-devel
qt5-location-devel qt5-serialport-devel qt5-webkit-devel shapelib-devel"
short_desc="Virtual globe and world atlas"
maintainer="Piotr Wójcik <chocimier@tlen.pl>"
license="LGPL-2.1-or-later, GFDL-1.2-only"
homepage="https://marble.kde.org"
distfiles="${KDE_SITE}/applications/${version}/src/marble-${version}.tar.xz"
checksum=3b099da5017fe505e8a8d058e323f08ecabdb8b2c6e6a49538c60ed52285e3f7
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
}
}