me

/

vinix-ports Public
382 commits 0 issues 0 pull requests 1 contributor Discussions Projects Snippets LOC history Platform CI

Build Xlib against the signed Vinix SDK

diviocity committed 6 days ago · f81cf04379dba99d6130ddea0be497cb5bd081b1 View patch
Unverified signature 1 files changed +27 -0
libx11/PKGBUILD.vile new file +27 -0

@@ -0,0 +1,27 @@

1+defpkgbuild(libx11,

2+ #:pkgname, "libx11",

3+ #:pkgver, "1.8.10",

4+ #:pkgrel, 1,

5+ #:pkgdesc, "X11 client-side library",

6+ #:arch, [#:x86-64, #:aarch64],

7+ #:license, "X11",

8+ #:url, "https://www.x.org/",

9+ #:depends, ["libxcb", "xorgproto"],

10+ #:makedepends, ["xtrans"],

11+ #:source, ["https://xorg.freedesktop.org/archive/individual/lib/libX11-1.8.10.tar.xz"],

12+ #:sha256sums, ["2b3b3dad9347db41dca56beb7db5878f283bde1142f04d9f8e478af435dfdc53"],

13+

14+ #:build, fn() {

15+ run("vinix-configure", "libX11-1.8.10/configure", "--disable-xf86bigfont", "--disable-specs", "--disable-malloc0returnsnull")

16+ run("make")

17+ },

18+ #:check, fn() {

19+ run("test", "-s", "src/.libs/libX11.so")

20+ run("readelf", "-d", "src/.libs/libX11.so")

21+ },

22+ #:package, fn() {

23+ run("make", "install", string-append("DESTDIR=", pkgdir()))

24+ run("find", pkgdir(), "-name", "*.la", "-delete")

25+ run("install", "-Dm644", "libX11-1.8.10/COPYING",

26+ string-append(pkgdir(), "/usr/share/licenses/libx11/COPYING"))

27+ })