Add HiDPI support.

This commit is contained in:
Antonin Décimo 2020-05-02 18:59:03 +02:00
parent 77b48433bf
commit f585ee9f31
2 changed files with 22 additions and 14 deletions

View File

@ -1,7 +1,7 @@
pkgbase = wlroots-git pkgbase = wlroots-hidpi-git
pkgdesc = Modular Wayland compositor library pkgdesc = Modular Wayland compositor library, with XWayland HiDPI
pkgver = 0.9.1.r7.g6d3f3b93 pkgver = 0.10.0.r107.g61d6408f
pkgrel = 2 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
@ -20,11 +20,13 @@ pkgbase = wlroots-git
depends = pixman depends = pixman
depends = libinput depends = libinput
depends = libxkbcommon depends = libxkbcommon
provides = wlroots=0.9.1 provides = wlroots-hidpi=0.10.0
conflicts = wlroots conflicts = wlroots
options = debug 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 sha512sums = SKIP
pkgname = wlroots-git pkgname = wlroots-hidpi-git

View File

@ -1,19 +1,22 @@
# Maintainer: Adrian Perez de Castro <aperez@igalia.com> # Maintainer: Adrian Perez de Castro <aperez@igalia.com>
pkgname=wlroots-git # Maintainer: Antonin Décimo <antonin dot decimo at gmail dot com>
pkgver=0.9.1.r7.g6d3f3b93 pkgname=wlroots-hidpi-git
pkgrel=2 pkgver=0.10.0.r107.g61d6408f
pkgrel=1
license=(custom:MIT) license=(custom:MIT)
pkgdesc='Modular Wayland compositor library' pkgdesc='Modular Wayland compositor library, with XWayland HiDPI'
url=https://github.com/swaywm/wlroots url=https://github.com/swaywm/wlroots
arch=(x86_64) arch=(x86_64)
provides=("wlroots=${pkgver%%.r*}") provides=("wlroots-hidpi=${pkgver%%.r*}")
conflicts=(wlroots) conflicts=(wlroots)
options=(debug) options=(debug)
depends=(libcap systemd wayland opengl-driver libxcb xcb-util-errors depends=(libcap systemd wayland opengl-driver libxcb xcb-util-errors
xcb-util-wm pixman libinput libxkbcommon) xcb-util-wm pixman libinput libxkbcommon)
makedepends=(meson ninja git wayland-protocols xorgproto) makedepends=(meson ninja git wayland-protocols xorgproto)
source=("${pkgname}::git+${url}") source=("${pkgname}::git+${url}"
sha512sums=('SKIP') "https://github.com/swaywm/wlroots/pull/2064.diff")
sha512sums=('SKIP'
'SKIP')
pkgver () { pkgver () {
@ -27,6 +30,9 @@ pkgver () {
build () { build () {
cd "${pkgname}" cd "${pkgname}"
patch -Np1 -i ../2064.diff
rm -rf build rm -rf build
meson build \ meson build \
--prefix /usr \ --prefix /usr \