void-packages/srcpkgs/kguiaddons/template
2021-12-20 14:39:51 +01:00

27 lines
994 B
Bash

# Template file for 'kguiaddons'
pkgname=kguiaddons
version=5.89.0
revision=1
build_style=cmake
configure_args="-DBUILD_TESTING=ON -DWaylandScanner_EXECUTABLE=/usr/bin/wayland-scanner"
hostmakedepends="kcoreaddons pkg-config extra-cmake-modules
wayland-devel qt5-wayland qt5-host-tools qt5-tools-devel"
makedepends="qt5-tools-devel qt5-x11extras-devel xcb-util-devel
qt5-wayland-devel wayland-devel"
short_desc="KDE frameworks - Addons to QtGui"
maintainer="John <me@johnnynator.dev>"
license="LGPL-2.0-only, LGPL-2.0-or-later, LGPL-2.1-or-later"
homepage="https://invent.kde.org/frameworks/kguiaddons"
distfiles="${KDE_SITE}/frameworks/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=c1a06b7434553e300e87c5bbd9cf84dd350996e036b649179ecb60c2c99cbd9e
kguiaddons-devel_package() {
short_desc+=" - development"
depends="${makedepends} ${sourcepkg}-${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/cmake
vmove usr/lib/qt5/mkspecs
vmove "usr/lib/*.so"
}
}