38 inherit (lib) getBin getExe;
40 qdbus = "${getBin qttools}/bin/qdbus";
44 pname = "kinfocenter";
46 nativeBuildInputs = [ extra-cmake-modules kdoctools ];
82 ./0001-tool-paths.patch
86 for f in Modules/kwinsupportinfo/{kcm_kwinsupportinfo.json.in,main.cpp}; do
87 substituteInPlace $f \
88 --replace "@qdbus@" "${qdbus}"
91 for f in Modules/xserver/{kcm_xserver.json,main.cpp}; do
92 substituteInPlace $f \
93 --replace "@xdpyinfo@" "${getExe xdpyinfo}"
97 # fix wrong symlink of infocenter pointing to a 'systemsettings5' binary in
98 # the same directory, while it is actually located in a completely different
101 ln -sf ${systemsettings}/bin/systemsettings $out/bin/kinfocenter