Unverified Commit c1d12de2 authored by Sandro Jäckel's avatar Sandro Jäckel Committed by GitHub
Browse files

Merge pull request #200243 from SuperSamus/flycast-vulkan

parents c3f650c3 ffb54f78
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -3,6 +3,7 @@
, fetchFromGitHub
, cmake
, pkg-config
, makeWrapper
, alsa-lib
, libX11
, libevdev
@@ -11,6 +12,7 @@
, SDL2
, libzip
, miniupnpc
, vulkan-loader
}:

stdenv.mkDerivation rec {
@@ -28,6 +30,7 @@ stdenv.mkDerivation rec {
  nativeBuildInputs = [
    cmake
    pkg-config
    makeWrapper
  ];

  buildInputs = [
@@ -41,6 +44,10 @@ stdenv.mkDerivation rec {
    miniupnpc
  ];

  postFixup = ''
    wrapProgram $out/bin/flycast --prefix LD_LIBRARY_PATH : ${lib.makeLibraryPath [ vulkan-loader ]}
  '';

  meta = with lib; {
    homepage = "https://github.com/flyinghead/flycast";
    changelog = "https://github.com/flyinghead/flycast/releases/tag/v${version}";