summaryrefslogtreecommitdiff
path: root/libs/xorgproto/MAKEPKG
diff options
context:
space:
mode:
authorrawnix ports <ports@rawnix.org>2026-09-26 18:19:05 +0000
committerrawnix ports <ports@rawnix.org>2026-09-26 18:19:05 +0000
commitc82e88dd00d1b0b7fcfb4e5628d99611388cef6f (patch)
tree56d864b5a5c6c145edd96178ae219a8f90e191a6 /libs/xorgproto/MAKEPKG
downloadports-c82e88dd00d1b0b7fcfb4e5628d99611388cef6f.tar.gz
sync 2026-09-26 18:19 UTC
1672 files changed, 151396 insertions(+)
Diffstat (limited to 'libs/xorgproto/MAKEPKG')
-rw-r--r--libs/xorgproto/MAKEPKG39
1 files changed, 39 insertions, 0 deletions
diff --git a/libs/xorgproto/MAKEPKG b/libs/xorgproto/MAKEPKG
new file mode 100644
index 0000000..72cb547
--- /dev/null
+++ b/libs/xorgproto/MAKEPKG
@@ -0,0 +1,39 @@
+#!/bin/mkpkg
+# description: X.org protocol headers
+# url: https://xorg.freedesktop.org
+
+name=xorgproto
+version=2025.1
+release=1
+makedeps=(meson)
+source=(https://xorg.freedesktop.org/archive/individual/proto/xorgproto-$version.tar.xz)
+
+sha256sums=(
+ "56898c716c0578df8a2d828c9c3e5c528277705c0484381a81960fe1a67668e8"
+)
+
+build() {
+ meson setup xorgproto-$version build \
+ --prefix=/usr \
+ --buildtype=plain \
+ -D legacy=true
+
+ meson compile -C build
+ DESTDIR=$PKG meson install -C build
+
+ # Remove platform-specific headers
+ rm -f $PKG/usr/include/X11/extensions/apple*
+ rm -f $PKG/usr/include/X11/extensions/windows*
+ rm -f $PKG/usr/share/pkgconfig/apple*
+ rm -f $PKG/usr/share/pkgconfig/windows*
+ rm -f $PKG/usr/include/X11/extensions/vldXvMC.h
+ rm -f $PKG/usr/include/X11/extensions/XKBgeom.h
+ rm -rf $PKG/usr/share/doc
+}
+
+signify() {
+ untrusted comment: public key
+ RWTZ9IduCSQ/mL8337TEUinPwT92xFEUpD92hkS7IxcOnzTt9QdpohT3
+}
+
+# vim: filetype=sh