qt6ct: use new upstream and use CMake (#387423)

authored by scrumplex.net and committed by GitHub 3f9dc985 d71c8568

+14 -14
+14 -14
pkgs/tools/misc/qt6ct/default.nix
··· 1 1 { 2 + cmake, 3 + fetchFromGitLab, 2 4 lib, 3 - stdenv, 4 - fetchFromGitHub, 5 5 qtbase, 6 6 qtsvg, 7 + qttools, 7 8 qtwayland, 8 - qmake, 9 - qttools, 9 + stdenv, 10 10 wrapQtAppsHook, 11 11 }: 12 12 ··· 14 14 pname = "qt6ct"; 15 15 version = "0.10"; 16 16 17 - src = fetchFromGitHub { 18 - owner = "ilya-fedin"; 17 + src = fetchFromGitLab { 18 + domain = "www.opencode.net"; 19 + owner = "trialuser"; 19 20 repo = "qt6ct"; 20 21 tag = finalAttrs.version; 21 - hash = "sha256-ePY+BEpEcAq11+pUMjQ4XG358x3bXFQWwI1UAi+KmLo="; 22 + hash = "sha256-o2k/b4AGiblS1CkNInqNrlpM1Y7pydIJzEVgVd3ao50="; 22 23 }; 23 24 24 25 nativeBuildInputs = [ 25 - qmake 26 + cmake 26 27 qttools 27 28 wrapQtAppsHook 28 29 ]; ··· 33 34 qtwayland 34 35 ]; 35 36 36 - qmakeFlags = [ 37 - "LRELEASE_EXECUTABLE=${lib.getDev qttools}/bin/lrelease" 38 - "PLUGINDIR=${placeholder "out"}/${qtbase.qtPluginPrefix}" 39 - "LIBDIR=${placeholder "out"}/lib" 40 - ]; 37 + postPatch = '' 38 + substituteInPlace src/qt6ct-qtplugin/CMakeLists.txt src/qt6ct-style/CMakeLists.txt \ 39 + --replace-fail "\''${PLUGINDIR}" "$out/${qtbase.qtPluginPrefix}" 40 + ''; 41 41 42 42 meta = { 43 43 description = "Qt6 Configuration Tool"; 44 - homepage = "https://github.com/ilya-fedin/qt6ct"; 44 + homepage = "https://www.opencode.net/trialuser/qt6ct"; 45 45 platforms = lib.platforms.linux; 46 46 license = lib.licenses.bsd2; 47 47 maintainers = with lib.maintainers; [