mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-20 19:16:11 +00:00
packagekit-qt: add Qt6 support
This commit is contained in:
parent
8cf720ba33
commit
194dd38532
@ -1,7 +1,9 @@
|
||||
{ stdenv, fetchFromGitHub, cmake, pkg-config
|
||||
{ stdenv, lib, fetchFromGitHub, cmake, pkg-config
|
||||
, qttools, packagekit }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
let
|
||||
isQt6 = lib.versions.major qttools.version == "6";
|
||||
in stdenv.mkDerivation rec {
|
||||
pname = "packagekit-qt";
|
||||
version = "1.1.1";
|
||||
|
||||
@ -16,6 +18,8 @@ stdenv.mkDerivation rec {
|
||||
|
||||
nativeBuildInputs = [ cmake pkg-config qttools ];
|
||||
|
||||
cmakeFlags = [ (lib.cmakeBool "BUILD_WITH_QT6" isQt6) ];
|
||||
|
||||
dontWrapQtApps = true;
|
||||
|
||||
meta = packagekit.meta // {
|
||||
|
@ -34,6 +34,7 @@ makeScopeWithSplicing' {
|
||||
qca = pkgs.darwin.apple_sdk_11_0.callPackage ../development/libraries/qca {
|
||||
inherit (qt6) qtbase qt5compat;
|
||||
};
|
||||
packagekit-qt = callPackage ../tools/package-management/packagekit/qt.nix { };
|
||||
|
||||
qt6ct = callPackage ../tools/misc/qt6ct { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user