You've already forked macports-ports
mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
libzita-resampler: build with NEON intrinsics on arm64, revbump
This commit is contained in:
committed by
Renee Otten
parent
486353eb79
commit
93c4382466
@@ -5,7 +5,7 @@ PortGroup cmake 1.1
|
||||
|
||||
name libzita-resampler
|
||||
version 1.11.2
|
||||
revision 0
|
||||
revision 1
|
||||
|
||||
categories audio
|
||||
license GPL-3+
|
||||
@@ -39,8 +39,12 @@ distname zita-resampler-${version}
|
||||
# Makefiles are such a mess, so use the CMake patch from FreeBSD ports
|
||||
patchfiles use-cmake.diff
|
||||
|
||||
if {${configure.build_arch} in {i386 x86_64}} {
|
||||
configure.cxxflags-append -DENABLE_SSE2
|
||||
if {![variant_isset universal]} {
|
||||
if {${configure.build_arch} in {i386 x86_64}} {
|
||||
configure.cxxflags-append -DENABLE_SSE2
|
||||
} elseif {${configure.build_arch} eq "arm64"} {
|
||||
configure.cxxflags-append -DENABLE_NEON
|
||||
}
|
||||
}
|
||||
|
||||
livecheck.url ${master_sites}
|
||||
|
||||
Reference in New Issue
Block a user