qt6Packages.kcoreaddons: init
This commit is contained in:
parent
8c43540e6f
commit
71c0edefed
3 changed files with 22 additions and 4 deletions
|
@ -40,7 +40,7 @@ let
|
|||
mirror = "mirror://kde";
|
||||
};
|
||||
|
||||
mkDerivation = libsForQt5.callPackage ({ mkDerivation }: mkDerivation) {};
|
||||
mkDerivation = libsForQt5.callPackage ({ stdenv, mkDerivation ? stdenv.mkDerivation }: mkDerivation) {};
|
||||
|
||||
packages = self: with self;
|
||||
# SUPPORT
|
||||
|
|
|
@ -1,12 +1,21 @@
|
|||
{
|
||||
mkDerivation,
|
||||
mkDerivation, lib,
|
||||
extra-cmake-modules,
|
||||
qtbase, qttools, shared-mime-info
|
||||
}:
|
||||
|
||||
mkDerivation {
|
||||
mkDerivation ({
|
||||
pname = "kcoreaddons";
|
||||
nativeBuildInputs = [ extra-cmake-modules ];
|
||||
buildInputs = [ qttools shared-mime-info ];
|
||||
propagatedBuildInputs = [ qtbase ];
|
||||
}
|
||||
} // lib.optionalAttrs (lib.versionAtLeast qtbase.version "6") {
|
||||
dontWrapQtApps = true;
|
||||
cmakeFlags = [
|
||||
"-DBUILD_WITH_QT6=ON"
|
||||
"-DEXCLUDE_DEPRECATED_BEFORE_AND_AT=CURRENT"
|
||||
];
|
||||
postInstall = ''
|
||||
moveToOutput "mkspecs" "$dev"
|
||||
'';
|
||||
})
|
||||
|
|
|
@ -14,11 +14,20 @@
|
|||
let
|
||||
libsForQt6 = self;
|
||||
callPackage = self.callPackage;
|
||||
kdeFrameworks = let
|
||||
mkFrameworks = import ../development/libraries/kde-frameworks;
|
||||
attrs = {
|
||||
libsForQt5 = libsForQt6;
|
||||
inherit (pkgs) lib fetchurl;
|
||||
};
|
||||
in (lib.makeOverridable mkFrameworks attrs);
|
||||
in
|
||||
|
||||
(qt6 // {
|
||||
# LIBRARIES
|
||||
|
||||
inherit (kdeFrameworks) kcoreaddons;
|
||||
|
||||
quazip = callPackage ../development/libraries/quazip { };
|
||||
|
||||
poppler = callPackage ../development/libraries/poppler {
|
||||
|
|
Loading…
Reference in a new issue