Merge pull request #185533 from puffnfresh/package/retroarch

retroarch: enable dbus on Linux
This commit is contained in:
Thiago Kenji Okada 2022-08-07 13:00:24 +01:00 committed by GitHub
commit f0ec9e1f96
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -5,6 +5,7 @@
, withVulkan ? stdenv.isLinux
, alsa-lib
, AppKit
, dbus
, fetchFromGitHub
, ffmpeg_4
, Foundation
@ -80,6 +81,7 @@ stdenv.mkDerivation rec {
lib.optionals stdenv.isDarwin [ libobjc AppKit Foundation ] ++
lib.optionals stdenv.isLinux [
alsa-lib
dbus
libX11
libXdmcp
libXext
@ -95,7 +97,7 @@ stdenv.mkDerivation rec {
enableParallelBuilding = true;
configureFlags = lib.optionals stdenv.isLinux [ "--enable-kms" "--enable-egl" ];
configureFlags = lib.optionals stdenv.isLinux [ "--enable-kms" "--enable-egl" "--enable-dbus" ];
postInstall = ''
mkdir -p $out/share/libretro/info