32 lines
1.2 KiB
Bash
32 lines
1.2 KiB
Bash
# Template file for 'kguiaddons'
|
|
pkgname=kguiaddons
|
|
version=5.115.0
|
|
revision=3
|
|
build_style=cmake
|
|
configure_args="-DBUILD_TESTING=ON -DWaylandScanner_EXECUTABLE=/usr/bin/wayland-scanner
|
|
$(vopt_bool wayland WITH_WAYLAND) -DBUILD_GEO_SCHEME_HANDLER=OFF"
|
|
hostmakedepends="kcoreaddons pkg-config extra-cmake-modules
|
|
$(vopt_if wayland 'wayland-devel qt5-wayland') qt5-host-tools qt5-tools-devel"
|
|
makedepends="qt5-tools-devel $(vopt_if x11 qt5-x11extras-devel)
|
|
$(vopt_if wayland 'plasma-wayland-protocols 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=4f6dda36ea182c8f9f7a703301cea8258b094d7b9254f42ad70dedbeb73ff262
|
|
|
|
build_options="wayland x11"
|
|
build_options_default="wayland x11"
|
|
|
|
kguiaddons-devel_package() {
|
|
short_desc+=" - development"
|
|
depends="${sourcepkg}-${version}_${revision} qt5-devel"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/cmake
|
|
vmove usr/lib/qt5/mkspecs
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|