CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
xorg-libxft: initial import (verified compilation)
authorJose V Beneyto <sepen@crux.nu>
Thu, 17 Dec 2009 12:45:10 +0000 (13:45 +0100)
committerJose V Beneyto <sepen@crux.nu>
Thu, 17 Dec 2009 12:45:10 +0000 (13:45 +0100)
xorg-libxft/.footprint [new file with mode: 0644]
xorg-libxft/.md5sum [new file with mode: 0644]
xorg-libxft/Pkgfile [new file with mode: 0644]

diff --git a/xorg-libxft/.footprint b/xorg-libxft/.footprint
new file mode 100644 (file)
index 0000000..a874e39
--- /dev/null
@@ -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 (file)
index 0000000..794fc18
--- /dev/null
@@ -0,0 +1 @@
+254e62a233491e0e1251636536163e20  libXft-2.1.14.tar.bz2
diff --git a/xorg-libxft/Pkgfile b/xorg-libxft/Pkgfile
new file mode 100644 (file)
index 0000000..9769569
--- /dev/null
@@ -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
+}