31 lines
1.2 KiB
Bash
31 lines
1.2 KiB
Bash
|
# Template file for 'qt6-wayland'
|
||
|
pkgname=qt6-wayland
|
||
|
version=6.1.0
|
||
|
revision=1
|
||
|
wrksrc="qtwayland-everywhere-src-${version}"
|
||
|
build_style=cmake
|
||
|
configure_args="-DQT_HOST_PATH=/usr -DQT_BUILD_TOOLS_WHEN_CROSSCOMPILING=true"
|
||
|
hostmakedepends="qt6-base-devel perl pkg-config wayland-devel qt6-wayland-devel"
|
||
|
# XXX: Qml as optional dep
|
||
|
makedepends="qt6-base-devel wayland-devel libxkbcommon-devel
|
||
|
libXcomposite-devel MesaLib-devel Vulkan-Headers libdrm-devel"
|
||
|
short_desc="Cross-platform application and UI framework - Wayland"
|
||
|
maintainer="John <me@johnnynator.dev>"
|
||
|
license="GPL-3.0-only with Qt-GPL-exception-1.0, LGPL-3.0-only, GPL-2.0-or-later"
|
||
|
homepage="https://www.qt.io"
|
||
|
distfiles="https://download.qt.io/official_releases/qt/${version%.*}/${version}/submodules/qtwayland-everywhere-src-${version}.tar.xz"
|
||
|
checksum=d67e8ffe4014a66b5864acf358a392149555db2adac1b9802a6650a59a70ad97
|
||
|
|
||
|
qt6-wayland-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/qt6/bin/qtwaylandscanner
|
||
|
vmove "usr/lib/*.so"
|
||
|
vmove "usr/lib/*.prl"
|
||
|
}
|
||
|
}
|