void-packages/srcpkgs/ckb-next/template

23 lines
764 B
Bash

# Template file for 'ckb-next'
pkgname=ckb-next
version=0.3.2
revision=3
build_style=cmake
configure_args="-DDISABLE_UPDATER=1"
hostmakedepends="qt5-devel"
makedepends="qt5-devel eudev-libudev-devel $(vopt_if pulseaudio pulseaudio-devel)"
short_desc="Corsair RGB Driver for Linux"
maintainer="Frank Steinborn <steinex@nognu.de>"
license="GPL-2.0-or-later"
homepage="https://github.com/ckb-next/ckb-next"
distfiles="${homepage}/archive/v${version}.tar.gz"
checksum=4a1a91610353189e827985108621ad92fb8336a322bd70a3733775251d735c31
build_options="pulseaudio"
desc_option_pulseaudio="Enable support for music visualizer animation"
post_install() {
vsv ckb-next-daemon
vmkdir usr/lib/udev/rules.d
mv ${DESTDIR}/etc/udev/rules.d/* ${DESTDIR}/usr/lib/udev/rules.d
}