void-packages/srcpkgs/projectM/template

22 lines
818 B
Bash

# Template file for 'projectM'
pkgname=projectM
version=3.1.7
revision=1
build_style=gnu-configure
configure_args="--datadir=/usr/libexec"
hostmakedepends="pkg-config qt5-host-tools automake libtool which"
makedepends="pulseaudio-devel alsa-lib-devel glew-devel ftgl-devel libXext-devel
SDL2-devel gtkglext-devel jack-devel qt5-tools-devel libvisual-devel glm
MesaLib-devel glu-devel"
short_desc="Music visualization"
maintainer="Andrew Benson <abenson+void@gmail.com>"
license="LGPL-2.1-or-later"
homepage="https://github.com/projectM-visualizer/projectm"
distfiles="${homepage}/releases/download/v${version}/projectM-${version}.tar.gz"
checksum=30af6d1c108efc19311a5636efbbedbe83d23905bb8472dd3fe4b07a21fb5fd3
if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
makedepends+=" musl-fts-devel"
export LDFLAGS+=" -lfts"
fi