testing/xwayland-satellite: new aport

This commit is contained in:
ptrcnull 2025-01-23 01:27:02 +01:00 committed by Patrycja Rosa
parent 7ddc708531
commit 37275cd92f

View File

@ -0,0 +1,36 @@
# Contributor: Patrycja Rosa <alpine@ptrcnull.me>
# Maintainer: Patrycja Rosa <alpine@ptrcnull.me>
pkgname=xwayland-satellite
pkgver=0.5
pkgrel=0
pkgdesc="Xwayland manager for Wayland"
url="https://github.com/Supreeeme/xwayland-satellite"
arch="all"
license="MPL-2.0"
makedepends="cargo cargo-auditable libxcb-dev xwayland-dev xcb-util-cursor-dev clang-libclang"
source="https://github.com/Supreeeme/xwayland-satellite/archive/v$pkgver/xwayland-satellite-$pkgver.tar.gz"
# net: cargo crates
# !check: we don't have a headless wayland runner yet?
options="net !check"
prepare() {
default_prepare
cargo fetch --target="$CTARGET" --locked
}
build() {
cargo auditable build --frozen --release
}
check() {
cargo test --frozen
}
package() {
install -Dm755 target/release/xwayland-satellite -t "$pkgdir"/usr/bin
}
sha512sums="
89d57241d69f7f35b8c68019cedbe07f9c43601db27fcfacf9725391a3969a30fa0d1f21ae50762e0c64c674a80a6859d529130881056673499363f4dfbc258b xwayland-satellite-0.5.tar.gz
"