2012-02-10 11:13:44 +01:00
|
|
|
{stdenv, fetchurl, djvulibre, qt4, pkgconfig }:
|
2007-11-11 17:52:29 +01:00
|
|
|
|
2012-02-10 11:13:44 +01:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "djview-4.8";
|
2007-11-11 17:52:29 +01:00
|
|
|
src = fetchurl {
|
2012-02-10 11:13:44 +01:00
|
|
|
url = "mirror://sourceforge/djvu/${name}.tar.gz";
|
|
|
|
sha256 = "17y8jvbvj98h25qwsr93v24x75famv8d0jbb0h46xjj555y6wx4c";
|
2007-11-11 17:52:29 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [djvulibre qt4];
|
|
|
|
|
2012-12-28 19:20:09 +01:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
2012-02-10 11:13:44 +01:00
|
|
|
|
|
|
|
patches = [ ./djview4-qt-4.8.patch ];
|
|
|
|
|
2011-03-10 22:39:09 +01:00
|
|
|
passthru = {
|
|
|
|
mozillaPlugin = "/lib/netscape/plugins";
|
|
|
|
};
|
|
|
|
|
2007-11-11 17:52:29 +01:00
|
|
|
meta = {
|
|
|
|
homepage = http://djvu.sourceforge.net/djview4.html;
|
|
|
|
description = "A new portable DjVu viewer and browser plugin";
|
|
|
|
license = "GPL2";
|
2010-07-05 13:09:38 +02:00
|
|
|
inherit (qt4.meta) platforms;
|
|
|
|
maintainers = [ stdenv.lib.maintainers.urkud ];
|
2007-11-11 17:52:29 +01:00
|
|
|
};
|
|
|
|
}
|