73 lines
2.4 KiB
Bash
73 lines
2.4 KiB
Bash
#!/usr/bin/bash
|
|
# JOBoRun : Jwm OpenBox Obarun RUNit
|
|
# Maintainer : Joe Bo Run <joborun@disroot.org>
|
|
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobextra/$pkgname"
|
|
# Website : https://pozol.eu
|
|
#-----------------------------------------| DESCRIPTION |---------------------------------------
|
|
|
|
pkgname=wlroots
|
|
pkgver=0.17.1
|
|
pkgrel=01
|
|
pkgdesc='Modular Wayland compositor library'
|
|
url='https://gitlab.freedesktop.org/wlroots/wlroots'
|
|
depends=(
|
|
'cairo'
|
|
'libdisplay-info.so'
|
|
'libglvnd'
|
|
'libinput'
|
|
'libpixman-1.so'
|
|
'libseat.so'
|
|
'libudev.so'
|
|
'libvulkan.so'
|
|
'libwayland-client.so'
|
|
'libwayland-server.so'
|
|
'libxcb'
|
|
'libxkbcommon.so'
|
|
'opengl-driver'
|
|
'xcb-util-errors'
|
|
'xcb-util-renderutil'
|
|
'xcb-util-wm'
|
|
)
|
|
makedepends=('glslang' 'meson' 'ninja' 'vulkan-headers' 'wayland-protocols' 'xorg-xwayland'
|
|
'cmake' 'cairo')
|
|
optdepends=('xorg-xwayland: Xwayland support')
|
|
provides=('libwlroots.so')
|
|
# options=(debug)
|
|
source=("$pkgname-$pkgver.tar.gz::https://gitlab.freedesktop.org/wlroots/wlroots/-/releases/$pkgver/downloads/wlroots-$pkgver.tar.gz"
|
|
"https://gitlab.freedesktop.org/wlroots/wlroots/-/releases/$pkgver/downloads/wlroots-$pkgver.tar.gz.sig"
|
|
"Revert-layer-shell-error-on-0-dimension-without-anch.patch")
|
|
|
|
prepare() {
|
|
cd "${pkgname}-${pkgver}"
|
|
# Allow a minor protocol violation until phosh is fixed without this patch
|
|
# phosh crashes on launch.
|
|
patch -Np1 -i "${srcdir}/Revert-layer-shell-error-on-0-dimension-without-anch.patch"
|
|
}
|
|
|
|
build() {
|
|
arch-meson "$pkgname-$pkgver" build
|
|
ninja -C build
|
|
}
|
|
|
|
package() {
|
|
DESTDIR="$pkgdir" ninja -C build install
|
|
install -Dm644 "$pkgname-$pkgver/LICENSE" -t "$pkgdir/usr/share/licenses/$pkgname/"
|
|
}
|
|
|
|
#---- arch license gpg-key & sha256sums ----
|
|
|
|
arch=(x86_64)
|
|
|
|
license=('MIT')
|
|
|
|
validpgpkeys=('34FF9526CFEF0E97A340E2E40FDE7BE0E88F5E48' # Simon Ser
|
|
'9DDA3B9FA5D58DD5392C78E652CB6609B22DA89A' # Drew DeVault
|
|
'4100929B33EEB0FD1DB852797BC79407090047CA') # Sway signing key
|
|
|
|
sha256sums=(d58d68e3f90d92de4d49fa43b4d75dc78f8af1d920d090729331cefbdfcf361b # wlroots-0.17.1.tar.gz
|
|
518e10decf47919f6a1b8f5795bd17b54786be2099cf9264fb63eea13b6f9f34 # wlroots-0.17.1.tar.gz.sig
|
|
1c05f0500a96a3721317d01619aa42d8ad696905a378249e8405968c4e16a065) # Revert-layer-shell-error-on-0-dimension-without-anch.patch
|
|
|
|
## 03b7e6ca317e7835375672d9a0c3f4c19d43a2205448e477505755cd88ec260a wlroots-0.17.1-01-x86_64.pkg.tar.lz
|
|
|