Merge pull request #307355 from r-ryantm/auto-update/ludusavi
ludusavi: 0.22.0 -> 0.23.0
This commit is contained in:
commit
adb0f778a9
@ -12,23 +12,25 @@
|
||||
, libXcursor
|
||||
, libXrandr
|
||||
, libXi
|
||||
, libxkbcommon
|
||||
, vulkan-loader
|
||||
, wayland
|
||||
, gnome
|
||||
, libsForQt5
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "ludusavi";
|
||||
version = "0.22.0";
|
||||
version = "0.23.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "mtkennerly";
|
||||
repo = pname;
|
||||
repo = "ludusavi";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-FVM/HJpBd9G161JTaVTeWQhz4p5uDgQtohaIw1iNOJo=";
|
||||
hash = "sha256-3Z/v3+3mrmPV2Rb/5tM+h6UN+MEIF/aK07B93Zn38AA=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-5RhFyC4e4OOdnhwk4sgG6mmRVa1gLaBUA8DW5XW6E14=";
|
||||
cargoHash = "sha256-bAap8eSXAPLrs5MEX1Pp6gKdp0iLxci4aX+2+ve6Wk0=";
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
@ -49,12 +51,12 @@ rustPlatform.buildRustPackage rec {
|
||||
install -Dm644 assets/com.github.mtkennerly.ludusavi.metainfo.xml -t \
|
||||
"$out/share/metainfo/"
|
||||
install -Dm644 assets/icon.png \
|
||||
"$out/share/icons/hicolor/64x64/apps/${pname}.png"
|
||||
"$out/share/icons/hicolor/64x64/apps/ludusavi.png"
|
||||
install -Dm644 assets/icon.svg \
|
||||
"$out/share/icons/hicolor/scalable/apps/${pname}.svg"
|
||||
install -Dm644 "assets/${pname}.desktop" -t "$out/share/applications/"
|
||||
"$out/share/icons/hicolor/scalable/apps/ludusavi.svg"
|
||||
install -Dm644 "assets/ludusavi.desktop" -t "$out/share/applications/"
|
||||
install -Dm644 assets/MaterialIcons-Regular.ttf -t "$out/share/fonts/TTF/"
|
||||
install -Dm644 LICENSE -t "$out/share/licenses/${pname}/"
|
||||
install -Dm644 LICENSE -t "$out/share/licenses/ludusavi/"
|
||||
'';
|
||||
|
||||
postFixup =
|
||||
@ -68,12 +70,14 @@ rustPlatform.buildRustPackage rec {
|
||||
libXcursor
|
||||
libXrandr
|
||||
libXi
|
||||
libxkbcommon
|
||||
vulkan-loader
|
||||
wayland
|
||||
];
|
||||
in
|
||||
''
|
||||
patchelf --set-rpath "${libPath}" "$out/bin/$pname"
|
||||
wrapProgram $out/bin/$pname --prefix PATH : ${lib.makeBinPath [ gnome.zenity libsForQt5.kdialog ]}
|
||||
patchelf --set-rpath "${libPath}" "$out/bin/ludusavi"
|
||||
wrapProgram $out/bin/ludusavi --prefix PATH : ${lib.makeBinPath [ gnome.zenity libsForQt5.kdialog ]}
|
||||
'';
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user