xorg-video-unichrome: Update git url, fix build with new xorg

This commit is contained in:
Shea Levy 2012-07-15 22:40:52 -04:00
parent 7d64f1a93e
commit a55bcacbe2

View File

@ -1,24 +1,25 @@
{stdenv, fetchgit, pkgconfig, fontsproto, libdrm, libpciaccess, randrproto, renderproto,
videoproto, libX11,
xextproto, xf86driproto, xorgserver, xproto, libXvMC, glproto, mesa, automake,
autoconf, libtool, libXext, utilmacros}:
autoconf, libtool, libXext, utilmacros, pixman}:
stdenv.mkDerivation {
name = "xf86-video-unichrome-git";
src = fetchgit {
url = "git://anongit.freedesktop.org/~libv/xf86-video-unichrome";
url = "git://people.freedesktop.org/~libv/xf86-video-unichrome";
md5 = "6e5e0f8ee204af2385a02e502d1ca8f1";
rev = "6260e0fc9f0754d101dda014a8f4b5f76f58e978";
};
buildInputs = [pkgconfig fontsproto libdrm libpciaccess randrproto renderproto
videoproto libX11 libXext xextproto xf86driproto xorgserver xproto libXvMC
glproto mesa automake autoconf libtool libXext utilmacros ];
glproto mesa automake autoconf libtool libXext utilmacros pixman ];
preConfigure = "chmod +x autogen.sh";
prePatch = ''
sed s,/bin/bash,/bin/sh, -i git_version.sh
'';
patches = [ ./configure.patch ];
configureScript = "./autogen.sh";
CFLAGS="-I${pixman}/include/pixman-1";
meta = {
homepage = "http://unichrome.sourceforge.net/";