|
root / base / libXft
libXft Plain Text 47 lines 1.3 KB
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
#!/bin/sh
# Build script for libXft (autotools, Template A).
set -e
cd "$SRCDIR"

if [ -f configure ]; then
    sed -i -E 's/(kopensolaris\*-gnu)([^)]*\))/\1 | hammerhead*\2/' configure
fi

export PKG_CONFIG_PATH="$PREFIX/lib/pkgconfig:$PREFIX/share/pkgconfig:/usr/lib/pkgconfig:$PKG_CONFIG_PATH"
export CFLAGS="${CFLAGS} -I$PREFIX/include -D__EXTENSIONS__"
export LDFLAGS="${LDFLAGS} -L$PREFIX/lib -R$PREFIX/lib"

./configure \
    --prefix="$PREFIX" \
    --build="$BUILD_TRIPLE" \
    --host="$BUILD_TRIPLE" \
    --sysconfdir="$SYSCONFDIR" \
    --disable-static

gmake -j${JOBS:-1}
gmake install DESTDIR="$PKGDIR"
# libXft - client-side font rendering (Xft) for X11
# https://gitlab.freedesktop.org/xorg/lib/libxft

[package]
name = "libXft"
version = "2.3.9"
release = 1
description = "Xft client-side font rendering library"
url = "https://xorg.freedesktop.org/releases/individual/lib/"
license = "MIT"
maintainer = "Chris Tusa <chris.tusa@leafscale.com>"
arch = "x86_64"

[dependencies]
runtime = ["libX11", "libXrender", "freetype", "fontconfig"]
build = ["libX11", "libXrender", "freetype", "fontconfig", "xorgproto", "util-macros"]

[[source]]
file = "libXft-2.3.9.tar.xz"
urls = ["https://xorg.freedesktop.org/releases/individual/lib/libXft-2.3.9.tar.xz"]
checksum = "60a25b78945ed6932635b3bb1899a517d31df7456e69867ffba27f89ff3976f5"

[build]
parallel = true