void-packages/srcpkgs/kquickimageeditor/template

31 lines
1.0 KiB
Bash

# Template file for 'kquickimageeditor'
pkgname=kquickimageeditor
version=0.3.0
revision=1
build_style=cmake
configure_args="-DBUILD_WITH_QT6=ON -DKDE_INSTALL_QMLDIR=lib/qt6/qml
-DECM_MKSPECS_INSTALL_DIR=/usr/lib/qt6/mkspecs/modules
-DKDE_INSTALL_QTPLUGINDIR=lib/qt6/plugins"
hostmakedepends="cmake extra-cmake-modules qt6-base qt6-tools
qt6-declarative-host-tools"
makedepends="qt6-base-devel qt6-declarative-devel"
short_desc="QML image editing components"
maintainer="Orphaned <orphan@voidlinux.org>"
license="LGPL-2.1-or-later, BSD-2-Clause, CC0-1.0"
homepage="https://invent.kde.org/libraries/kquickimageeditor"
distfiles="${KDE_SITE}/kquickimageeditor/kquickimageeditor-${version}.tar.xz"
checksum=330ebf3653883eeebde54385d783c51c2d30ff77d41b294ece79af7e9c21c6f8
post_install() {
vlicense LICENSES/BSD-2-Clause.txt
}
kquickimageeditor-devel_package() {
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/lib/cmake
vmove usr/lib/qt6/mkspecs
}
}