New package: artyfx-1.3

closes #9523
This commit is contained in:
Samadi van Koten 2019-03-08 17:46:01 +00:00 committed by maxice8
parent 7d775aada5
commit 532245d09d
No known key found for this signature in database
GPG Key ID: 543B9D4F4299F06B
2 changed files with 37 additions and 0 deletions

View File

@ -0,0 +1,18 @@
--- src/avtk/CMakeLists.txt 2016-12-24 19:36:45.000000000 +0000
+++ src/avtk/CMakeLists.txt 2019-03-09 11:20:24.063980037 +0000
@@ -55,8 +55,13 @@
link_directories ( ${X11_LIBRARY_DIRS} )
-SET(CMAKE_C_FLAGS "-fPIC -msse -msse2 -mfpmath=sse -g") # -fsanitize=address
-SET(CMAKE_CXX_FLAGS "-fPIC -msse -msse2 -mfpmath=sse -g") # -fsanitize=address
+SET(CMAKE_C_FLAGS "-fPIC -g") # -fsanitize=address
+SET(CMAKE_CXX_FLAGS "-fPIC -g") # -fsanitize=address
+
+IF(BUILD_SSE)
+ SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -msse -msse2 -mfpmath=sse")
+ SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -msse -msse2 -mfpmath=sse")
+ENDIF()
FILE(GLOB src libs/pffft.cxx avtk/*.cxx )

19
srcpkgs/artyfx/template Normal file
View File

@ -0,0 +1,19 @@
# Template file for 'artyfx'
pkgname=artyfx
version=1.3
revision=1
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
x86_64*|i686*);;
*) configure_args+=" -DBUILD_SSE=OFF";;
esac