From f585ee9f31231e66e497751361bb321bea3211ba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Antonin=20D=C3=A9cimo?= Date: Sat, 2 May 2020 18:59:03 +0200 Subject: [PATCH] Add HiDPI support. --- .SRCINFO | 16 +++++++++------- PKGBUILD | 20 +++++++++++++------- 2 files changed, 22 insertions(+), 14 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index dafdbb7..a567859 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,7 +1,7 @@ -pkgbase = wlroots-git - pkgdesc = Modular Wayland compositor library - pkgver = 0.9.1.r7.g6d3f3b93 - pkgrel = 2 +pkgbase = wlroots-hidpi-git + pkgdesc = Modular Wayland compositor library, with XWayland HiDPI + pkgver = 0.10.0.r107.g61d6408f + pkgrel = 1 url = https://github.com/swaywm/wlroots arch = x86_64 license = custom:MIT @@ -20,11 +20,13 @@ pkgbase = wlroots-git depends = pixman depends = libinput depends = libxkbcommon - provides = wlroots=0.9.1 + provides = wlroots-hidpi=0.10.0 conflicts = wlroots options = debug - source = wlroots-git::git+https://github.com/swaywm/wlroots + source = wlroots-hidpi-git::git+https://github.com/swaywm/wlroots + source = https://github.com/swaywm/wlroots/pull/2064.diff + sha512sums = SKIP sha512sums = SKIP -pkgname = wlroots-git +pkgname = wlroots-hidpi-git diff --git a/PKGBUILD b/PKGBUILD index 7ecd89d..00a3a25 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,19 +1,22 @@ # Maintainer: Adrian Perez de Castro -pkgname=wlroots-git -pkgver=0.9.1.r7.g6d3f3b93 -pkgrel=2 +# Maintainer: Antonin Décimo +pkgname=wlroots-hidpi-git +pkgver=0.10.0.r107.g61d6408f +pkgrel=1 license=(custom:MIT) -pkgdesc='Modular Wayland compositor library' +pkgdesc='Modular Wayland compositor library, with XWayland HiDPI' url=https://github.com/swaywm/wlroots arch=(x86_64) -provides=("wlroots=${pkgver%%.r*}") +provides=("wlroots-hidpi=${pkgver%%.r*}") conflicts=(wlroots) options=(debug) depends=(libcap systemd wayland opengl-driver libxcb xcb-util-errors xcb-util-wm pixman libinput libxkbcommon) makedepends=(meson ninja git wayland-protocols xorgproto) -source=("${pkgname}::git+${url}") -sha512sums=('SKIP') +source=("${pkgname}::git+${url}" + "https://github.com/swaywm/wlroots/pull/2064.diff") +sha512sums=('SKIP' + 'SKIP') pkgver () { @@ -27,6 +30,9 @@ pkgver () { build () { cd "${pkgname}" + + patch -Np1 -i ../2064.diff + rm -rf build meson build \ --prefix /usr \