diff options
author | Tim Biermann <tbier@posteo.de> | 2020-11-08 11:47:45 +0000 |
---|---|---|
committer | Tim Biermann <tbier@posteo.de> | 2020-11-08 13:41:14 +0000 |
commit | 29334fbd800b1f21fab910c2ce11cae86389ea81 (patch) | |
tree | dc4d40281d549759c344e24705175d2468a7e7a1 /libsoxr | |
parent | 8d3ce4cb58cbf381c3c1ce021b203fafa4b05d9e (diff) | |
download | contrib-29334fbd800b1f21fab910c2ce11cae86389ea81.tar.gz contrib-29334fbd800b1f21fab910c2ce11cae86389ea81.tar.xz |
libsoxr: updated cmake syntax
Diffstat (limited to 'libsoxr')
-rw-r--r-- | libsoxr/.signature | 4 | ||||
-rw-r--r-- | libsoxr/Pkgfile | 26 |
2 files changed, 15 insertions, 15 deletions
diff --git a/libsoxr/.signature b/libsoxr/.signature index 7247b9823..d5c2803d3 100644 --- a/libsoxr/.signature +++ b/libsoxr/.signature @@ -1,5 +1,5 @@ untrusted comment: verify with /etc/ports/contrib.pub -RWSagIOpLGJF3zedHZR4DsSk7fGbDGjtfV/kpj00rVYtRCOJEHxc8EFK9eyv96Eifjx8yfIQpCfkifXEqToC1fQoah5i4oC4pAU= -SHA256 (Pkgfile) = 020241bb519632af70b4138dfa15635d75adf1d0e2cf112efe1047095674d195 +RWSagIOpLGJF35Ez8MZ/2X4OIBwTQFHZJ0KtKRzudcNrNfAmt8ikJdIb22EXy+uPN1TK0kFtmNQTEPnwGFrsq0jISnfEjC2o0Ag= +SHA256 (Pkgfile) = 62ac19a0eda7baa5910b800feb23344a57342647e8258a8d42cf06da4ad97fac SHA256 (.footprint) = e3df6a7a6c7e67eda43a1601493e29d219747e75b60864d8d2d5910c92a6e128 SHA256 (soxr-0.1.3-Source.tar.xz) = b111c15fdc8c029989330ff559184198c161100a59312f5dc19ddeb9b5a15889 diff --git a/libsoxr/Pkgfile b/libsoxr/Pkgfile index f20b927fe..5b65c1c48 100644 --- a/libsoxr/Pkgfile +++ b/libsoxr/Pkgfile @@ -9,19 +9,19 @@ release=1 source=(https://downloads.sourceforge.net/soxr/soxr-$version-Source.tar.xz) build() { - [[ -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' \ - -DWITH_LSR_BINDINGS='ON' \ - -DWITH_OPENMP='ON' \ - -DWITH_PFFFT='ON' + [[ -e /usr/bin/ninja ]] && PKGMK_SOXR+=' -G Ninja' + cmake -S soxr-$version-Source -B build $PKGMK_SOXR \ + -D CMAKE_INSTALL_PREFIX=/usr \ + -D CMAKE_BUILD_TYPE=Release \ + -D CMAKE_CXX_FLAGS_RELEASE="$CXXFLAGS -DNDEBUG" \ + -D CMAKE_C_FLAGS_RELEASE="$CFLAGS -DNDEBUG" \ + -D BUILD_EXAMPLES=OFF \ + -D BUILD_SHARED_LIBS=ON \ + -D WITH_AVFFT=ON \ + -D WITH_LSR_BINDINGS=ON \ + -D WITH_OPENMP=ON \ + -D WITH_PFFFT=ON \ + -Wno-dev cmake --build build DESTDIR=$PKG cmake --install build |