diff options
| author | zorz <zorz@opentux.org> | 2026-02-27 17:37:23 +0200 |
|---|---|---|
| committer | zorz <zorz@opentux.org> | 2026-02-27 17:37:23 +0200 |
| commit | de196c8550dfd3317043fcc71de1506ac076e14f (patch) | |
| tree | 1e59293fa24652b1f7c96a95d522afd0590589bc /x11-xwayland/MAKEPKG | |
| parent | 83404b410d422331951d406323962f314f9546ee (diff) | |
| download | xorg-de196c8550dfd3317043fcc71de1506ac076e14f.tar.gz xorg-de196c8550dfd3317043fcc71de1506ac076e14f.tar.xz | |
Initial commit: xorg/x11 ports
Diffstat (limited to 'x11-xwayland/MAKEPKG')
| -rw-r--r-- | x11-xwayland/MAKEPKG | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/x11-xwayland/MAKEPKG b/x11-xwayland/MAKEPKG new file mode 100644 index 0000000..a011764 --- /dev/null +++ b/x11-xwayland/MAKEPKG | |||
| @@ -0,0 +1,34 @@ | |||
| 1 | #!/bin/mkpkg | ||
| 2 | # *** OpenTUX *** | ||
| 3 | # description: X server for Wayland compatibility | ||
| 4 | # url: https://wayland.freedesktop.org/ | ||
| 5 | |||
| 6 | name=x11-xwayland | ||
| 7 | version=24.1.9 | ||
| 8 | release=1 | ||
| 9 | depends=(wayland nettle libxfont2 libxres libxshmfence | ||
| 10 | libxtst libpixman xkbcomp) | ||
| 11 | makedeps=(meson) | ||
| 12 | source=(https://xorg.freedesktop.org/releases/individual/xserver/xwayland-$version.tar.xz | ||
| 13 | 2113.patch) | ||
| 14 | |||
| 15 | patch() { | ||
| 16 | cd xwayland-$version | ||
| 17 | patch -p1 -i $SRC/2113.patch | ||
| 18 | } | ||
| 19 | |||
| 20 | build() { | ||
| 21 | meson setup xwayland-$version build \ | ||
| 22 | --prefix=/usr \ | ||
| 23 | --buildtype=plain \ | ||
| 24 | -D xkb_dir=/usr/share/X11/xkb \ | ||
| 25 | -D xkb_output_dir=/var/lib/xkb | ||
| 26 | |||
| 27 | meson compile -C build | ||
| 28 | DESTDIR=$PKG meson install -C build | ||
| 29 | |||
| 30 | rm -f $PKG/usr/lib/xorg/protocol.txt | ||
| 31 | rm -f $PKG/usr/share/man/man1/Xserver.1 | ||
| 32 | } | ||
| 33 | |||
| 34 | # vim: filetype=sh | ||