Merge pull request #308860 from TomaSajt/libation
libation: remove outdated practices and format
This commit is contained in:
commit
031571e42e
@ -1,20 +1,21 @@
|
|||||||
{ lib
|
{
|
||||||
, stdenv
|
lib,
|
||||||
, buildDotnetModule
|
stdenv,
|
||||||
, fetchFromGitHub
|
buildDotnetModule,
|
||||||
, dotnetCorePackages
|
fetchFromGitHub,
|
||||||
, wrapGAppsHook3
|
dotnetCorePackages,
|
||||||
|
wrapGAppsHook3,
|
||||||
|
|
||||||
, libX11
|
libX11,
|
||||||
, libICE
|
libICE,
|
||||||
, libSM
|
libSM,
|
||||||
, libXi
|
libXi,
|
||||||
, libXcursor
|
libXcursor,
|
||||||
, libXext
|
libXext,
|
||||||
, libXrandr
|
libXrandr,
|
||||||
, fontconfig
|
fontconfig,
|
||||||
, glew
|
glew,
|
||||||
, gtk3
|
gtk3,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildDotnetModule rec {
|
buildDotnetModule rec {
|
||||||
@ -61,10 +62,10 @@ buildDotnetModule rec {
|
|||||||
];
|
];
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
install -Dm644 LoadByOS/LinuxConfigApp/libation_glass.svg $out/share/icons/hicolor/scalable/apps/${pname}.svg
|
install -Dm644 LoadByOS/LinuxConfigApp/libation_glass.svg $out/share/icons/hicolor/scalable/apps/libation.svg
|
||||||
install -Dm644 LoadByOS/LinuxConfigApp/Libation.desktop $out/share/applications/${pname}.desktop
|
install -Dm644 LoadByOS/LinuxConfigApp/Libation.desktop $out/share/applications/libation.desktop
|
||||||
substituteInPlace $out/share/applications/${pname}.desktop \
|
substituteInPlace $out/share/applications/libation.desktop \
|
||||||
--replace "/usr/bin/libation" "${meta.mainProgram}"
|
--replace-fail "/usr/bin/libation" "${meta.mainProgram}"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
# wrap manually, because we need lower case excutables
|
# wrap manually, because we need lower case excutables
|
||||||
|
Loading…
Reference in New Issue
Block a user