Update directfb
svn path=/nixpkgs/trunk/; revision=18158
This commit is contained in:
parent
3be216a703
commit
661f082d47
@ -1,17 +1,29 @@
|
|||||||
{stdenv, fetchurl, perl, zlib, libjpeg, freetype,
|
{stdenv, fetchurl, perl, zlib, libjpeg, freetype,
|
||||||
SDL, libX11, xproto, xextproto, libXext, libpng}:
|
SDL, libX11, xproto, xextproto, libXext, libpng,
|
||||||
|
renderproto, libXrender, giflib}:
|
||||||
|
let s = import ./src-for-default.nix; in
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
name = "directfb-1.1.0";
|
inherit (s) name;
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = http://www.directfb.org/downloads/Core/DirectFB-1.1.0.tar.gz;
|
url = s.url;
|
||||||
sha256 = "0fpjlgsyblvcjvqk8m3va2xsyx512mf26kwfsxarj1vql9b75s0f";
|
sha256 = s.hash;
|
||||||
};
|
};
|
||||||
buildInputs = [perl zlib libjpeg freetype SDL
|
buildInputs = [perl zlib libjpeg freetype SDL
|
||||||
xproto libX11 libXext xextproto libpng];
|
xproto libX11 libXext xextproto libpng
|
||||||
|
renderproto libXrender giflib
|
||||||
|
];
|
||||||
|
NIX_LDFLAGS="-lgcc_s";
|
||||||
configureFlags = [
|
configureFlags = [
|
||||||
"--enable-sdl"
|
"--enable-sdl"
|
||||||
"--enable-zlib"
|
"--enable-zlib"
|
||||||
"--with-gfxdrivers=all"
|
"--with-gfxdrivers=all"
|
||||||
|
"--enable-devmem"
|
||||||
|
"--enable-fbdev"
|
||||||
|
"--enable-x11"
|
||||||
|
"--enable-mmx"
|
||||||
|
"--enable-sse"
|
||||||
|
"--enable-sysfs"
|
||||||
|
"--with-software"
|
||||||
|
"--with-smooth-scaling"
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
9
pkgs/development/libraries/directfb/src-for-default.nix
Normal file
9
pkgs/development/libraries/directfb/src-for-default.nix
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
rec {
|
||||||
|
version="1.4.2";
|
||||||
|
name="directfb-1.4.2";
|
||||||
|
hash="1invmmccscv44v2pa83050cv5n028q0j12cgwwpc7ac83vi4f605";
|
||||||
|
url="http://directfb.org/downloads/Core/DirectFB-1.4/DirectFB-${version}.tar.gz";
|
||||||
|
advertisedUrl="http://directfb.org/downloads/Core/DirectFB-1.4/DirectFB-1.4.2.tar.gz";
|
||||||
|
|
||||||
|
|
||||||
|
}
|
@ -0,0 +1,6 @@
|
|||||||
|
{
|
||||||
|
baseName = "directfb";
|
||||||
|
downloadPage = "http://directfb.org/index.php?path=Main%2FDownloads";
|
||||||
|
sourceRegexp = ''DirectFB-.*[.]tar[.].*'';
|
||||||
|
choiceCommand = ''tail -1'';
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user