Don't build examples; update dependencies

This commit is contained in:
Antonin Décimo 2021-03-16 11:06:55 +01:00
parent 4c5a42c6c2
commit e46a520445
2 changed files with 26 additions and 12 deletions

View File

@ -1,24 +1,24 @@
pkgbase = wlroots-hidpi-git pkgbase = wlroots-hidpi-git
pkgdesc = Modular Wayland compositor library, with XWayland HiDPI (git version) pkgdesc = Modular Wayland compositor library, with XWayland HiDPI (git version)
pkgver = 0.12.0.r342.g38ec1c0e pkgver = 0.12.0.r378.g00bee2a6
pkgrel = 1 pkgrel = 1
url = https://github.com/swaywm/wlroots url = https://github.com/swaywm/wlroots
arch = x86_64 arch = x86_64
license = custom:MIT license = custom:MIT
makedepends = meson
makedepends = git makedepends = git
makedepends = meson
makedepends = wayland-protocols makedepends = wayland-protocols
makedepends = xorgproto makedepends = xorgproto
depends = systemd depends = libinput
depends = wayland
depends = opengl-driver
depends = libxcb depends = libxcb
depends = libxkbcommon
depends = opengl-driver
depends = pixman
depends = wayland
depends = xcb-util-errors depends = xcb-util-errors
depends = xcb-util-renderutil depends = xcb-util-renderutil
depends = xcb-util-wm depends = xcb-util-wm
depends = pixman depends = systemd
depends = libinput
depends = libxkbcommon
provides = wlroots-hidpi=0.12.0 provides = wlroots-hidpi=0.12.0
provides = wlroots=0.12.0 provides = wlroots=0.12.0
provides = wlroots-git provides = wlroots-git

View File

@ -1,7 +1,7 @@
# Maintainer: Antonin Décimo <antonin dot decimo at gmail dot com> # Maintainer: Antonin Décimo <antonin dot decimo at gmail dot com>
# Contributor: Adrian Perez de Castro <aperez@igalia.com> # Contributor: Adrian Perez de Castro <aperez@igalia.com>
pkgname=wlroots-hidpi-git pkgname=wlroots-hidpi-git
pkgver=0.12.0.r342.g38ec1c0e pkgver=0.12.0.r378.g00bee2a6
pkgrel=1 pkgrel=1
license=(custom:MIT) license=(custom:MIT)
pkgdesc='Modular Wayland compositor library, with XWayland HiDPI (git version)' pkgdesc='Modular Wayland compositor library, with XWayland HiDPI (git version)'
@ -12,9 +12,22 @@ provides=("wlroots-hidpi=${pkgver%%.r*}"
"wlroots-git") "wlroots-git")
conflicts=(wlroots wlroots-git) conflicts=(wlroots wlroots-git)
options=(debug) options=(debug)
depends=(systemd wayland opengl-driver libxcb xcb-util-errors depends=(
xcb-util-renderutil xcb-util-wm pixman libinput libxkbcommon) libinput
makedepends=(meson git wayland-protocols xorgproto) libxcb
libxkbcommon
opengl-driver
pixman
wayland
xcb-util-errors
xcb-util-renderutil
xcb-util-wm
systemd)
makedepends=(
git
meson
wayland-protocols
xorgproto)
source=("${pkgname}::git+${url}" source=("${pkgname}::git+${url}"
# "xwayland_hidpi.diff::https://github.com/swaywm/wlroots/pull/2064.diff" # "xwayland_hidpi.diff::https://github.com/swaywm/wlroots/pull/2064.diff"
"xwayland_hidpi.diff::https://github.com/swaywm/wlroots/compare/master...MisterDA:xwayland_hidpi.diff" "xwayland_hidpi.diff::https://github.com/swaywm/wlroots/compare/master...MisterDA:xwayland_hidpi.diff"
@ -41,6 +54,7 @@ build () {
-Dlogind-provider=systemd \ -Dlogind-provider=systemd \
-Dlibseat=disabled \ -Dlibseat=disabled \
-Dwerror=false \ -Dwerror=false \
-Dexamples=false \
"${pkgname}" build "${pkgname}" build
meson compile -C build meson compile -C build
} }