melonDS: use qt6 libraries
This commit is contained in:
parent
7396993860
commit
68de652b96
@ -6,7 +6,6 @@
|
||||
, libGL
|
||||
, libarchive
|
||||
, libpcap
|
||||
, libsForQt5
|
||||
, qt6
|
||||
, libslirp
|
||||
, pkg-config
|
||||
@ -17,8 +16,7 @@
|
||||
}:
|
||||
|
||||
let
|
||||
qt = if stdenv.isLinux then libsForQt5 else qt6;
|
||||
inherit (qt)
|
||||
inherit (qt6)
|
||||
qtbase
|
||||
qtmultimedia
|
||||
wrapQtAppsHook;
|
||||
@ -53,6 +51,10 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
wayland
|
||||
];
|
||||
|
||||
cmakeFlags = [
|
||||
(lib.cmakeBool "USE_QT6" true)
|
||||
];
|
||||
|
||||
strictDeps = true;
|
||||
|
||||
qtWrapperArgs = lib.optionals stdenv.isLinux [
|
||||
|
Loading…
Reference in New Issue
Block a user