Fix prepare patching
This commit is contained in:
parent
4e808c3b23
commit
bf63d6f3c4
4
.SRCINFO
4
.SRCINFO
@ -1,6 +1,6 @@
|
|||||||
pkgbase = wlroots-hidpi-git
|
pkgbase = wlroots-hidpi-git
|
||||||
pkgdesc = Modular Wayland compositor library, with XWayland HiDPI
|
pkgdesc = Modular Wayland compositor library, with XWayland HiDPI
|
||||||
pkgver = 0.11.0.r76.gf0ddcd36
|
pkgver = 0.12.0.r96.g4c363a56
|
||||||
pkgrel = 1
|
pkgrel = 1
|
||||||
url = https://github.com/swaywm/wlroots
|
url = https://github.com/swaywm/wlroots
|
||||||
arch = x86_64
|
arch = x86_64
|
||||||
@ -19,7 +19,7 @@ pkgbase = wlroots-hidpi-git
|
|||||||
depends = pixman
|
depends = pixman
|
||||||
depends = libinput
|
depends = libinput
|
||||||
depends = libxkbcommon
|
depends = libxkbcommon
|
||||||
provides = wlroots-hidpi=0.11.0
|
provides = wlroots-hidpi=0.12.0
|
||||||
conflicts = wlroots
|
conflicts = wlroots
|
||||||
options = debug
|
options = debug
|
||||||
source = wlroots-hidpi-git::git+https://github.com/swaywm/wlroots
|
source = wlroots-hidpi-git::git+https://github.com/swaywm/wlroots
|
||||||
|
11
PKGBUILD
11
PKGBUILD
@ -1,7 +1,7 @@
|
|||||||
# Maintainer: Adrian Perez de Castro <aperez@igalia.com>
|
|
||||||
# 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>
|
||||||
pkgname=wlroots-hidpi-git
|
pkgname=wlroots-hidpi-git
|
||||||
pkgver=0.11.0.r76.gf0ddcd36
|
pkgver=0.12.0.r96.g4c363a56
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
license=(custom:MIT)
|
license=(custom:MIT)
|
||||||
pkgdesc='Modular Wayland compositor library, with XWayland HiDPI'
|
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 () {
|
build () {
|
||||||
cd "${pkgname}"
|
cd "${pkgname}"
|
||||||
|
|
||||||
patch -Np1 -i ../xwayland_hidpi.diff
|
|
||||||
|
|
||||||
rm -rf build
|
rm -rf build
|
||||||
meson build \
|
meson build \
|
||||||
--prefix /usr \
|
--prefix /usr \
|
||||||
|
Loading…
Reference in New Issue
Block a user