Update wallpaper engine plugin
This commit is contained in:
parent
7329a57c22
commit
d60884e675
3 changed files with 7 additions and 5 deletions
8
flake.lock
generated
8
flake.lock
generated
|
|
@ -168,11 +168,11 @@
|
||||||
"wallpaper-engine-plasma6-plugin": {
|
"wallpaper-engine-plasma6-plugin": {
|
||||||
"flake": false,
|
"flake": false,
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1710304679,
|
"lastModified": 1718553568,
|
||||||
"narHash": "sha256-vkWEGlDQpfJ3fAimJHZs+aX6dh/fLHSRy2tLEsgu/JU=",
|
"narHash": "sha256-bKGQxyS8gUi+37lODLVHphMoQwLKZt/hpSjR5MN+5GA=",
|
||||||
"ref": "qt6",
|
"ref": "qt6",
|
||||||
"rev": "96230de92f1715d3ccc5b9d50906e6a73812a00a",
|
"rev": "1e604105c586c7938c5b2c19e3dc8677b2eb4bb4",
|
||||||
"revCount": 604,
|
"revCount": 608,
|
||||||
"submodules": true,
|
"submodules": true,
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/catsout/wallpaper-engine-kde-plugin"
|
"url": "https://github.com/catsout/wallpaper-engine-kde-plugin"
|
||||||
|
|
|
||||||
|
|
@ -42,6 +42,7 @@ pkgs.plasma5Packages.callPackage
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
chmod +x ../plugin/contents/pyext.py
|
chmod +x ../plugin/contents/pyext.py
|
||||||
PATH=${python-ws}/bin:$PATH patchShebangs --build ../plugin/contents/pyext.py
|
PATH=${python-ws}/bin:$PATH patchShebangs --build ../plugin/contents/pyext.py
|
||||||
|
sed -i "18i \\ \"[ -f \\\\\"${placeholder "out"}/share/\$EXT\\\\\" ] && WKD=\\\\\"${placeholder "out"}/share/\$EXT\\\\\"\"," ../plugin/contents/ui/Pyext.qml
|
||||||
sed -i "s/exec python3 //g" ../plugin/contents/ui/Pyext.qml
|
sed -i "s/exec python3 //g" ../plugin/contents/ui/Pyext.qml
|
||||||
mkdir -p $out/share/plasma/wallpapers/com.github.casout.wallpaperEngineKde/
|
mkdir -p $out/share/plasma/wallpapers/com.github.casout.wallpaperEngineKde/
|
||||||
cp -r ../plugin/* $out/share/plasma/wallpapers/com.github.casout.wallpaperEngineKde/
|
cp -r ../plugin/* $out/share/plasma/wallpapers/com.github.casout.wallpaperEngineKde/
|
||||||
|
|
|
||||||
|
|
@ -30,9 +30,10 @@ pkgs.kdePackages.callPackage
|
||||||
meta.license = with lib.licenses; [ gpl2 ];
|
meta.license = with lib.licenses; [ gpl2 ];
|
||||||
pname = name;
|
pname = name;
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
sed -i "s/exec python3 //g" ../plugin/contents/ui/Pyext.qml
|
|
||||||
chmod +x ../plugin/contents/pyext.py
|
chmod +x ../plugin/contents/pyext.py
|
||||||
PATH=${python-ws}/bin:$PATH patchShebangs --build ../plugin/contents/pyext.py
|
PATH=${python-ws}/bin:$PATH patchShebangs --build ../plugin/contents/pyext.py
|
||||||
|
sed -i "18i \\ \"[ -f \\\\\"${placeholder "out"}/share/\$EXT\\\\\" ] && WKD=\\\\\"${placeholder "out"}/share/\$EXT\\\\\"\"," ../plugin/contents/ui/Pyext.qml
|
||||||
|
sed -i "s/exec python3 //g" ../plugin/contents/ui/Pyext.qml
|
||||||
kpackagetool6 -i ../plugin/ -p $out/share/plasma/wallpapers/
|
kpackagetool6 -i ../plugin/ -p $out/share/plasma/wallpapers/
|
||||||
'';
|
'';
|
||||||
src = inputs.${name};
|
src = inputs.${name};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue