26 lines
710 B
Plaintext
26 lines
710 B
Plaintext
# Description: Headers defining the core protocol and extensions for the X Window System
|
|
# URL: http://xorg.freedesktop.org
|
|
# Maintainer: CRUX Xorg Team, xorg-ports at crux dot nu
|
|
# Depends on: meson ninja
|
|
|
|
name=xorg-xorgproto
|
|
version=2022.2
|
|
release=1
|
|
source=(https://xorg.freedesktop.org/archive/individual/proto/xorgproto-$version.tar.xz)
|
|
|
|
build() {
|
|
meson setup xorgproto-$version build \
|
|
--prefix=/usr \
|
|
--buildtype=plain \
|
|
--wrap-mode nodownload \
|
|
-D b_lto=true \
|
|
-D b_pie=true \
|
|
-D legacy=true
|
|
meson compile -C build
|
|
DESTDIR=$PKG meson install -C build
|
|
|
|
rm $PKG/usr/include/X11/extensions/{apple,windows}*
|
|
rm $PKG/usr/share/pkgconfig/{apple,windows}wmproto.pc
|
|
rm -r $PKG/usr/share/doc
|
|
}
|