21d7cd906c
[ci skip]
34 lines
1.2 KiB
Bash
34 lines
1.2 KiB
Bash
# Template file for 'kactivities5'
|
|
pkgname=kactivities5
|
|
version=5.75.0
|
|
revision=1
|
|
wrksrc="${pkgname%5}-${version}"
|
|
build_style=cmake
|
|
configure_args="-DBUILD_TESTING=OFF"
|
|
hostmakedepends="kcoreaddons extra-cmake-modules qt5-qmake"
|
|
makedepends="boost-devel qt5-declarative-devel kconfig-devel
|
|
kcoreaddons-devel kwindowsystem-devel qt5-plugin-mysql qt5-plugin-odbc
|
|
qt5-plugin-pgsql qt5-plugin-sqlite qt5-plugin-tds"
|
|
depends="qt5-plugin-mysql qt5-plugin-odbc qt5-plugin-pgsql qt5-plugin-sqlite qt5-plugin-tds"
|
|
short_desc="KDE API for using and interacting with the Activity Manager"
|
|
maintainer="John <me@johnnynator.dev>"
|
|
license="LGPL-2.1-or-later, GPL-2.0-or-later"
|
|
homepage="https://invent.kde.org/frameworks/kactivities"
|
|
distfiles="${KDE_SITE}/frameworks/${version%.*}/${pkgname%5}-${version}.tar.xz"
|
|
checksum=d25fa31d9ad8bed6af1adbd589945494d1f5741e18e7bb5d67371749c6565e08
|
|
|
|
if [ "$CROSS_BUILD" ]; then
|
|
hostmakedepends+=" qt5-host-tools"
|
|
fi
|
|
|
|
kactivities5-devel_package() {
|
|
short_desc+=" - development"
|
|
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
vmove usr/lib/qt5/mkspecs
|
|
vmove usr/lib/cmake
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|