void-packages/srcpkgs/ckb-next/template

27 lines
915 B
Bash

# Template file for 'ckb-next'
pkgname=ckb-next
version=0.4.4
revision=1
build_style=cmake
configure_args="-DDISABLE_UPDATER=1 -DUDEV_RULE_DIRECTORY=/usr/lib/udev/rules.d"
hostmakedepends="qt5-devel pkg-config"
makedepends="eudev-libudev-devel libdbusmenu-qt5-devel qt5-devel
qt5-tools-devel qt5-x11extras-devel quazip-qt5-devel xcb-util-wm-devel
$(vopt_if pulseaudio pulseaudio-devel)"
depends="$(vopt_if pulseaudio pulseaudio)"
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=6946bd035cdbbbd2f139e543d2ca84ba422176c62c3a3665b544118dc6d618d0
build_options="pulseaudio"
build_options_default="pulseaudio"
desc_option_pulseaudio="Enable support for music visualizer animation"
CFLAGS="-fcommon"
post_install() {
vsv ckb-next-daemon
}