void-packages/srcpkgs/ckb-next/template

27 lines
915 B
Bash

# Template file for 'ckb-next'
pkgname=ckb-next
version=0.4.3
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=e4fbd14227ecc63fad9eaf705ca61defd7b44bcaa3ad29aae18cd8a69bbc9ef9
build_options="pulseaudio"
build_options_default="pulseaudio"
desc_option_pulseaudio="Enable support for music visualizer animation"
CFLAGS="-fcommon"
post_install() {
vsv ckb-next-daemon
}