30 lines
795 B
Bash
30 lines
795 B
Bash
# Template file for 'qcoro-qt5'
|
|
pkgname=qcoro-qt5
|
|
version=0.9.0
|
|
revision=1
|
|
build_style=cmake
|
|
configure_args="-DUSE_QT_VERSION=5"
|
|
hostmakedepends="qt5-qmake qt5-host-tools"
|
|
makedepends="qt5-devel qt5-websockets-devel qt5-declarative-devel"
|
|
checkdepends="dbus"
|
|
short_desc="C++ Coroutines for Qt5"
|
|
maintainer="Joel Beckmeyer <joel@beckmeyer.us>"
|
|
license="MIT"
|
|
homepage="https://qcoro.dvratil.cz/"
|
|
distfiles="https://github.com/danvratil/qcoro/archive/refs/tags/v${version}.tar.gz"
|
|
checksum=cfaf6b778450f06adac4ce5e353eb6eae213a3b62b8c8740520d58cf9fe3ec1a
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|
|
|
|
qcoro-qt5-devel_package() {
|
|
short_desc+=" - development files"
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/cmake
|
|
vmove usr/lib/qt5/mkspecs
|
|
}
|
|
}
|