|
root / base / xorgproto
xorgproto Plain Text 40 lines 1.1 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
#!/bin/sh
# Build script for xorgproto (Meson, Template B). Headers/pkgconfig only.
set -e
cd "$SRCDIR"

export PKG_CONFIG_PATH="$PREFIX/lib/pkgconfig:$PREFIX/share/pkgconfig:$PKG_CONFIG_PATH"

meson setup build \
    --prefix="$PREFIX" \
    --libdir=lib \
    --buildtype=release \
    -Ddefault_library=shared

ninja -C build -j${JOBS:-1}
DESTDIR="$PKGDIR" ninja -C build install
# xorgproto - X.Org protocol headers (all X protocol/extension headers)
# https://gitlab.freedesktop.org/xorg/proto/xorgproto

[package]
name = "xorgproto"
version = "2025.1"
release = 1
description = "X.Org protocol headers (xproto and all extension protocol headers)"
url = "https://xorg.freedesktop.org/releases/individual/proto/"
license = "MIT"
maintainer = "Chris Tusa <chris.tusa@leafscale.com>"
arch = "x86_64"

[dependencies]
runtime = []
build = ["util-macros"]

[[source]]
file = "xorgproto-2025.1.tar.xz"
urls = ["https://xorg.freedesktop.org/releases/individual/proto/xorgproto-2025.1.tar.xz"]
checksum = "56898c716c0578df8a2d828c9c3e5c528277705c0484381a81960fe1a67668e8"

[build]
parallel = true