void-packages/srcpkgs/artyfx/template
2021-03-01 22:03:38 +07:00

33 lines
914 B
Bash

# Template file for 'artyfx'
pkgname=artyfx
version=1.3
revision=2
wrksrc=openAV-ArtyFX-release-$version
build_style=cmake
hostmakedepends="pkg-config"
makedepends="cairo-devel libsndfile-devel lv2"
short_desc="Plugin bundle of artistic real-time audio effects"
maintainer="Samadi van Koten <samadi@vktec.org.uk>"
license="GPL-2.0-or-later"
homepage="http://openavproductions.com/artyfx/"
distfiles="https://github.com/openAVproductions/openAV-ArtyFX/archive/release-$version.tar.gz"
checksum=a2a8d02b47bea44d0053cd4f8c6411f68a6fe9b9e4348a4139cd9bfd70105c00
case "$XBPS_TARGET_MACHINE" in
armv7*)
build_options="neon"
build_options_default="neon"
if [ "$build_option_neon" ]; then
CXXFLAGS="-mfpu=neon"
else
CXXFLAGS="-DPFFFT_SIMD_DISABLE=1"
fi
;;
armv*)
CXXFLAGS="-DPFFFT_SIMD_DISABLE=1" ;;
esac
case $XBPS_TARGET_MACHINE in
x86_64*|i686*);;
*) configure_args+=" -DBUILD_SSE=OFF";;
esac