From 1db777a3ce97aae7ca614343775523653d0a6fb0 Mon Sep 17 00:00:00 2001 From: John Date: Mon, 7 Jun 2021 17:54:10 +0200 Subject: [PATCH] qt6-wayland: update to 6.1.1. --- srcpkgs/qt6-wayland/template | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/srcpkgs/qt6-wayland/template b/srcpkgs/qt6-wayland/template index 43194ae66a..fff2a9b1e8 100644 --- a/srcpkgs/qt6-wayland/template +++ b/srcpkgs/qt6-wayland/template @@ -1,6 +1,6 @@ # Template file for 'qt6-wayland' pkgname=qt6-wayland -version=6.1.0 +version=6.1.1 revision=1 wrksrc="qtwayland-everywhere-src-${version}" build_style=cmake @@ -9,12 +9,22 @@ 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" +checkdepends="dbus mesa-dri" short_desc="Cross-platform application and UI framework - Wayland" maintainer="John " 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 +checksum=2cfb2b5403eb2037670549dd2d3968eaa30a9ce523dd08314c5bc677fdf27db6 + +if [ "$XBPS_CHECK_PKGS" ]; then + configure_args+=" -DQT_BUILD_TESTS=ON" +fi + +do_check() { + cd build + dbus-run-session ctest -E 'tst_seatv4' +} qt6-wayland-devel_package() { depends="${sourcepkg}>=${version}_${revision} qt6-base-devel>=${version}_1"