okular: avoid accidental Qt 5 dependency

This commit is contained in:
Thomas Tuegel 2016-07-29 20:00:07 -05:00
parent 4449ecb617
commit 0925700688
2 changed files with 17 additions and 33 deletions

View File

@ -54,7 +54,9 @@ let
libkexiv2 = callPackage ./libkexiv2.nix {};
libkipi = callPackage ./libkipi.nix {};
libkomparediff2 = callPackage ./libkomparediff2.nix {};
okular = callPackage ./okular.nix {};
okular = callPackage ./okular.nix {
inherit (srcs.okular) src version;
};
print-manager = callPackage ./print-manager.nix {};
spectacle = callPackage ./spectacle.nix {};

View File

@ -1,40 +1,22 @@
{ kdeApp
, lib
, automoc4
, cmake
, perl
, pkgconfig
, kdelibs
, qimageblitz
, poppler_qt4
, libspectre
, libkexiv2
, djvulibre
, libtiff
, freetype
, ebook_tools
{
stdenv, lib,
src, version,
automoc4, cmake, perl, pkgconfig, kdelibs, qimageblitz,
poppler_qt4, libspectre, libkexiv2, djvulibre, libtiff, freetype,
ebook_tools
}:
kdeApp {
name = "okular";
nativeBuildInputs = [
automoc4
cmake
perl
pkgconfig
];
stdenv.mkDerivation {
name = "okular-${version}";
inherit src;
nativeBuildInputs = [ automoc4 cmake perl pkgconfig ];
buildInputs = [
kdelibs
qimageblitz
poppler_qt4
libspectre
libkexiv2
djvulibre
libtiff
freetype
ebook_tools
kdelibs qimageblitz poppler_qt4 libspectre libkexiv2 djvulibre libtiff
freetype ebook_tools
];
meta = {
platforms = lib.platforms.linux;
homepage = "http://www.kde.org";
license = with lib.licenses; [ gpl2 lgpl21 fdl12 bsd3 ];
maintainers = [ lib.maintainers.ttuegel ];
};