[arch-commits] Commit in xorg-xwayland/repos (testing-x86_64 testing-x86_64/PKGBUILD)

Andreas Radke andyrtr at archlinux.org
Wed Feb 17 12:27:31 UTC 2021


    Date: Wednesday, February 17, 2021 @ 12:27:31
  Author: andyrtr
Revision: 408365

archrelease: copy trunk to testing-x86_64

Added:
  xorg-xwayland/repos/testing-x86_64/
  xorg-xwayland/repos/testing-x86_64/PKGBUILD
    (from rev 408364, xorg-xwayland/trunk/PKGBUILD)

----------+
 PKGBUILD |   61 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 61 insertions(+)

Copied: xorg-xwayland/repos/testing-x86_64/PKGBUILD (from rev 408364, xorg-xwayland/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2021-02-17 12:27:31 UTC (rev 408365)
@@ -0,0 +1,61 @@
+# Maintainer: AndyRTR <andyrtr at archlinux.org>
+
+pkgname=xorg-xwayland
+
+# https://gitlab.freedesktop.org/xorg/xserver/-/commits/xwayland-21.1
+_commit=fdc61c5a3cc2637a52928c8e2fd4d50118c7ffea # xwayland 21.1 branch
+
+pkgver=1.20.0.r853.gfdc61c5a3
+pkgrel=1
+arch=('x86_64')
+license=('custom')
+groups=('xorg')
+url="https://xorg.freedesktop.org"
+pkgdesc="run X clients under wayland"
+depends=('nettle' 'libepoxy' 'systemd-libs' 'libxfont2' 
+         'pixman' 'xorg-server-common')
+makedepends=('meson' 'git' 
+             'xorgproto' 'xtrans' 'libxkbfile' 'dbus'
+             'xorg-font-util'
+             'wayland' 'wayland-protocols'
+             'libdrm' 'mesa-libgl'
+             'systemd'
+             'egl-wayland'
+)
+source=("git+https://gitlab.freedesktop.org/xorg/xserver#commit=${_commit}")
+sha256sums=('SKIP')
+provides=('xorg-server-xwayland')
+conflicts=('xorg-server-xwayland')
+replaces=('xorg-server-xwayland')
+
+pkgver() {
+  cd xserver
+  git describe --tags | sed 's/^xorg.server.//;s/\([^-]*-g\)/r\1/;s/-/./g'
+}
+
+build() {
+  arch-meson xserver build \
+    -D ipv6=true \
+    -D xvfb=false \
+    -D xcsecurity=true \
+    -D xwayland_eglstream=true \
+    -D glamor=true \
+    -D xkb_dir=/usr/share/X11/xkb \
+    -D xkb_output_dir=/var/lib/xkb
+
+  # Print config
+  meson configure build
+  ninja -C build
+}
+
+package() {
+
+  # bin + manpage + .pc file
+  install -m755 -Dt "${pkgdir}"/usr/bin build/hw/xwayland/Xwayland
+  install -m644 -Dt "${pkgdir}"/usr/share/man/man1 build/hw/xwayland/Xwayland.1
+  install -m644 -Dt "${pkgdir}"/usr/lib/pkgconfig build/hw/xwayland/xwayland.pc
+
+  # license
+  install -m644 -Dt "${pkgdir}/usr/share/licenses/${pkgname}" xserver/COPYING
+}
+



More information about the arch-commits mailing list