2016-04-04 18:05:01 +02:00
|
|
|
{ stdenv, fetchurl, libjpeg, libexif, libungif, libtiff, libpng, libwebp, libdrm
|
2016-11-27 17:07:01 +01:00
|
|
|
, pkgconfig, freetype, fontconfig, which, imagemagick, curl, sane-backends, libXpm
|
2018-03-18 23:43:44 +01:00
|
|
|
, epoxy, poppler, mesa_noglu, lirc }:
|
2009-08-04 09:14:43 +02:00
|
|
|
|
2011-01-16 17:28:08 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2017-03-21 13:35:57 +01:00
|
|
|
name = "fbida-2.13";
|
2011-01-16 17:28:08 +01:00
|
|
|
|
2009-08-04 09:14:43 +02:00
|
|
|
src = fetchurl {
|
2011-01-16 17:28:08 +01:00
|
|
|
url = "http://dl.bytesex.org/releases/fbida/${name}.tar.gz";
|
2017-03-21 13:35:57 +01:00
|
|
|
sha256 = "01yv4qqqfbz9v281y2jlxhxdym3ricyb0zkqkgp5b40qrmfik1x8";
|
2009-08-04 09:14:43 +02:00
|
|
|
};
|
|
|
|
|
2012-12-28 19:20:09 +01:00
|
|
|
nativeBuildInputs = [ pkgconfig which ];
|
2018-03-18 23:43:44 +01:00
|
|
|
buildInputs = [
|
|
|
|
libexif libjpeg libpng libungif freetype fontconfig libtiff libwebp
|
|
|
|
imagemagick curl sane-backends libdrm libXpm epoxy poppler lirc
|
|
|
|
mesa_noglu
|
|
|
|
];
|
2011-01-16 17:28:08 +01:00
|
|
|
|
2017-07-31 11:46:48 +02:00
|
|
|
makeFlags = [ "prefix=$(out)" "verbose=yes" "STRIP=" ];
|
2011-01-16 17:28:08 +01:00
|
|
|
|
2012-03-04 09:53:46 +01:00
|
|
|
patchPhase =
|
|
|
|
''
|
|
|
|
sed -e 's@ cpp\>@ gcc -E -@' -i GNUmakefile
|
|
|
|
'';
|
|
|
|
|
2015-05-31 15:54:28 +02:00
|
|
|
meta = with stdenv.lib; {
|
2011-01-16 17:28:08 +01:00
|
|
|
description = "Image viewing and manipulation programs";
|
2015-05-31 15:54:28 +02:00
|
|
|
homepage = https://www.kraxel.org/blog/linux/fbida/;
|
|
|
|
license = licenses.gpl2;
|
|
|
|
maintainers = with maintainers; [ pSub ];
|
2016-11-27 17:07:01 +01:00
|
|
|
platforms = platforms.linux;
|
2009-08-04 09:14:43 +02:00
|
|
|
};
|
|
|
|
}
|