mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 15:56:50 +01:00
f6d4d5907e
It's broken since the directfb 1.6.3 -> 1.7.6 update, commit
bb7138e9a9
("directfb: Update to 1.7.6").
[...]
building libilixi_graphics_la-Surface.lo
CXX libilixi_graphics_la-Surface.lo
Surface.cpp: In member function 'void ilixi::Surface::setGeometry(int, int, int, int)':
Surface.cpp:157:44: error: in C++98 'r' must be initialized by constructor, not by '{...}'
DFBRectangle r = { x, y, width, height };
28 lines
868 B
Nix
28 lines
868 B
Nix
{ stdenv, fetchurl, pkgconfig, directfb, libsigcxx, libxml2, fontconfig }:
|
|
|
|
# TODO: optional deps: baresip, FusionDale, FusionSound, SaWMan, doxygen,
|
|
# Reflex, Wnn, NLS
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "ilixi-1.0.0";
|
|
|
|
src = fetchurl {
|
|
url = "http://www.directfb.org/downloads/Libs/${name}.tar.gz";
|
|
sha256 = "1kmdmqf68jiv7y6as41bhbgdy70yy2i811a3l6kccbazlzpif34v";
|
|
};
|
|
|
|
buildInputs = [ pkgconfig directfb libsigcxx libxml2 fontconfig ];
|
|
|
|
configureFlags = ''
|
|
--enable-log-debug --enable-debug --enable-trace --with-examples
|
|
'';
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "Lightweight C++ GUI toolkit for embedded Linux systems";
|
|
homepage = http://ilixi.org/;
|
|
license = licenses.lgpl3;
|
|
platforms = platforms.linux;
|
|
maintainers = [ maintainers.bjornfor ];
|
|
broken = true; # broken by the directfb 1.6.3 -> 1.7.6 update
|
|
};
|
|
}
|