gpodder-adaptive: fix broken Exec= path in .desktop files
This commit is contained in:
@@ -25,17 +25,12 @@ self = gpodder.overridePythonAttrs (upstream: rec {
|
|||||||
format = "setuptools";
|
format = "setuptools";
|
||||||
preBuild = ''
|
preBuild = ''
|
||||||
make \
|
make \
|
||||||
"PREFIX=$(out)" \
|
"PREFIX=$out" \
|
||||||
"share/applications/gpodder-url-handler.desktop" \
|
"share/applications/gpodder-url-handler.desktop" \
|
||||||
"share/applications/gpodder.desktop" \
|
"share/applications/gpodder.desktop" \
|
||||||
"share/dbus-1/services/org.gpodder.service"
|
"share/dbus-1/services/org.gpodder.service"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
postFixup = ''
|
|
||||||
substituteInPlace $out/share/applications/gpodder-url-handler.desktop \
|
|
||||||
--replace-fail 'Exec=/bin/gpodder' 'Exec=gpodder'
|
|
||||||
'';
|
|
||||||
|
|
||||||
buildInputs = upstream.buildInputs ++ [
|
buildInputs = upstream.buildInputs ++ [
|
||||||
libhandy
|
libhandy
|
||||||
];
|
];
|
||||||
|
Reference in New Issue
Block a user