28 lines
1.0 KiB
Bash
28 lines
1.0 KiB
Bash
# Template file for 'qt6-websockets'
|
|
pkgname=qt6-websockets
|
|
version=6.3.0
|
|
revision=1
|
|
wrksrc="qtwebsockets-everywhere-src-${version}"
|
|
build_style=cmake
|
|
configure_args="-DQT_HOST_PATH=/usr"
|
|
hostmakedepends="perl qt6-base-devel qt6-declarative-devel"
|
|
makedepends="qt6-base-devel qt6-declarative-devel"
|
|
short_desc="Cross-platform application and UI framework - websockets"
|
|
maintainer="John <me@johnnynator.dev>"
|
|
license="(LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only) AND GPL-3.0-only with Qt-GPL-exception-1.0"
|
|
homepage="https://qt.io/"
|
|
distfiles="http://download.qt.io/official_releases/qt/${version%.*}/${version}/submodules/qtwebsockets-everywhere-src-${version}.tar.xz"
|
|
checksum=e018a09fe960b7d9560d6bbc9d3ca022fed6566e6ba6fc6d869a97482d4e6361
|
|
|
|
qt6-websockets-devel_package() {
|
|
depends="${sourcepkg}>=${version}_${revision} qt6-base-devel>=${version}_1"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/cmake
|
|
vmove usr/lib/qt6/mkspecs
|
|
vmove "usr/lib/*.so"
|
|
vmove "usr/lib/*.prl"
|
|
}
|
|
}
|