diff options
-rw-r--r-- | .SRCINFO | 9 | ||||
-rw-r--r-- | PKGBUILD | 17 |
2 files changed, 18 insertions, 8 deletions
@@ -1,8 +1,8 @@ pkgbase = wlroots-hi-res-scroll-git pkgdesc = Modular Wayland compositor library with hi-res scroll patches (git version) - pkgver = 0.13.0.r95.g8e9e6e1a + pkgver = 0.13.0.r153.g9e58301d pkgrel = 1 - url = https://github.com/janza/wlroots + url = https://github.com/swaywm/wlroots arch = x86_64 license = custom:MIT makedepends = git @@ -25,8 +25,9 @@ pkgbase = wlroots-hi-res-scroll-git provides = wlroots-git conflicts = wlroots options = debug - source = wlroots-hi-res-scroll-git::git+https://github.com/janza/wlroots + source = wlroots-hi-res-scroll-git::git+https://github.com/swaywm/wlroots + source = hi_res_scroll.diff::https://github.com/swaywm/wlroots/compare/master...janza:master.diff sha512sums = SKIP + sha512sums = a7eec598fa659a9118826d26596c7b8baea4b6fc7297195039726dee961f22aca7d9627b40498d1c490644657244198a31577c5b1bc66ae8a99f2d0b5d460949 pkgname = wlroots-hi-res-scroll-git - @@ -2,11 +2,11 @@ # Contributor: Adrian Perez de Castro <aperez@igalia.com> # Contributor: Antonin Décimo <antonin dot decimo at gmail dot com> pkgname=wlroots-hi-res-scroll-git -pkgver=0.13.0.r95.g8e9e6e1a +pkgver=0.13.0.r153.g9e58301d pkgrel=1 license=(custom:MIT) pkgdesc='Modular Wayland compositor library with hi-res scroll patches (git version)' -url=https://github.com/janza/wlroots +url=https://github.com/swaywm/wlroots arch=(x86_64) provides=("wlroots=${pkgver%%.r*}" "wlroots-git") conflicts=(wlroots) @@ -29,8 +29,12 @@ makedepends=( meson wayland-protocols xorgproto) -source=("${pkgname}::git+${url}") -sha512sums=('SKIP') +source=("${pkgname}::git+${url}" + # "hi_res_scroll.diff::https://github.com/swaywm/wlroots/pull/2064.diff" + "hi_res_scroll.diff::https://github.com/swaywm/wlroots/compare/master...janza:master.diff" + ) +sha512sums=('SKIP' + 'a7eec598fa659a9118826d26596c7b8baea4b6fc7297195039726dee961f22aca7d9627b40498d1c490644657244198a31577c5b1bc66ae8a99f2d0b5d460949') pkgver () { cd "${pkgname}" @@ -41,6 +45,11 @@ pkgver () { ) } +prepare () { + cd "${pkgname}" + patch --forward --strip=1 --input="${srcdir}/hi_res_scroll.diff" +} + build () { arch-meson \ --buildtype=debug \ |