31 lines
1.0 KiB
Bash
31 lines
1.0 KiB
Bash
# Template file for 'qt6-webview'
|
|
pkgname=qt6-webview
|
|
version=6.7.2
|
|
revision=1
|
|
build_style=cmake
|
|
hostmakedepends="qt6-base qt6-declarative-host-tools"
|
|
makedepends="qt6-base-private-devel qt6-declarative-private-devel qt6-webengine-devel"
|
|
short_desc="Cross-platform application and UI framework - WebView"
|
|
maintainer="Đoàn Trần Công Danh <congdanhqx@gmail.com>"
|
|
license="GPL-3.0-only, GPL-2.0-only, LGPL-3.0-only"
|
|
homepage="https://www.qt.io"
|
|
distfiles="https://download.qt.io/official_releases/qt/${version%.*}/${version}/submodules/qtwebview-everywhere-src-${version}.tar.xz"
|
|
checksum=4ce1096903d4fec39bfcd95d4015acbf105eddf66a384303cb0fe899dd24e4fe
|
|
|
|
if [ "$XBPS_WORDSIZE$XBPS_WORDSIZE" != "64$XBPS_TARGET_WORDSIZE" ]; then
|
|
broken="no qt6-webengine"
|
|
fi
|
|
|
|
qt6-webview-devel_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/cmake
|
|
vmove usr/lib/pkgconfig
|
|
vmove usr/lib/qt6/mkspecs
|
|
vmove "usr/lib/*.prl"
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|