* Converted Xft.
svn path=/nixpkgs/trunk/; revision=485
This commit is contained in:
parent
f0f5b6297e
commit
deec2fbb21
10
pkgs-ng/development/libraries/Xft/builder.sh
Executable file
10
pkgs-ng/development/libraries/Xft/builder.sh
Executable file
@ -0,0 +1,10 @@
|
||||
#! /bin/sh
|
||||
|
||||
buildinputs="$pkgconfig $fontconfig $x11"
|
||||
. $stdenv/setup || exit 1
|
||||
|
||||
tar xvfz $src || exit 1
|
||||
cd xft-* || exit 1
|
||||
./configure --prefix=$out --x-includes=$x11/include --x-libraries=$x11/lib || exit 1
|
||||
make || exit 1
|
||||
make install || exit 1
|
18
pkgs-ng/development/libraries/Xft/default.fix
Normal file
18
pkgs-ng/development/libraries/Xft/default.fix
Normal file
@ -0,0 +1,18 @@
|
||||
{stdenv, fetchurl, pkgconfig, x11, fontconfig}:
|
||||
|
||||
assert !isNull pkgconfig && !isNull x11 && !isNull fontconfig;
|
||||
assert fontconfig.x11 == x11;
|
||||
|
||||
derivation {
|
||||
name = "xft-2.1.2";
|
||||
system = stdenv.system;
|
||||
builder = ./builder.sh;
|
||||
src = fetchurl {
|
||||
url = http://pdx.freedesktop.org/software/fontconfig/releases/xft-2.1.2.tar.gz;
|
||||
md5 = "defb7e801d4938b8b15a426ae57e2f3f";
|
||||
};
|
||||
stdenv = stdenv;
|
||||
pkgconfig = pkgconfig;
|
||||
x11 = x11;
|
||||
fontconfig = fontconfig;
|
||||
}
|
Loading…
Reference in New Issue
Block a user