Skip to content

Commit

Permalink
nrsc5: fix build for < 10.7
Browse files Browse the repository at this point in the history
  • Loading branch information
barracuda156 committed May 12, 2024
1 parent cd90aeb commit 5c8e238
Showing 1 changed file with 17 additions and 6 deletions.
23 changes: 17 additions & 6 deletions audio/nrsc5/Portfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
PortSystem 1.0
PortGroup github 1.0
PortGroup cmake 1.1
PortGroup legacysupport 1.1

# _strnlen
legacysupport.newest_darwin_requires_legacy 10

github.setup theori-io nrsc5 073726340ede83c596187f89d4442ab8d5180b77

Expand All @@ -14,19 +18,26 @@ maintainers {netjibbing.com:blake @trodemaster} \
license GPL-3+

description This program receives NRSC-5 digital radio stations using an RTL-SDR dongle
long_description \
This program receives NRSC-5 digital radio stations using an RTL-SDR dongle. It offers a command-line interface as well as an API upon which other applications can be built.
long_description {*}${description}. It offers a command-line interface \
as well as an API upon which other applications can be built.

checksums rmd160 75f0e0458de45d23ab8e010505ae967c3c0f455d \
sha256 a325d36638aed27e211235d98bf7675bb3d63c6df67ce14cab524bb86fe947fa \
size 23170595

patchfiles CMakeLists.txt.diff
patchfiles CMakeLists.txt.diff

# cc1: error: unrecognized command line option "-std=gnu11"
compiler.c_standard 2011

configure.args-append \
-DUSE_NEON=ON \
-DUSE_SSE=ON \
-DUSE_FAAD2=ON
-DUSE_FAAD2=ON

if {${configure.build_arch} ni [list ppc ppc64]} {
configure.args-append \
-DUSE_NEON=ON \
-DUSE_SSE=ON
}

depends_build-append \
port:libtool \
Expand Down

0 comments on commit 5c8e238

Please sign in to comment.