From f81cf04379dba99d6130ddea0be497cb5bd081b1 Mon Sep 17 00:00:00 2001 From: diviocity Date: Mon, 30 Nov 2026 01:08:21 +0100 Subject: [PATCH] Build Xlib against the signed Vinix SDK --- libx11/PKGBUILD.vile | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 libx11/PKGBUILD.vile diff --git a/libx11/PKGBUILD.vile b/libx11/PKGBUILD.vile new file mode 100644 index 0000000..6d98973 --- /dev/null +++ b/libx11/PKGBUILD.vile @@ -0,0 +1,27 @@ +defpkgbuild(libx11, + #:pkgname, "libx11", + #:pkgver, "1.8.10", + #:pkgrel, 1, + #:pkgdesc, "X11 client-side library", + #:arch, [#:x86-64, #:aarch64], + #:license, "X11", + #:url, "https://www.x.org/", + #:depends, ["libxcb", "xorgproto"], + #:makedepends, ["xtrans"], + #:source, ["https://xorg.freedesktop.org/archive/individual/lib/libX11-1.8.10.tar.xz"], + #:sha256sums, ["2b3b3dad9347db41dca56beb7db5878f283bde1142f04d9f8e478af435dfdc53"], + + #:build, fn() { + run("vinix-configure", "libX11-1.8.10/configure", "--disable-xf86bigfont", "--disable-specs", "--disable-malloc0returnsnull") + run("make") + }, + #:check, fn() { + run("test", "-s", "src/.libs/libX11.so") + run("readelf", "-d", "src/.libs/libX11.so") + }, + #:package, fn() { + run("make", "install", string-append("DESTDIR=", pkgdir())) + run("find", pkgdir(), "-name", "*.la", "-delete") + run("install", "-Dm644", "libX11-1.8.10/COPYING", + string-append(pkgdir(), "/usr/share/licenses/libx11/COPYING")) + }) -- 2.56.1