35 lines
1.1 KiB
Bash
35 lines
1.1 KiB
Bash
# Template file for 'qt6-websockets'
|
|
pkgname=qt6-websockets
|
|
version=6.4.0
|
|
revision=1
|
|
build_style=cmake
|
|
hostmakedepends="perl qt6-base-devel qt6-declarative-devel"
|
|
makedepends="qt6-base-devel qt6-declarative-devel"
|
|
depends="qt6-plugin-tls-openssl"
|
|
checkdepends="$depends"
|
|
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=ff3c6629cd6537266123c441709acdd67f231ff2a07216fc848448255bec9bca
|
|
|
|
pre_check() {
|
|
export QML2_IMPORT_PATH="$wrksrc/build/lib/qt6/qml"
|
|
}
|
|
|
|
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/metatypes
|
|
vmove usr/lib/pkgconfig
|
|
vmove usr/lib/qt6/mkspecs
|
|
vmove "usr/lib/*.so"
|
|
vmove "usr/lib/*.prl"
|
|
vmove usr/share/qt6/modules
|
|
}
|
|
}
|