|
root / base / xinit
xinit Plain Text 49 lines 1.4 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
47
48
#!/bin/sh
# Build script for xinit (autotools, Template A verbatim).
# Not strictly required for the headless Xvfb+x11vnc launch path but it's
# the standard X launcher (xinit + startx) and cheap to build.
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:$PKG_CONFIG_PATH"
export CFLAGS="${CFLAGS} -I$PREFIX/include -D__EXTENSIONS__ -D_POSIX_PTHREAD_SEMANTICS"
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"
# xinit - X Window System initializer (xinit + startx)
# https://gitlab.freedesktop.org/xorg/app/xinit

[package]
name = "xinit"
version = "1.4.4"
release = 1
description = "X Window System initializer (xinit/startx)"
url = "https://xorg.freedesktop.org/releases/individual/app/"
license = "MIT"
maintainer = "Chris Tusa <chris.tusa@leafscale.com>"
arch = "x86_64"

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

[[source]]
file = "xinit-1.4.4.tar.xz"
urls = ["https://xorg.freedesktop.org/releases/individual/app/xinit-1.4.4.tar.xz"]
checksum = "40a47c7a164c7f981ce3787b4b37f7e411fb43231dcde543d70094075dacfef9"

[build]
parallel = true