# Template file for 'wluma'
pkgname=wluma
version=4.11.0
revision=1
build_style=cargo
hostmakedepends="pkg-config clang cargo"
makedepends="eudev-libudev-devel v4l-utils-devel wayland-devel vulkan-loader-devel
 dbus-devel"
short_desc="Automatic brightness adjustment based on screen contents and ALS"
maintainer="Emil Miler <em@0x45.cz>"
license="ISC"
homepage="https://github.com/maximbaz/wluma"
changelog="https://github.com/maximbaz/wluma/releases"
distfiles="https://github.com/maximbaz/wluma/archive/refs/tags/${version}.tar.gz"
checksum=f44e6e88818e17c2a84137baba7491f890cbd6e577a93a1a1ed1d9b4da190d6c

post_install() {
	vinstall 90-wluma-backlight.rules 0644 /usr/lib/udev/rules.d/
	vlicense LICENSE
}
