From 40df9ef62ff4392703dae97f5d682d441b53047c Mon Sep 17 00:00:00 2001 From: rewine Date: Fri, 26 Jul 2024 20:07:28 +0800 Subject: [PATCH] deepin.dtk6core: 6.0.16 -> 6.0.18 --- .../deepin/library/dtk6core/default.nix | 21 +++++-------------- 1 file changed, 5 insertions(+), 16 deletions(-) diff --git a/pkgs/desktops/deepin/library/dtk6core/default.nix b/pkgs/desktops/deepin/library/dtk6core/default.nix index ab583e2e45dc..cc89cbfcd87d 100644 --- a/pkgs/desktops/deepin/library/dtk6core/default.nix +++ b/pkgs/desktops/deepin/library/dtk6core/default.nix @@ -1,38 +1,30 @@ { stdenv , lib , fetchFromGitHub -, fetchpatch , cmake , pkg-config , doxygen , qt6Packages , lshw , libuchardet -, spdlog , dtkcommon -, systemd -, withSystemd ? lib.meta.availableOn stdenv.hostPlatform systemd +, dtk6log }: stdenv.mkDerivation (finalAttrs: { pname = "dtk6core"; - version = "6.0.16"; + version = "6.0.18"; src = fetchFromGitHub { owner = "linuxdeepin"; repo = "dtk6core"; rev = finalAttrs.version; - hash = "sha256-m2unpWx8FBvZT8AmdFlzc5dp55kgtDsR62SHF8RwHhU="; + hash = "sha256-zyhqkxxWB5U37eBxINNxcbnF5NpImg+E7H1VhfJDz60="; }; patches = [ ./fix-pkgconfig-path.patch ./fix-pri-path.patch - (fetchpatch { - name = "fix-build-on-qt-6_7_1.patch"; - url = "https://github.com/linuxdeepin/dtkcore/commit/10bd3842bbde41fbc61c35b81d280075d053119b.patch"; - hash = "sha256-xZ3BhiMB6S5NJtPUEjtChCB9Jr1BI0mu7AMjyNMqt9w="; - }) ]; postPatch = '' @@ -54,11 +46,9 @@ stdenv.mkDerivation (finalAttrs: { qt6Packages.qtbase lshw libuchardet - spdlog - ] - ++ lib.optional withSystemd systemd; + ]; - propagatedBuildInputs = [ dtkcommon ]; + propagatedBuildInputs = [ dtkcommon dtk6log ]; cmakeFlags = [ "-DDTK_VERSION=${finalAttrs.version}" @@ -68,7 +58,6 @@ stdenv.mkDerivation (finalAttrs: { "-DDSG_PREFIX_PATH='/run/current-system/sw'" "-DMKSPECS_INSTALL_DIR=${placeholder "out"}/mkspecs/modules" "-DD_DSG_APP_DATA_FALLBACK=/var/dsg/appdata" - "-DBUILD_WITH_SYSTEMD=${if withSystemd then "ON" else "OFF"}" ]; preConfigure = ''