void-packages/srcpkgs/qcoro-qt6/template

33 lines
955 B
Bash

# Template file for 'qcoro-qt6'
pkgname=qcoro-qt6
version=0.10.0
revision=2
build_style=cmake
configure_args="-DUSE_QT_VERSION=6 -DBUILD_SHARED_LIBS=ON
-DECM_MKSPECS_INSTALL_DIR=/usr/lib${XBPS_TARGET_WORDSIZE}/qt6/mkspecs/modules"
hostmakedepends="qt6-tools qt6-base"
makedepends="qt6-websockets-devel qt6-declarative-private-devel
qt6-base-private-devel"
checkdepends="dbus"
short_desc="C++ Coroutines for Qt6"
maintainer="Luciogi <githubvoidlinux.supremacy429@passinbox.com>"
license="MIT"
homepage="https://qcoro.dvratil.cz/"
distfiles="https://github.com/danvratil/qcoro/archive/refs/tags/v${version}.tar.gz"
checksum=b7c8f00273ad27d85814bf4ec93eb6922c75656800a61d11854d36355a4a1aec
post_install() {
vlicense LICENSE
}
qcoro-qt6-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/cmake
vmove usr/lib/qt6/mkspecs
vmove "usr/lib/*.so"
}
}