forked from ports/contrib
chromaprint: updated cmake syntax
This commit is contained in:
parent
f18f837ff3
commit
8cd2e34d1e
@ -1,5 +1,5 @@
|
||||
untrusted comment: verify with /etc/ports/contrib.pub
|
||||
RWSagIOpLGJF3zN21eQxpeIX7KRlci2ohKhUgs0nicxHKXv3k3gVYVAi+OflyO8ZB0+feiWfMKjAa6KoOCzqH+FpFpN2l1bKcwE=
|
||||
SHA256 (Pkgfile) = 6746f3db6508953ccf778249accd08ce3cd2edd4f6d49e3e520678b2ba4b5f41
|
||||
RWSagIOpLGJF329sngfGU2bV/kH1t6KnxB6N9cl/zIzmkUnbnP/p3Mownj4KwfIjtGfUYHl+toNpqCdr3Jl751F4eofUfVDw9Ac=
|
||||
SHA256 (Pkgfile) = 4b72d9fe32198dcb1fa5ba10178b6c8a410a0701d345090624be7375b43c8095
|
||||
SHA256 (.footprint) = 7a05f0ddab434ff55fafcfdf74cd82e5b1709700fa4639d81b062ac41ac888a6
|
||||
SHA256 (chromaprint-1.5.0.tar.gz) = 573a5400e635b3823fc2394cfa7a217fbb46e8e50ecebd4a61991451a8af766a
|
||||
|
@ -10,12 +10,13 @@ release=1
|
||||
source=(https://github.com/acoustid/chromaprint/releases/download/v$version/$name-$version.tar.gz)
|
||||
|
||||
build() {
|
||||
cmake -S$name-v$version -Bbuild -GNinja \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||
-DCMAKE_BUILD_TYPE=RELEASE \
|
||||
-DCMAKE_CXX_FLAGS_RELEASE="$CXXFLAGS -DNDEBUG" \
|
||||
-DCMAKE_C_FLAGS_RELEASE="$CFLAGS -DNDEBUG" \
|
||||
-DBUILD_TESTS=OFF
|
||||
cmake -S $name-v$version -B build -G Ninja \
|
||||
-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_TESTS=OFF \
|
||||
-Wno-dev
|
||||
|
||||
cmake --build build
|
||||
DESTDIR=$PKG cmake --install build
|
||||
|
Loading…
x
Reference in New Issue
Block a user