From: Jose V Beneyto Date: Thu, 17 Dec 2009 12:45:10 +0000 (+0100) Subject: xorg-libxft: initial import (verified compilation) X-Git-Url: http://gitweb/?a=commitdiff_plain;h=394e26c7e7308dbd05146e0d19fd6cdbf300222b;p=attic%2Fports%2Fxorg-cross.git xorg-libxft: initial import (verified compilation) --- diff --git a/xorg-libxft/.footprint b/xorg-libxft/.footprint new file mode 100644 index 0000000..a874e39 --- /dev/null +++ b/xorg-libxft/.footprint @@ -0,0 +1,21 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/bin/ +-rwxr-xr-x root/root usr/bin/xft-config +drwxr-xr-x root/root usr/include/ +drwxr-xr-x root/root usr/include/X11/ +drwxr-xr-x root/root usr/include/X11/Xft/ +-rw-r--r-- root/root usr/include/X11/Xft/Xft.h +-rw-r--r-- root/root usr/include/X11/Xft/XftCompat.h +drwxr-xr-x root/root usr/lib/ +-rw-r--r-- root/root usr/lib/libXft.a +-rwxr-xr-x root/root usr/lib/libXft.la +lrwxrwxrwx root/root usr/lib/libXft.so -> libXft.so.2.1.13 +lrwxrwxrwx root/root usr/lib/libXft.so.2 -> libXft.so.2.1.13 +-rwxr-xr-x root/root usr/lib/libXft.so.2.1.13 +drwxr-xr-x root/root usr/lib/pkgconfig/ +-rw-r--r-- root/root usr/lib/pkgconfig/xft.pc +drwxr-xr-x root/root usr/man/ +drwxr-xr-x root/root usr/man/man1/ +-rw-r--r-- root/root usr/man/man1/xft-config.1.gz +drwxr-xr-x root/root usr/man/man3/ +-rw-r--r-- root/root usr/man/man3/Xft.3.gz diff --git a/xorg-libxft/.md5sum b/xorg-libxft/.md5sum new file mode 100644 index 0000000..794fc18 --- /dev/null +++ b/xorg-libxft/.md5sum @@ -0,0 +1 @@ +254e62a233491e0e1251636536163e20 libXft-2.1.14.tar.bz2 diff --git a/xorg-libxft/Pkgfile b/xorg-libxft/Pkgfile new file mode 100644 index 0000000..9769569 --- /dev/null +++ b/xorg-libxft/Pkgfile @@ -0,0 +1,32 @@ +# Depends on: xorg-libxrender, freetype, fontconfig +# Description: X font rendering client library +# URL: http://xorg.freedesktop.org +# Maintainer: Tilman Sauerbeck tilman at crux dot nu +# Arch Maintainer System Team crux-arm at mikeux dot dyndns dot org +# Depends on: xorg-libxrender freetype fontconfig + +name=xorg-libxft +version=2.1.14 +release=1 +source=(http://xorg.freedesktop.org/releases/individual/lib/libXft-$version.tar.bz2) + +build() { + cd libXft-$version + + export X11_LIBS="-L$CLFS/usr/lib -lpthread-stubs" + export X11_CFLAGS="-I$CLFS/usr/include -I$CLFS/usr/include/X11 -I$CLFS/usr/include/X11/extensions" + export XRENDER_LIBS="$X11_LIBS" + export XRENDER_CFLAGS="$X11_CFLAGS" + export FREETYPE_LIBS="$X11_LIBS -lfreetype -lz" + export FREETYPE_CFLAGS="$X11_CFLAGS -I$CLFS/usr/include/freetype2" + export FONTCONFIG_LIBS="$X11_LIBS -lfontconfig" + export FONTCONFIG_CFLAGS="$X11_CFLAGS" + + ./configure --build=$CHOST \ + --host=$CTARGET \ + --prefix=/usr \ + --mandir=/usr/man + + make + make DESTDIR=$PKG install +}