3
0
Fork 0
forked from mirrors/nixpkgs

breeze-qt4: avoid accidental Qt 5 dependency

This commit is contained in:
Thomas Tuegel 2016-07-29 12:44:09 -05:00
parent 4ab5728ec9
commit 9ac568fc92
2 changed files with 20 additions and 23 deletions

View file

@ -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"

View file

@ -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