34 lines
1.1 KiB
Bash
34 lines
1.1 KiB
Bash
# Template file for 'marble5'
|
|
pkgname=marble5
|
|
version=21.08.1
|
|
revision=1
|
|
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
|
|
kpackage-devel perl qt5-host-tools qt5-qmake gettext"
|
|
makedepends="gpsd-devel knewstuff-devel kparts-devel krunner-devel phonon-qt5-devel
|
|
qt5-location-devel qt5-serialport-devel qt5-webkit-devel shapelib-devel
|
|
protobuf-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}/release-service/${version}/src/marble-${version}.tar.xz"
|
|
checksum=fcc7d3bbeed31a43a36db4f2ec94f742ef40edea73ddd0df9dd4fdf4391f0e06
|
|
|
|
pre_configure() {
|
|
vsed -i CMakeLists.txt -e 's/-Wcast-align//'
|
|
}
|
|
|
|
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
|
|
vmove usr/lib/qt5/mkspecs
|
|
}
|
|
}
|