2020-05-02 19:59:03 +03:00
|
|
|
# Maintainer: Antonin Décimo <antonin dot decimo at gmail dot com>
|
2020-12-12 21:06:18 +02:00
|
|
|
# Contributor: Adrian Perez de Castro <aperez@igalia.com>
|
2021-04-09 14:42:41 +03:00
|
|
|
pkgname=wlroots-hidpi
|
|
|
|
pkgver=0.13.0
|
2021-01-13 21:05:27 +02:00
|
|
|
pkgrel=1
|
2020-01-14 13:53:42 +02:00
|
|
|
license=(custom:MIT)
|
2020-12-12 22:04:04 +02:00
|
|
|
pkgdesc='Modular Wayland compositor library, with XWayland HiDPI (git version)'
|
2020-01-14 13:53:42 +02:00
|
|
|
url=https://github.com/swaywm/wlroots
|
|
|
|
arch=(x86_64)
|
2021-01-13 21:05:27 +02:00
|
|
|
provides=("wlroots-hidpi=${pkgver%%.r*}"
|
|
|
|
"wlroots=${pkgver%%.r*}"
|
|
|
|
"wlroots-git")
|
2021-04-09 14:42:41 +03:00
|
|
|
conflicts=(wlroots wlroots-git wlroots-hidpi-git)
|
2020-01-16 10:09:06 +02:00
|
|
|
options=(debug)
|
2021-03-16 12:06:55 +02:00
|
|
|
depends=(
|
|
|
|
libinput
|
|
|
|
libxcb
|
|
|
|
libxkbcommon
|
|
|
|
opengl-driver
|
|
|
|
pixman
|
|
|
|
wayland
|
|
|
|
xcb-util-errors
|
|
|
|
xcb-util-renderutil
|
|
|
|
xcb-util-wm
|
|
|
|
systemd)
|
|
|
|
makedepends=(
|
|
|
|
git
|
|
|
|
meson
|
|
|
|
wayland-protocols
|
|
|
|
xorgproto)
|
2021-04-09 14:42:41 +03:00
|
|
|
source=("${pkgname}::git+${url}#tag=${pkgver}"
|
2020-05-28 14:24:16 +03:00
|
|
|
# "xwayland_hidpi.diff::https://github.com/swaywm/wlroots/pull/2064.diff"
|
2021-04-09 14:42:41 +03:00
|
|
|
"xwayland_hidpi.diff::https://github.com/swaywm/wlroots/compare/${pkgver}...MisterDA:xwayland_hidpi.diff"
|
2020-05-25 17:38:26 +03:00
|
|
|
)
|
2020-05-02 19:59:03 +03:00
|
|
|
sha512sums=('SKIP'
|
2021-04-09 14:42:41 +03:00
|
|
|
'516a6ba1a840803784b9b4786e570f5564cb82e1feee6d14fd7c9e9bf852840a497d94fc3ba70c713994fa5278f0ff40b8cef81fe56fc75f880d89d138a9ef72')
|
2018-01-29 21:23:12 +02:00
|
|
|
|
2020-12-12 21:06:18 +02:00
|
|
|
prepare () {
|
2018-01-29 21:23:12 +02:00
|
|
|
cd "${pkgname}"
|
2020-12-12 21:06:18 +02:00
|
|
|
patch --forward --strip=1 --input="${srcdir}/xwayland_hidpi.diff"
|
|
|
|
}
|
2020-05-02 19:59:03 +03:00
|
|
|
|
2020-12-12 21:06:18 +02:00
|
|
|
build () {
|
2021-02-16 01:35:26 +02:00
|
|
|
arch-meson \
|
2018-09-05 02:44:57 +03:00
|
|
|
-Dlogind-provider=systemd \
|
2021-02-16 01:35:26 +02:00
|
|
|
-Dlibseat=disabled \
|
|
|
|
-Dwerror=false \
|
2021-03-16 12:06:55 +02:00
|
|
|
-Dexamples=false \
|
2021-02-16 01:35:26 +02:00
|
|
|
"${pkgname}" build
|
|
|
|
meson compile -C build
|
2018-01-29 21:23:12 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
package () {
|
2021-02-16 01:35:26 +02:00
|
|
|
DESTDIR="${pkgdir}" meson install -C build
|
|
|
|
install -Dm644 "${pkgname}/"LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
|
2018-01-29 21:23:12 +02:00
|
|
|
}
|