3
0
Fork 0
forked from mirrors/nixpkgs

plasma5: mark broken with Qt < 5.15

This commit is contained in:
Thomas Tuegel 2021-03-28 13:31:46 -05:00
parent 4d4cdf9c91
commit 5382b9e3df
No known key found for this signature in database
GPG key ID: 22CBF5249D4B4D59
23 changed files with 16 additions and 32 deletions

View file

@ -13,5 +13,4 @@ mkDerivation {
ki18n kio kwindowsystem plasma-framework kcoreaddons kdbusaddons kded ki18n kio kwindowsystem plasma-framework kcoreaddons kdbusaddons kded
kiconthemes knotifications kwidgetsaddons kiconthemes knotifications kwidgetsaddons
]; ];
meta.broken = lib.versionOlder qtbase.version "5.15.0";
} }

View file

@ -30,6 +30,13 @@ existing packages here and modify it as necessary.
}: }:
let let
minQtVersion = "5.15";
broken = lib.versionOlder libsForQt5.qtbase.version minQtVersion;
maintainers = with lib.maintainers; [ ttuegel nyanloutre ];
license = with lib.licenses; [
lgpl21Plus lgpl3Plus bsd2 mit gpl2Plus gpl3Plus fdl12
];
srcs = import ./srcs.nix { srcs = import ./srcs.nix {
inherit fetchurl; inherit fetchurl;
mirror = "mirror://kde"; mirror = "mirror://kde";
@ -81,14 +88,15 @@ let
defaultSetupHook = if hasBin && hasDev then propagateBin else null; defaultSetupHook = if hasBin && hasDev then propagateBin else null;
setupHook = args.setupHook or defaultSetupHook; setupHook = args.setupHook or defaultSetupHook;
meta = { meta =
license = with lib.licenses; [ let meta = args.meta or {}; in
lgpl21Plus lgpl3Plus bsd2 mit gpl2Plus gpl3Plus fdl12 meta // {
]; homepage = meta.homepage or "http://www.kde.org";
platforms = lib.platforms.linux; license = meta.license or license;
maintainers = with lib.maintainers; [ ttuegel nyanloutre ]; maintainers = (meta.maintainers or []) ++ maintainers;
homepage = "http://www.kde.org"; platforms = meta.platforms or lib.platforms.linux;
} // (args.meta or {}); broken = meta.broken or broken;
};
in in
mkDerivation (args // { mkDerivation (args // {
name = "${name}-${version}"; name = "${name}-${version}";

View file

@ -33,7 +33,6 @@
mkDerivation { mkDerivation {
name = "discover"; name = "discover";
meta.broken = lib.versionOlder qtbase.version "5.15.0";
nativeBuildInputs = [ extra-cmake-modules gettext kdoctools python3 ]; nativeBuildInputs = [ extra-cmake-modules gettext kdoctools python3 ];
buildInputs = [ buildInputs = [
# discount is needed for libmarkdown # discount is needed for libmarkdown

View file

@ -7,7 +7,6 @@
mkDerivation { mkDerivation {
name = "kactivitymanagerd"; name = "kactivitymanagerd";
meta.broken = lib.versionOlder qtbase.version "5.15.0";
nativeBuildInputs = [ extra-cmake-modules ]; nativeBuildInputs = [ extra-cmake-modules ];
buildInputs = [ buildInputs = [
boost kconfig kcoreaddons kdbusaddons kglobalaccel ki18n kio kwindowsystem boost kconfig kcoreaddons kdbusaddons kglobalaccel ki18n kio kwindowsystem

View file

@ -5,5 +5,4 @@ mkDerivation {
nativeBuildInputs = [ extra-cmake-modules ]; nativeBuildInputs = [ extra-cmake-modules ];
buildInputs = [ qtbase ki18n ]; buildInputs = [ qtbase ki18n ];
outputs = [ "out" "dev" ]; outputs = [ "out" "dev" ];
meta.broken = lib.versionOlder qtbase.version "5.15.0";
} }

View file

@ -8,5 +8,4 @@ mkDerivation {
name = "kgamma5"; name = "kgamma5";
nativeBuildInputs = [ extra-cmake-modules kdoctools ]; nativeBuildInputs = [ extra-cmake-modules kdoctools ];
buildInputs = [ kconfig kconfigwidgets ki18n qtx11extras libXxf86vm ]; buildInputs = [ kconfig kconfigwidgets ki18n qtx11extras libXxf86vm ];
meta.broken = lib.versionOlder qtbase.version "5.15";
} }

View file

@ -14,5 +14,4 @@ mkDerivation {
plasma-framework plasma-workspace qtx11extras plasma-framework plasma-workspace qtx11extras
]; ];
outputs = [ "bin" "dev" "out" ]; outputs = [ "bin" "dev" "out" ];
meta.broken = lib.versionOlder qtbase.version "5.14";
} }

View file

@ -10,7 +10,6 @@
mkDerivation { mkDerivation {
name = "kinfocenter"; name = "kinfocenter";
meta.broken = lib.versionOlder qtbase.version "5.15.0";
nativeBuildInputs = [ extra-cmake-modules kdoctools ]; nativeBuildInputs = [ extra-cmake-modules kdoctools ];
buildInputs = [ buildInputs = [
kcmutils kcompletion kconfig kconfigwidgets kcoreaddons kdbusaddons kcmutils kcompletion kconfig kconfigwidgets kcoreaddons kdbusaddons

View file

@ -8,7 +8,6 @@
mkDerivation { mkDerivation {
name = "kscreenlocker"; name = "kscreenlocker";
meta.broken = lib.versionOlder qtbase.version "5.15.0";
nativeBuildInputs = [ extra-cmake-modules kdoctools ]; nativeBuildInputs = [ extra-cmake-modules kdoctools ];
buildInputs = [ buildInputs = [
kcmutils kcrash kdeclarative kdelibs4support kglobalaccel kidletime kwayland kcmutils kcrash kdeclarative kdelibs4support kglobalaccel kidletime kwayland

View file

@ -8,5 +8,4 @@ mkDerivation {
name = "ksshaskpass"; name = "ksshaskpass";
nativeBuildInputs = [ extra-cmake-modules kdoctools ]; nativeBuildInputs = [ extra-cmake-modules kdoctools ];
buildInputs = [ kcoreaddons ki18n kwallet kwidgetsaddons qtbase ]; buildInputs = [ kcoreaddons ki18n kwallet kwidgetsaddons qtbase ];
meta.broken = lib.versionOlder qtbase.version "5.15.0";
} }

View file

@ -9,7 +9,6 @@
mkDerivation { mkDerivation {
name = "ksysguard"; name = "ksysguard";
meta.broken = lib.versionOlder qtbase.version "5.15.0";
nativeBuildInputs = [ extra-cmake-modules kdoctools ]; nativeBuildInputs = [ extra-cmake-modules kdoctools ];
buildInputs = [ buildInputs = [
kconfig kcoreaddons kitemviews knewstuff kiconthemes libksysguard kconfig kcoreaddons kitemviews knewstuff kiconthemes libksysguard

View file

@ -8,5 +8,4 @@ mkDerivation {
name = "kwayland-integration"; name = "kwayland-integration";
nativeBuildInputs = [ extra-cmake-modules ]; nativeBuildInputs = [ extra-cmake-modules ];
buildInputs = [ kguiaddons kidletime kwindowsystem kwayland qtbase ]; buildInputs = [ kguiaddons kidletime kwindowsystem kwayland qtbase ];
meta.broken = lib.versionOlder qtbase.version "5.15.0";
} }

View file

@ -15,5 +15,4 @@ mkDerivation {
kwayland plasma-wayland-protocols wayland wayland-protocols kwayland plasma-wayland-protocols wayland wayland-protocols
]; ];
patches = [ ./0001-Use-KDE_INSTALL_TARGETS_DEFAULT_ARGS-when-installing.patch ]; patches = [ ./0001-Use-KDE_INSTALL_TARGETS_DEFAULT_ARGS-when-installing.patch ];
meta.broken = lib.versionOlder qtbase.version "5.15.0";
} }

View file

@ -8,5 +8,4 @@ mkDerivation {
name = "kwrited"; name = "kwrited";
nativeBuildInputs = [ extra-cmake-modules ]; nativeBuildInputs = [ extra-cmake-modules ];
buildInputs = [ kcoreaddons kdbusaddons ki18n knotifications kpty qtbase ]; buildInputs = [ kcoreaddons kdbusaddons ki18n knotifications kpty qtbase ];
meta.broken = lib.versionOlder qtbase.version "5.15.0";
} }

View file

@ -6,9 +6,6 @@
mkDerivation { mkDerivation {
name = "libkscreen"; name = "libkscreen";
meta = {
broken = lib.versionOlder qtbase.version "5.15.0";
};
nativeBuildInputs = [ extra-cmake-modules ]; nativeBuildInputs = [ extra-cmake-modules ];
buildInputs = [ kwayland libXrandr qtx11extras ]; buildInputs = [ kwayland libXrandr qtx11extras ];
outputs = [ "out" "dev" ]; outputs = [ "out" "dev" ];

View file

@ -8,7 +8,6 @@
mkDerivation { mkDerivation {
name = "libksysguard"; name = "libksysguard";
meta.broken = lib.versionOlder qtbase.version "5.14.0";
patches = [ patches = [
./0001-qdiriterator-follow-symlinks.patch ./0001-qdiriterator-follow-symlinks.patch
]; ];

View file

@ -7,7 +7,6 @@
mkDerivation { mkDerivation {
name = "milou"; name = "milou";
meta.broken = lib.versionOlder qtbase.version "5.15.0";
nativeBuildInputs = [ extra-cmake-modules ]; nativeBuildInputs = [ extra-cmake-modules ];
buildInputs = [ buildInputs = [
kcoreaddons kdeclarative ki18n kitemmodels krunner kservice plasma-framework kcoreaddons kdeclarative ki18n kitemmodels krunner kservice plasma-framework

View file

@ -11,7 +11,6 @@
mkDerivation { mkDerivation {
name = "plasma-nm"; name = "plasma-nm";
meta.broken = lib.versionOlder qtbase.version "5.15.0";
nativeBuildInputs = [ extra-cmake-modules kdoctools qttools ]; nativeBuildInputs = [ extra-cmake-modules kdoctools qttools ];
buildInputs = [ buildInputs = [
kdeclarative kdelibs4support ki18n kio kwindowsystem plasma-framework kdeclarative kdelibs4support ki18n kio kwindowsystem plasma-framework

View file

@ -17,5 +17,4 @@ mkDerivation {
qtbase qtdeclarative qtbase qtdeclarative
]; ];
meta.broken = lib.versionOlder qtbase.version "5.15.0";
} }

View file

@ -16,7 +16,6 @@
mkDerivation { mkDerivation {
name = "plasma-systemmonitor"; name = "plasma-systemmonitor";
meta.broken = lib.versionOlder qtbase.version "5.15.0";
nativeBuildInputs = [ extra-cmake-modules kdoctools ]; nativeBuildInputs = [ extra-cmake-modules kdoctools ];
buildInputs = [ buildInputs = [
qtquickcontrols2 qtquickcontrols2

View file

@ -12,5 +12,4 @@ mkDerivation {
knotifications kwindowsystem polkit-qt knotifications kwindowsystem polkit-qt
]; ];
outputs = [ "out" "dev" ]; outputs = [ "out" "dev" ];
meta.broken = lib.versionOlder qtbase.version "5.15.0";
} }

View file

@ -18,7 +18,6 @@
mkDerivation { mkDerivation {
name = "sddm-kcm"; name = "sddm-kcm";
meta.broken = lib.versionOlder qtbase.version "5.15.0";
nativeBuildInputs = [ extra-cmake-modules shared-mime-info ]; nativeBuildInputs = [ extra-cmake-modules shared-mime-info ];
buildInputs = [ buildInputs = [
libpthreadstubs libpthreadstubs

View file

@ -9,7 +9,6 @@
mkDerivation { mkDerivation {
name = "xdg-desktop-portal-kde"; name = "xdg-desktop-portal-kde";
meta.broken = lib.versionOlder qtbase.version "5.15.0";
nativeBuildInputs = [ extra-cmake-modules gettext kdoctools ]; nativeBuildInputs = [ extra-cmake-modules gettext kdoctools ];
buildInputs = [ buildInputs = [
cups epoxy mesa pcre pipewire wayland wayland-protocols cups epoxy mesa pcre pipewire wayland wayland-protocols