32 lines
922 B
Bash
32 lines
922 B
Bash
# Template file for 'qcoro-qt6'
|
|
pkgname=qcoro-qt6
|
|
version=0.10.0
|
|
revision=1
|
|
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-devel qt6-base-devel"
|
|
checkdepends="dbus"
|
|
short_desc="C++ Coroutines for Qt6"
|
|
maintainer="Luciogi <lucigithubcommit@skiff.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"
|
|
}
|
|
}
|