Use debug build by default, as per upstream request

This commit is contained in:
Adrian Perez de Castro 2018-05-20 02:16:17 +01:00
parent 88cc865ee9
commit 74391eabfb
No known key found for this signature in database
GPG Key ID: 91C559DBE4C9123B
2 changed files with 9 additions and 3 deletions

View File

@ -1,6 +1,6 @@
pkgbase = wlroots-git
pkgdesc = Modular Wayland compositor library
pkgver = r2505.7c2241a5
pkgver = r2574.8585533a
pkgrel = 1
url = https://github.com/swaywm/wlroots
arch = x86_64
@ -22,6 +22,8 @@ pkgbase = wlroots-git
depends = libxkbcommon
provides = wlroots
conflicts = wlroots
options = debug
options = !strip
source = wlroots-git::git+https://github.com/swaywm/wlroots
sha512sums = SKIP

View File

@ -1,6 +1,6 @@
# Maintainer: Adrian Perez de Castro <aperez@igalia.com>
pkgname='wlroots-git'
pkgver=r2505.7c2241a5
pkgver=r2574.8585533a
pkgrel=1
license=('custom:MIT')
pkgdesc='Modular Wayland compositor library'
@ -8,6 +8,7 @@ url='https://github.com/swaywm/wlroots'
arch=('x86_64')
provides=('wlroots')
conflicts=('wlroots')
options=('debug' '!strip')
depends=('libcap' 'systemd' 'wayland' 'opengl-driver' 'libxcb'
'xcb-util-errors' 'xcb-util-image' 'xcb-util-wm' 'pixman'
'libinput' 'libxkbcommon')
@ -30,12 +31,15 @@ build () {
rm -rf build
meson build \
--prefix /usr \
--buildtype debug \
-Denable-libcap=true \
-Denable-systemd=true \
-Denable-elogind=false \
-Denable-xcb_errors=true \
-Denable-xwayland=true \
-Denable-x11_backend=true
-Denable-x11_backend=true \
-Denable-rootston=true \
-Denable-examples=true
ninja -C build
}