Adapt to new names of Meson options, add xcb-errors dependency

This commit is contained in:
Adrian Perez de Castro 2018-04-09 22:41:47 +01:00
parent 41de202da7
commit 5650faaeb0
No known key found for this signature in database
GPG Key ID: 91C559DBE4C9123B
2 changed files with 11 additions and 8 deletions

View File

@ -1,6 +1,6 @@
pkgbase = wlroots-git pkgbase = wlroots-git
pkgdesc = Modular Wayland compositor library pkgdesc = Modular Wayland compositor library
pkgver = r1924.2e7d886 pkgver = r2339.7efd9885
pkgrel = 2 pkgrel = 2
url = https://github.com/swaywm/wlroots url = https://github.com/swaywm/wlroots
arch = x86_64 arch = x86_64
@ -12,6 +12,7 @@ pkgbase = wlroots-git
depends = wayland depends = wayland
depends = opengl-driver depends = opengl-driver
depends = libxcb depends = libxcb
depends = xcb-util-errors
depends = xcb-util-image depends = xcb-util-image
depends = xcb-util-wm depends = xcb-util-wm
depends = pixman depends = pixman

View File

@ -1,6 +1,6 @@
# Maintainer: Adrian Perez de Castro <aperez@igalia.com> # Maintainer: Adrian Perez de Castro <aperez@igalia.com>
pkgname='wlroots-git' pkgname='wlroots-git'
pkgver=r1924.2e7d886 pkgver=r2339.7efd9885
pkgrel=2 pkgrel=2
license=('custom:MIT') license=('custom:MIT')
pkgdesc='Modular Wayland compositor library' pkgdesc='Modular Wayland compositor library'
@ -9,8 +9,8 @@ arch=('x86_64')
provides=('wlroots') provides=('wlroots')
conflicts=('wlroots') conflicts=('wlroots')
depends=('libcap' 'systemd' 'wayland' 'opengl-driver' 'libxcb' depends=('libcap' 'systemd' 'wayland' 'opengl-driver' 'libxcb'
'xcb-util-image' 'xcb-util-wm' 'pixman' 'libinput' 'xcb-util-errors' 'xcb-util-image' 'xcb-util-wm' 'pixman'
'libxkbcommon') 'libinput' 'libxkbcommon')
makedepends=('meson' 'ninja') makedepends=('meson' 'ninja')
source=("${pkgname}::git+${url}") source=("${pkgname}::git+${url}")
sha512sums=('SKIP') sha512sums=('SKIP')
@ -30,10 +30,12 @@ build () {
rm -rf build rm -rf build
meson build \ meson build \
--prefix /usr \ --prefix /usr \
-Denable_xwayland=true \ -Denable-libcap=true \
-Denable_libcap=true \ -Denable-systemd=true \
-Denable_systemd=true \ -Denable-elogind=false \
-Denable_elogind=false -Denable-xcb_errors=true \
-Denable-xwayland=true \
-Denable-x11_backend=true
ninja -C build ninja -C build
} }