diff options
author | Tim Biermann <tbier@posteo.de> | 2020-11-07 16:48:12 +0000 |
---|---|---|
committer | Tim Biermann <tbier@posteo.de> | 2020-11-07 16:48:12 +0000 |
commit | dd0d5b43a6e24a9cb3f68ea9d699df540ab23efc (patch) | |
tree | 3735410c0d1eb976745d26678dda1ac7bd3e5dc1 /libsoxr | |
parent | 93b97b9c9e683cbf69a204149c20f756a3027f35 (diff) | |
download | contrib-dd0d5b43a6e24a9cb3f68ea9d699df540ab23efc.tar.gz contrib-dd0d5b43a6e24a9cb3f68ea9d699df540ab23efc.tar.xz |
libsoxr: updated cmake syntax
Diffstat (limited to 'libsoxr')
-rw-r--r-- | libsoxr/.signature | 4 | ||||
-rw-r--r-- | libsoxr/Pkgfile | 8 |
2 files changed, 8 insertions, 4 deletions
diff --git a/libsoxr/.signature b/libsoxr/.signature index 7cb22d36a..7247b9823 100644 --- a/libsoxr/.signature +++ b/libsoxr/.signature @@ -1,5 +1,5 @@ untrusted comment: verify with /etc/ports/contrib.pub -RWSagIOpLGJF32YIz0hb19WUr4hsvIED4s55+85CrySK58GU1q1yh1bbELxU1Yl0QFwgB72F8zfMaFbaai2Q7QBtNHUoKL9sJAY= -SHA256 (Pkgfile) = 59594dedb106b140f71720b10943e0fbdb8907d3e36f960908fd2124a1512663 +RWSagIOpLGJF3zedHZR4DsSk7fGbDGjtfV/kpj00rVYtRCOJEHxc8EFK9eyv96Eifjx8yfIQpCfkifXEqToC1fQoah5i4oC4pAU= +SHA256 (Pkgfile) = 020241bb519632af70b4138dfa15635d75adf1d0e2cf112efe1047095674d195 SHA256 (.footprint) = e3df6a7a6c7e67eda43a1601493e29d219747e75b60864d8d2d5910c92a6e128 SHA256 (soxr-0.1.3-Source.tar.xz) = b111c15fdc8c029989330ff559184198c161100a59312f5dc19ddeb9b5a15889 diff --git a/libsoxr/Pkgfile b/libsoxr/Pkgfile index ac9d082ce..f20b927fe 100644 --- a/libsoxr/Pkgfile +++ b/libsoxr/Pkgfile @@ -9,9 +9,13 @@ release=1 source=(https://downloads.sourceforge.net/soxr/soxr-$version-Source.tar.xz) build() { - cmake -Hsoxr-$version-Source -Bbuild \ - -DCMAKE_BUILD_TYPE=Release \ + [[ -e /usr/bin/ninja ]] && PKGMK_SOXR_OPTIONS=' -GNinja' + cmake -Hsoxr-$version-Source -Bbuild $PKGMK_SOXR_OPTIONS \ -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_CXX_FLAGS_RELEASE="$CXXFLAGS -DNDEBUG" \ + -DCMAKE_C_FLAGS_RELEASE="$CFLAGS -DNDEBUG" \ + -Wno-dev \ -DBUILD_EXAMPLES='OFF' \ -DBUILD_SHARED_LIBS='ON' \ -DWITH_AVFFT='ON' \ |