1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/applications/graphics/fbida/default.nix

35 lines
1.1 KiB
Nix
Raw Normal View History

2016-04-04 17:05:01 +01:00
{ stdenv, fetchurl, libjpeg, libexif, libungif, libtiff, libpng, libwebp, libdrm
2016-11-27 16:07:01 +00:00
, pkgconfig, freetype, fontconfig, which, imagemagick, curl, sane-backends, libXpm
2018-03-18 22:43:44 +00:00
, epoxy, poppler, mesa_noglu, lirc }:
stdenv.mkDerivation rec {
2018-07-04 20:48:48 +01:00
name = "fbida-2.14";
src = fetchurl {
url = "http://dl.bytesex.org/releases/fbida/${name}.tar.gz";
2018-07-04 20:48:48 +01:00
sha256 = "0f242mix20rgsqz1llibhsz4r2pbvx6k32rmky0zjvnbaqaw1dwm";
};
nativeBuildInputs = [ pkgconfig which ];
2018-03-18 22:43:44 +00:00
buildInputs = [
libexif libjpeg libpng libungif freetype fontconfig libtiff libwebp
imagemagick curl sane-backends libdrm libXpm epoxy poppler lirc
mesa_noglu
];
2018-07-04 20:48:48 +01:00
makeFlags = [ "prefix=$(out)" "verbose=yes" "STRIP=" "JPEG_VER=62" ];
2018-07-04 20:48:48 +01:00
patchPhase = ''
sed -e 's@ cpp\>@ gcc -E -@' -i GNUmakefile
2018-07-04 20:48:48 +01:00
sed -e 's@$(HAVE_LINUX_FB_H)@yes@' -i GNUmakefile
'';
meta = with stdenv.lib; {
description = "Image viewing and manipulation programs";
homepage = https://www.kraxel.org/blog/linux/fbida/;
license = licenses.gpl2;
maintainers = with maintainers; [ pSub ];
2016-11-27 16:07:01 +00:00
platforms = platforms.linux;
};
}