Skip to content

Commit

Permalink
wacomtablet: Fix build with Qt5.15, pending new release (#104660)
Browse files Browse the repository at this point in the history
Also update homepage
  • Loading branch information
Thra11 committed Dec 5, 2020
1 parent 29045c2 commit a6e78f0
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
10 changes: 8 additions & 2 deletions pkgs/tools/misc/wacomtablet/default.nix
@@ -1,4 +1,4 @@
{ lib, mkDerivation, fetchurl, extra-cmake-modules, qtx11extras,
{ lib, mkDerivation, fetchurl, fetchpatch, extra-cmake-modules, qtx11extras,
plasma-workspace, libwacom, xf86_input_wacom
}:

Expand All @@ -9,6 +9,12 @@ mkDerivation rec {
url = "mirror://kde/stable/${pname}/${version}/${pname}-${version}.tar.xz";
sha256 = "197pwpl87gqlnza36bp68jvw8ww25znk08acmi8bpz7n84xfc368";
};
patches = [
(fetchpatch {
url = "https://invent.kde.org/system/wacomtablet/commit/4f73ff02b3efd5e8728b18fcf1067eca166704ee.patch";
sha256 = "0185gbh1vywfz8a3wnvncmzdk0dd189my4bzimkbh85rlrqq2nf8";
})
];

nativeBuildInputs = [ extra-cmake-modules ];
buildInputs = [
Expand All @@ -22,7 +28,7 @@ mkDerivation rec {
This module implements a GUI for the Wacom Linux Drivers and extends it
with profile support to handle different button / pen layouts per profile.
'';
homepage = "https://cgit.kde.org/wacomtablet.git/about/";
homepage = "https://invent.kde.org/system/wacomtablet";
license = lib.licenses.gpl2;
maintainers = [ lib.maintainers.Thra11 ];
platforms = lib.platforms.linux;
Expand Down
2 changes: 1 addition & 1 deletion pkgs/top-level/all-packages.nix
Expand Up @@ -28279,7 +28279,7 @@ in

vttest = callPackage ../tools/misc/vttest { };

wacomtablet = libsForQt514.callPackage ../tools/misc/wacomtablet { };
wacomtablet = libsForQt5.callPackage ../tools/misc/wacomtablet { };

wasmer = callPackage ../development/interpreters/wasmer { };

Expand Down

0 comments on commit a6e78f0

Please sign in to comment.