From 162c178beee5ed48eba9479670d0e1c454731fc7 Mon Sep 17 00:00:00 2001 From: Luciogi Date: Sun, 17 Mar 2024 21:34:40 +0500 Subject: [PATCH] kcm-wacomtablet: update to 6.0.4 --- .../patches/QPainterPath.patch | 10 ------- srcpkgs/kcm-wacomtablet/template | 30 ++++++++++++------- 2 files changed, 19 insertions(+), 21 deletions(-) delete mode 100644 srcpkgs/kcm-wacomtablet/patches/QPainterPath.patch diff --git a/srcpkgs/kcm-wacomtablet/patches/QPainterPath.patch b/srcpkgs/kcm-wacomtablet/patches/QPainterPath.patch deleted file mode 100644 index a307202077a..00000000000 --- a/srcpkgs/kcm-wacomtablet/patches/QPainterPath.patch +++ /dev/null @@ -1,10 +0,0 @@ ---- a/src/kcmodule/pressurecurvewidget.cpp 2019-07-21 20:35:36.000000000 +0200 -+++ b/src/kcmodule/pressurecurvewidget.cpp 2020-09-02 16:40:32.608875141 +0200 -@@ -22,6 +22,7 @@ - //Qt includes - #include - #include -+#include - #include - #include - #include diff --git a/srcpkgs/kcm-wacomtablet/template b/srcpkgs/kcm-wacomtablet/template index dbb0cd51818..1c5795791d1 100644 --- a/srcpkgs/kcm-wacomtablet/template +++ b/srcpkgs/kcm-wacomtablet/template @@ -1,18 +1,26 @@ # Template file for 'kcm-wacomtablet' pkgname=kcm-wacomtablet -version=3.2.0 -revision=3 +version=6.0.4 +revision=1 build_style=cmake -configure_args="-DBUILD_TESTING=OFF" -hostmakedepends="pkg-config gettext extra-cmake-modules qt5-qmake qt5-host-tools - kdoctools kcoreaddons kpackage" -makedepends="qt5-devel qt5-x11extras-devel qt5-declarative-devel - plasma-workspace-devel libwacom-devel xf86-input-wacom-devel libinput-devel" +build_helper=qemu +configure_args="-DKF6_HOST_TOOLING=/usr/lib/cmake + -DKDE_INSTALL_QTPLUGINDIR=lib/qt6/plugins" +hostmakedepends="pkg-config gettext extra-cmake-modules qt6-base qt6-tools + kf6-kcmutils-devel kf6-kpackage-devel" +makedepends="qt6-declarative-devel plasma-workspace-devel libwacom-devel + xf86-input-wacom-devel libinput-devel" depends="xf86-input-wacom" +checkdepends="dbus" short_desc="GUI for the Wacom Linux Drivers" maintainer="Piraty " license="GPL-2.0-or-later" -homepage="https://invent.kde.org/system/wacomtablet" -distfiles="${KDE_SITE}/wacomtablet/${version}/wacomtablet-${version}.tar.xz" -checksum=c80ce63a41f6fcbb50ac4c2130ed2f8273c4b744e62e33d4b714bf83e8e5f7a4 -make_check=no # FIXME +homepage="https://invent.kde.org/plasma/wacomtablet" +distfiles="${KDE_SITE}/plasma/${version}/${pkgname#kcm-}-${version}.tar.xz" +checksum=86cc6dc6eafbfd48448ad0568206357d5ca82dbf9c1473b3d1507c8778ad958e + +do_check() { + cd build + # disable failing tests + dbus-run-session ctest -E "Test.KDED.TabletHandler|Test.KDED.XInputAdaptor|Test.KDED.XsetWacomAdaptor" +}