kwin: install service type aliases for broken packages

Some package(s) refer to kwin service types by the wrong names. I would prefer
to patch those packages, but I cannot find them!
This commit is contained in:
Thomas Tuegel 2017-04-14 06:31:19 -05:00
parent 32b8512e54
commit a53f129c45
No known key found for this signature in database
GPG Key ID: 22CBF5249D4B4D59

View File

@ -30,4 +30,12 @@ plasmaPackage {
--subst-var-by xwayland ${lib.getBin xwayland}/bin/Xwayland
'';
cmakeFlags = [ "-DCMAKE_SKIP_BUILD_RPATH=OFF" ];
postInstall = ''
# Some package(s) refer to these service types by the wrong name.
# I would prefer to patch those packages, but I cannot find them!
ln -s $out/share/kservicetypes5/kwineffect.desktop \
$out/share/kservicetypes5/kwin-effect.desktop
ln -s $out/share/kservicetypes5/kwinscript.desktop \
$out/share/kservicetypes5/kwin-script.desktop
'';
}