Date: Friday, December 17, 2021 @ 16:06:49
  Author: ainola
Revision: 1076359

archrelease: copy trunk to community-staging-x86_64

Added:
  wlroots/repos/community-staging-x86_64/
  wlroots/repos/community-staging-x86_64/PKGBUILD
    (from rev 1076358, wlroots/trunk/PKGBUILD)

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

Copied: wlroots/repos/community-staging-x86_64/PKGBUILD (from rev 1076358, 
wlroots/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD                           (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-12-17 16:06:49 UTC (rev 1076359)
@@ -0,0 +1,56 @@
+# Maintainer: Brett Cornwall <[email protected]>
+# Maintainer: Maxim Baz <$pkgname at maximbaz dot com>
+# Contributor: Omar Pakker
+
+pkgname=wlroots
+pkgver=0.15.0
+pkgrel=1
+license=('MIT')
+pkgdesc='Modular Wayland compositor library'
+url='https://github.com/swaywm/wlroots'
+arch=('x86_64')
+depends=(
+    'libinput'
+    'libseat.so'
+    'libxkbcommon'
+    'opengl-driver'
+    'pixman'
+    'xcb-util-errors'
+    'xcb-util-renderutil'
+    'xcb-util-wm'
+)
+makedepends=(
+    'meson'
+    'ninja'
+    'wayland-protocols'
+    'xorg-xwayland'
+)
+optdepends=(
+    'xorg-xwayland: Xwayland support'
+)
+provides=(
+    'libwlroots.so'
+)
+source=(
+    
"$pkgname-$pkgver.tar.gz::https://gitlab.freedesktop.org/wlroots/wlroots/-/archive/$pkgver/wlroots-$pkgver.tar.gz";
+    
"https://gitlab.freedesktop.org/wlroots/wlroots/-/releases/$pkgver/downloads/wlroots-$pkgver.tar.gz.sig";
+)
+sha256sums=('2921a38cea79dbb6f1da895a4dbe1faedba8d7ff2c0c2468dad94ccba12e4278'
+            'SKIP')
+validpgpkeys=(
+    '34FF9526CFEF0E97A340E2E40FDE7BE0E88F5E48' # Simon Ser
+    '9DDA3B9FA5D58DD5392C78E652CB6609B22DA89A' # Drew DeVault
+    '4100929B33EEB0FD1DB852797BC79407090047CA' # Sway signing key
+)
+
+build() {
+    # Vulkan renderer is still experimental but since mesa comes with
+    # libvulkan.so Meson autodetects this as wanting to build with Vulkan.
+    arch-meson -Drenderers=gles2 "$pkgname-$pkgver" build
+    ninja -C build
+}
+
+package() {
+    DESTDIR="$pkgdir" ninja -C build install
+    install -Dm644 "$pkgname-$pkgver/LICENSE" -t 
"$pkgdir/usr/share/licenses/$pkgname/"
+}

Reply via email to