[arch-commits] Commit in wlroots/repos (2 files)

Brett Cornwall ainola at archlinux.org
Thu Mar 12 01:09:36 UTC 2020


    Date: Thursday, March 12, 2020 @ 01:09:36
  Author: ainola
Revision: 594870

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: wlroots/repos/community-staging-x86_64/PKGBUILD (from rev 594869, wlroots/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2020-03-12 01:09:36 UTC (rev 594870)
@@ -0,0 +1,57 @@
+# Maintainer: Brett Cornwall <ainola at archlinux.org>
+# Contributor: Omar Pakker
+
+pkgname=wlroots
+pkgver=0.10.1
+pkgrel=1
+license=('MIT')
+pkgdesc='Modular Wayland compositor library'
+url='https://github.com/swaywm/wlroots'
+arch=('x86_64')
+depends=(
+    'libinput'
+    'libxkbcommon'
+    'opengl-driver'
+    'pixman'
+    'xcb-util-errors'
+    'xcb-util-image'
+    'xcb-util-wm'
+)
+makedepends=(
+    'meson'
+    'ninja'
+    'wayland-protocols'
+)
+provides=(
+    'libwlroots.so'
+)
+source=(
+    "$pkgname-$pkgver.tar.gz::https://github.com/swaywm/wlroots/archive/$pkgver.tar.gz"
+    "https://github.com/swaywm/wlroots/releases/download/$pkgver/wlroots-$pkgver.tar.gz.sig"
+)
+sha256sums=('b84baefbaff7bb04b3d2c43cbacef1a433e2cd65111f8fbf4bfc5faaa4b34b08'
+            'SKIP')
+validpgpkeys=(
+    '9DDA3B9FA5D58DD5392C78E652CB6609B22DA89A' # Drew DeVault
+    '4100929B33EEB0FD1DB852797BC79407090047CA' # Sway signing key
+)
+
+build() {
+    meson "$pkgname-$pkgver" build \
+        --prefix=/usr \
+        --buildtype=plain \
+        -Dlibcap=enabled \
+        -Dlogind=enabled \
+        -Dlogind-provider=systemd \
+        -Dxcb-errors=enabled \
+        -Dxcb-icccm=enabled \
+        -Dxcb-xkb=enabled \
+        -Dxwayland=enabled \
+        -Dx11-backend=enabled
+    ninja -C build
+}
+
+package() {
+    DESTDIR="$pkgdir" ninja -C build install
+    install -Dm644 "$pkgname-$pkgver/LICENSE" -t "$pkgdir/usr/share/licenses/$pkgname/"
+}



More information about the arch-commits mailing list