mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-11 15:27:20 +03:00
okular: avoid accidental Qt 5 dependency
This commit is contained in:
parent
4449ecb617
commit
0925700688
@ -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 {};
|
||||
|
||||
|
@ -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 ];
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user