Merge pull request #1026 from coroa/fbreader
Add Fbreader, an e-book reader for Linux
This commit is contained in:
commit
920b0d910c
|
@ -0,0 +1,34 @@
|
|||
{ stdenv, fetchurl, pkgconfig, bzip2, curl, expat, fribidi
|
||||
, libunibreak, qt4, sqlite, zlib }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "fbreader-0.99.4";
|
||||
|
||||
src = fetchurl {
|
||||
url = http://fbreader.org/files/desktop/fbreader-sources-0.99.4.tgz;
|
||||
sha256 = "1sdq3vvwkq4bkyrvh0p884d66gaddz8hlab3m798ji9ixbak2z1x";
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
pkgconfig bzip2 curl expat fribidi libunibreak
|
||||
qt4 sqlite zlib
|
||||
];
|
||||
|
||||
makeFlags = "INSTALLDIR=$(out)";
|
||||
|
||||
patchPhase = ''
|
||||
# don't try to use ccache
|
||||
substituteInPlace makefiles/arch/desktop.mk \
|
||||
--replace "CCACHE = " "# CCACHE = "
|
||||
|
||||
substituteInPlace fbreader/desktop/Makefile \
|
||||
--replace "/usr/share" "$out/share"
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "An e-book reader for Linux";
|
||||
homepage = http://www.fbreader.org/;
|
||||
license = "GPL";
|
||||
maintainer = [ stdenv.lib.maintainers.coroa ];
|
||||
};
|
||||
}
|
|
@ -0,0 +1,18 @@
|
|||
{ stdenv, fetchurl }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "libunibreak-${version}";
|
||||
version = "1.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/vimgadgets/libunibreak/${version}/${name}.tar.gz";
|
||||
sha256 = "0rsivyxnp9nfngf83fiy4v58s5mgdhcjz75nv5nyhxwxnjq35d25";
|
||||
};
|
||||
|
||||
meta = {
|
||||
homepage = http://vimgadgets.sourceforge.net/libunibreak/;
|
||||
description = "A library implementing a line breaking algorithm as described in Unicode 6.0.0 Standard";
|
||||
license = "ZLIB";
|
||||
maintainer = [ stdenv.lib.maintainers.coroa ];
|
||||
};
|
||||
}
|
|
@ -20,6 +20,7 @@
|
|||
bodil = "Bodil Stokke <nix@bodil.org>";
|
||||
chaoflow = "Florian Friesdorf <flo@chaoflow.net>";
|
||||
coconnor = "Corey O'Connor <coreyoconnor@gmail.com>";
|
||||
coroa = "Jonas Hörsch <jonas@chaoflow.net>";
|
||||
edwtjo = "Edward Tjörnhammar <ed@cflags.cc>";
|
||||
eelco = "Eelco Dolstra <eelco.dolstra@logicblox.com>";
|
||||
ertes = "Ertugrul Söylemez <es@ertes.de>";
|
||||
|
|
|
@ -4973,6 +4973,8 @@ let
|
|||
|
||||
libungif = callPackage ../development/libraries/giflib/libungif.nix { };
|
||||
|
||||
libunibreak = callPackage ../development/libraries/libunibreak/default.nix { };
|
||||
|
||||
libunique = callPackage ../development/libraries/libunique/default.nix { };
|
||||
|
||||
liburcu = callPackage ../development/libraries/liburcu { };
|
||||
|
@ -7647,6 +7649,8 @@ let
|
|||
|
||||
fbpanel = callPackage ../applications/window-managers/fbpanel { };
|
||||
|
||||
fbreader = callPackage ../applications/misc/fbreader { };
|
||||
|
||||
fetchmail = import ../applications/misc/fetchmail {
|
||||
inherit stdenv fetchurl openssl;
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue