|
58 | 58 | qt6.qtdeclarative |
59 | 59 | cli11 |
60 | 60 | ] |
61 | | - ++ (lib.optional withCrashReporter breakpad) |
62 | | - ++ (lib.optional withJemalloc jemalloc) |
63 | | - ++ (lib.optional withQtSvg qt6.qtsvg) |
64 | | - ++ (lib.optionals withWayland [ qt6.qtwayland wayland ]) |
65 | | - ++ (lib.optional withX11 xorg.libxcb) |
66 | | - ++ (lib.optional withPam pam) |
67 | | - ++ (lib.optional withPipewire pipewire); |
| 61 | + ++ lib.optional withCrashReporter breakpad |
| 62 | + ++ lib.optional withJemalloc jemalloc |
| 63 | + ++ lib.optional withQtSvg qt6.qtsvg |
| 64 | + ++ lib.optionals withWayland [ qt6.qtwayland wayland ] |
| 65 | + ++ lib.optional withX11 xorg.libxcb |
| 66 | + ++ lib.optional withPam pam |
| 67 | + ++ lib.optional withPipewire pipewire; |
68 | 68 |
|
69 | 69 | QTWAYLANDSCANNER = lib.optionalString withWayland "${qt6.qtwayland}/libexec/qtwaylandscanner"; |
70 | 70 |
|
71 | 71 | cmakeBuildType = if debug then "Debug" else "RelWithDebInfo"; |
72 | 72 |
|
73 | | - cmakeFlags = [ "-DGIT_REVISION=${gitRev}" ] |
74 | | - ++ lib.optional (!withCrashReporter) "-DCRASH_REPORTER=OFF" |
75 | | - ++ lib.optional (!withJemalloc) "-DUSE_JEMALLOC=OFF" |
76 | | - ++ lib.optional (!withWayland) "-DWAYLAND=OFF" |
77 | | - ++ lib.optional (!withPipewire) "-DSERVICE_PIPEWIRE=OFF" |
78 | | - ++ lib.optional (!withPam) "-DSERVICE_PAM=OFF" |
79 | | - ++ lib.optional (!withHyprland) "-DHYPRLAND=OFF" |
80 | | - ++ lib.optional (!withQMLLib) "-DINSTALL_QML_LIB=OFF"; |
81 | | - |
82 | | - buildPhase = "ninjaBuildPhase"; |
83 | | - enableParallelBuilding = true; |
| 73 | + cmakeFlags = [ |
| 74 | + (lib.cmakeFeature "GIT_REVISION" gitRev) |
| 75 | + (lib.cmakeBool "CRASH_REPORTER" withCrashReporter) |
| 76 | + (lib.cmakeBool "USE_JEMALLOC" withJemalloc) |
| 77 | + (lib.cmakeBool "WAYLAND" withWayland) |
| 78 | + (lib.cmakeBool "SERVICE_PIPEWIRE" withPipewire) |
| 79 | + (lib.cmakeBool "SERVICE_PAM" withPam) |
| 80 | + (lib.cmakeBool "HYPRLAND" withHyprland) |
| 81 | + (lib.cmakeBool "INSTALL_QML_LIB" withQMLLib) |
| 82 | + ]; |
84 | 83 |
|
85 | 84 | # How to get debuginfo in gdb from a release build: |
86 | 85 | # 1. build `quickshell.debug` |
|
91 | 90 |
|
92 | 91 | meta = with lib; { |
93 | 92 | homepage = "https://git.outfoxxed.me/outfoxxed/quickshell"; |
94 | | - description = "Simple and flexbile QtQuick based desktop shell toolkit"; |
| 93 | + description = "Flexbile QtQuick based desktop shell toolkit"; |
95 | 94 | license = licenses.lgpl3Only; |
96 | 95 | platforms = platforms.linux; |
97 | 96 | }; |
|
0 commit comments