pantheon.touchegg: init

This commit is contained in:
Bobby Rong
2021-09-18 19:33:40 +08:00
parent 72b2f5ab09
commit dc5ea0908d
2 changed files with 12 additions and 0 deletions
+2
View File
@@ -35,6 +35,8 @@ lib.makeScope pkgs.newScope (self: with self; {
notes-up = pkgs.notes-up.override { withPantheon = true; };
touchegg = pkgs.touchegg.override { withPantheon = true; };
#### APPS
appcenter = callPackage ./apps/appcenter { };
@@ -11,6 +11,7 @@
, pkg-config
, cmake
, pantheon
, withPantheon ? false
}:
stdenv.mkDerivation rec {
@@ -47,6 +48,15 @@ stdenv.mkDerivation rec {
cmake
];
patches = lib.optionals withPantheon [
# Disable per-application gesture by default to make sure the default
# config does not conflict with Pantheon switchboard settings.
(fetchpatch {
url = "https://github.com/elementary/os-patches/commit/ada4e726540a2bb57b606c98e2531cfaaea57211.patch";
sha256 = "0is9acwvgiqdhbiw11i3nq0rp0zldcza779fbj8k78cp329rbqb4";
})
];
meta = with lib; {
homepage = "https://github.com/JoseExposito/touchegg";
description = "Linux multi-touch gesture recognizer";