Merge pull request #324709 from atorres1985-contrib/melonds

melonDS: use qt6 libraries
This commit is contained in:
Thiago Kenji Okada 2024-07-05 13:17:38 +00:00 committed by GitHub
commit a24268ed1b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,24 +1,23 @@
{ lib
, SDL2
, cmake
, extra-cmake-modules
, fetchFromGitHub
, libGL
, libarchive
, libpcap
, libsForQt5
, qt6
, libslirp
, pkg-config
, stdenv
, unstableGitUpdater
, wayland
, zstd
{
lib,
SDL2,
cmake,
extra-cmake-modules,
fetchFromGitHub,
libGL,
libarchive,
libpcap,
libslirp,
pkg-config,
qt6,
stdenv,
unstableGitUpdater,
wayland,
zstd,
}:
let
qt = if stdenv.isLinux then libsForQt5 else qt6;
inherit (qt)
inherit (qt6)
qtbase
qtmultimedia
wrapQtAppsHook;
@ -53,6 +52,10 @@ stdenv.mkDerivation (finalAttrs: {
wayland
];
cmakeFlags = [
(lib.cmakeBool "USE_QT6" true)
];
strictDeps = true;
qtWrapperArgs = lib.optionals stdenv.isLinux [