Verified Commit 49be7998 authored by Dhruvin Gandhi's avatar Dhruvin Gandhi
Browse files

testing/wlgreet: new aport

parent 378bf02d
# Contributor: Dhruvin Gandhi <contact@dhruvin.dev>
# Maintainer: Dhruvin Gandhi <contact@dhruvin.dev>
pkgname=wlgreet
pkgver=0.3
pkgrel=0
pkgdesc="Wayland greetd greeter"
url="https://git.sr.ht/~kennylevinsen/wlgreet"
arch="all !s390x !riscv64" # limited by cargo
license="GPL-3.0-or-later"
makedepends="cargo wayland-dev"
source="wlgreet-$pkgver.tar.gz::https://git.sr.ht/~kennylevinsen/wlgreet/archive/$pkgver.tar.gz
no-dlopen.patch"
build() {
cargo build --release
}
check() {
cargo test --release
}
package() {
install -Dm755 target/release/wlgreet "$pkgdir/usr/bin/wlgreet"
install -Dm644 config.toml "$pkgdir/etc/greetd/wlgreet.toml"
}
sha512sums="
ba46b63425245415be22651de9bef6974264290e8e4bf5b7dfa77173cc4025fbea529a754b824cff151031a0e0cfe229da8af5818b9013506787ad9b4804a1c9 wlgreet-0.3.tar.gz
ceb16eec3cf9729ba78c8c192986bc7c0495a40689ff71b790700bbd0567627d25562b191a19411226307701c7423e98b1b4112c6d0c3910c858f0aa7f2fbda7 no-dlopen.patch
"
dlopen is not required and will be removed from upstream in future release.
--- wlgreet-0.3/Cargo.toml
+++ wlgreet-0.3/Cargo.toml
@@ -17,7 +17,7 @@
nix = "0.15"
memmap = "0.7"
os_pipe = "0.8"
-wayland-client = { version = "0.23", features = ["dlopen"] }
+wayland-client = { version = "0.23" }
wayland-protocols = { version = "0.23", features = ["client", "unstable_protocols"] }
lazy_static = "1.4"
serde = { version = "1.0", features = ["derive"] }
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment