pantheon.touchegg: init

This commit is contained in:
Bobby Rong 2021-09-13 22:31:04 +08:00
parent 72b2f5ab09
commit dc5ea0908d
No known key found for this signature in database
GPG Key ID: ED07364437C91161
2 changed files with 12 additions and 0 deletions

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 { };

View File

@ -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";