Fix prepare patching

This commit is contained in:
Antonin Décimo 2020-12-12 20:06:18 +01:00
parent 4e808c3b23
commit bf63d6f3c4
2 changed files with 9 additions and 6 deletions

View File

@ -1,6 +1,6 @@
pkgbase = wlroots-hidpi-git
pkgdesc = Modular Wayland compositor library, with XWayland HiDPI
pkgver = 0.11.0.r76.gf0ddcd36
pkgver = 0.12.0.r96.g4c363a56
pkgrel = 1
url = https://github.com/swaywm/wlroots
arch = x86_64
@ -19,7 +19,7 @@ pkgbase = wlroots-hidpi-git
depends = pixman
depends = libinput
depends = libxkbcommon
provides = wlroots-hidpi=0.11.0
provides = wlroots-hidpi=0.12.0
conflicts = wlroots
options = debug
source = wlroots-hidpi-git::git+https://github.com/swaywm/wlroots

View File

@ -1,7 +1,7 @@
# Maintainer: Adrian Perez de Castro <aperez@igalia.com>
# Maintainer: Antonin Décimo <antonin dot decimo at gmail dot com>
# Contributor: Adrian Perez de Castro <aperez@igalia.com>
pkgname=wlroots-hidpi-git
pkgver=0.11.0.r76.gf0ddcd36
pkgver=0.12.0.r96.g4c363a56
pkgrel=1
license=(custom:MIT)
pkgdesc='Modular Wayland compositor library, with XWayland HiDPI'
@ -31,11 +31,14 @@ pkgver () {
)
}
prepare () {
cd "${pkgname}"
patch --forward --strip=1 --input="${srcdir}/xwayland_hidpi.diff"
}
build () {
cd "${pkgname}"
patch -Np1 -i ../xwayland_hidpi.diff
rm -rf build
meson build \
--prefix /usr \