Skip to content

Commit

Permalink
breeze-qt4: avoid accidental Qt 5 dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
ttuegel committed Jul 29, 2016
1 parent 4ab5728 commit 9ac568f
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 23 deletions.
39 changes: 17 additions & 22 deletions pkgs/desktops/kde-5/plasma/breeze-qt4.nix
@@ -1,27 +1,22 @@
{ plasmaPackage
, automoc4
, cmake
, perl
, pkgconfig
, kdelibs
, qt4
, xproto
{
stdenv, lib, src, version,
automoc4, cmake, perl, pkgconfig,
kdelibs, qt4, xproto
}:

plasmaPackage {
name = "breeze-qt4";
sname = "breeze";
buildInputs = [
kdelibs
qt4
xproto
];
nativeBuildInputs = [
automoc4
cmake
perl
pkgconfig
];
stdenv.mkDerivation {
name = "breeze-qt4-${version}";
meta = {
license = with lib.licenses; [
lgpl21Plus lgpl3Plus bsd2 mit gpl2Plus gpl3Plus fdl12
];
platforms = lib.platforms.linux;
maintainers = with lib.maintainers; [ ttuegel ];
homepage = "http://www.kde.org";
};
inherit src;
buildInputs = [ kdelibs qt4 xproto ];
nativeBuildInputs = [ automoc4 cmake perl pkgconfig ];
cmakeFlags = [
"-DUSE_KDE4=ON"
"-DQT_QMAKE_EXECUTABLE=${qt4}/bin/qmake"
Expand Down
4 changes: 3 additions & 1 deletion pkgs/desktops/kde-5/plasma/default.nix
Expand Up @@ -40,7 +40,9 @@ let

bluedevil = callPackage ./bluedevil.nix {};
breeze-gtk = callPackage ./breeze-gtk.nix {};
breeze-qt4 = callPackage ./breeze-qt4.nix {};
breeze-qt4 = callPackage ./breeze-qt4.nix {
inherit (srcs.breeze) src version;
};
breeze-qt5 = callPackage ./breeze-qt5.nix {};
breeze =
let
Expand Down

0 comments on commit 9ac568f

Please sign in to comment.