Unverified Commit 830b9fe5 authored by Randy Eckenrode's avatar Randy Eckenrode
Browse files

qt6.qtbase: build with the 14.4 SDK

Per upstream’s supported Darwin versions, built with the 14.4 SDK
(corresponding to Xcode 15) and a 11.0 deployment target. To ensure that
users of Qt have a compatible SDK and deployment target, propagate the
11.3 SDK and a 11.0 minimum version. Users that need a newer version can
opt into using it by adding the SDK package to their build inputs.
parent 61d0e51c
Loading
Loading
Loading
Loading
+8 −19
Original line number Diff line number Diff line
@@ -67,15 +67,10 @@
, unixODBCDrivers
  # darwin
, moveBuildTree
, apple-sdk_11
, apple-sdk_14
, darwinMinVersionHook
, xcbuild
, AGL
, AVFoundation
, AppKit
, Contacts
, CoreBluetooth
, EventKit
, GSS
, MetalKit
  # mingw
, pkgsBuildBuild
  # optional dependencies
@@ -162,14 +157,8 @@ stdenv.mkDerivation rec {
    xorg.xcbutilcursor
    libepoxy
  ] ++ lib.optionals stdenv.hostPlatform.isDarwin [
    AGL
    AVFoundation
    AppKit
    Contacts
    CoreBluetooth
    EventKit
    GSS
    MetalKit
    apple-sdk_14
    (darwinMinVersionHook "11.0")
  ] ++ lib.optionals libGLSupported [
    libGL
  ] ++ lib.optionals stdenv.hostPlatform.isMinGW [
@@ -181,9 +170,9 @@ stdenv.mkDerivation rec {
    at-spi2-core
  ] ++ lib.optionals (lib.meta.availableOn stdenv.hostPlatform libinput) [
    libinput
  ] ++ lib.optionals (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isx86_64) [
    AppKit
    CoreBluetooth
  ] ++ lib.optionals stdenv.hostPlatform.isDarwin [
    apple-sdk_11
    (darwinMinVersionHook "11.0")
  ]
  ++ lib.optional withGtk3 gtk3
  ++ lib.optional (libmysqlclient != null && !stdenv.hostPlatform.isMinGW) libmysqlclient