diff options
author | Tim Biermann <tbier@posteo.de> | 2020-11-08 11:07:05 +0000 |
---|---|---|
committer | Tim Biermann <tbier@posteo.de> | 2020-11-08 13:41:14 +0000 |
commit | 905ef9525cf9728d06fa1fc40606d4f0ae2ac564 (patch) | |
tree | 8c168c34f167caa360c68370f85dae789341065f /fluidsynth | |
parent | 9bd020b9fd4885ce91476f75551aa96f1a5f259d (diff) | |
download | contrib-905ef9525cf9728d06fa1fc40606d4f0ae2ac564.tar.gz contrib-905ef9525cf9728d06fa1fc40606d4f0ae2ac564.tar.xz |
fluidsynth: updated cmake syntax
Diffstat (limited to 'fluidsynth')
-rw-r--r-- | fluidsynth/.signature | 4 | ||||
-rw-r--r-- | fluidsynth/Pkgfile | 15 |
2 files changed, 11 insertions, 8 deletions
diff --git a/fluidsynth/.signature b/fluidsynth/.signature index fa77b3886..c10b8cad6 100644 --- a/fluidsynth/.signature +++ b/fluidsynth/.signature @@ -1,5 +1,5 @@ untrusted comment: verify with /etc/ports/contrib.pub -RWSagIOpLGJF39G0lW6wsDXO9HUmhxS5W8k/qyBo0QuMvdLv9owugq5Z6XvSgMcjozmm4P9H1CIfvgY40cXVnu21Y2HHjqLpOQc= -SHA256 (Pkgfile) = 3c13e55ff83a957d49e638e842f4fc0cb336e3f0ead5436eddcaef33a5398889 +RWSagIOpLGJF30VGf6clXg7h7DmkUFpULxQ7miKrO9r8EELxqfRBh0/OtIcESNRTN66WG4N2XimWBllsn56n+FykY2943suG9gE= +SHA256 (Pkgfile) = 0d3381b64b1d737b807502a23a00858cc2470649e19a1169262f2a45b215edce SHA256 (.footprint) = 305d1c97bf3a9542e2a451c1a16983e452bf2803e878fd0ecf2095c98165ab39 SHA256 (fluidsynth-2.1.5.tar.gz) = b539b7c65a650b56f01cd60a4e83c6125c217c5a63c0c214ef6274894a677d00 diff --git a/fluidsynth/Pkgfile b/fluidsynth/Pkgfile index de7e8b56e..22ee3b6b3 100644 --- a/fluidsynth/Pkgfile +++ b/fluidsynth/Pkgfile @@ -11,10 +11,13 @@ release=1 source=(https://github.com/FluidSynth/fluidsynth/archive/v$version/$name-$version.tar.gz) build() { - cd $name-$version - mkdir build - cd build - cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DLIB_SUFFIX= -DCMAKE_BUILD_TYPE=Release - make - make DESTDIR=$PKG install + cmake -S$name-$version -Bbuild -GNinja \ + -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 LIB_SUFFIX= \ + -Wno-dev + cmake --build build + DESTDIR=$PKG cmake --install build } |