forked from ports/contrib
audacity: updated cmake syntax
This commit is contained in:
parent
d4d75e60f0
commit
f18f837ff3
@ -1,6 +1,6 @@
|
||||
untrusted comment: verify with /etc/ports/contrib.pub
|
||||
RWSagIOpLGJF37RzhDX8r4IgL7Xc/WaORtwND2lqLdU0cqLgxU5HSrtt+mM7eA0Fm1e6axXUHqKaL9jjV4iJ9Vr5P4GRfq6cSAg=
|
||||
SHA256 (Pkgfile) = 278bfa97a24a4661d2200ded252902b7de054de233dfd5ea137e055ed9d6850a
|
||||
RWSagIOpLGJF3xfDieEjeNGtrXr7EoZrwUFpnCBaFBCoadEXNOekL2tU9mqPnF/hRg/19P8PStxZlMSoBR9a6w08FO2xy/zbygo=
|
||||
SHA256 (Pkgfile) = b91dee3a64c4fd85761eedfde53bae8a63bf7cea06e1086e45307616f6165d06
|
||||
SHA256 (.footprint) = 24e65bf69a344429e27f38b3f8175bf2f60c99e7b62bdab34a05d07bb3e72bd0
|
||||
SHA256 (Audacity-2.4.2.tar.gz) = cdb4800c8e9d1d4ca19964caf8d24000f80286ebd8a4db566c2622449744c099
|
||||
SHA256 (lame.pc) = cfb5ec8878759dc1076f667553bdd7176023b026fe6aaf102ac11717c39433bf
|
||||
|
@ -22,14 +22,14 @@ build() {
|
||||
|
||||
[ -e '/usr/bin/ccache' ] && PATH=$(echo ${PATH} | awk -v RS=: -v ORS=: '/ccache/ {next} {print}' | sed 's/:*$//')
|
||||
|
||||
cmake -S$name-Audacity-$version -Bbuild -GNinja \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||
-DCMAKE_INSTALL_LIBDIR=lib \
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
-DCMAKE_CXX_FLAGS_RELEASE="$CXXFLAGS -DNDEBUG" \
|
||||
-DCMAKE_C_FLAGS_RELEASE="$CFLAGS -DNDEBUG" \
|
||||
cmake -S $name-Audacity-$version -B build -G Ninja \
|
||||
-D CMAKE_INSTALL_PREFIX=/usr \
|
||||
-D CMAKE_INSTALL_LIBDIR=lib \
|
||||
-D CMAKE_BUILD_TYPE=Release \
|
||||
-D CMAKE_CXX_FLAGS_RELEASE="$CXXFLAGS -DNDEBUG" \
|
||||
-D CMAKE_C_FLAGS_RELEASE="$CFLAGS -DNDEBUG" \
|
||||
-D BUILD_SHARED_LIBS=True \
|
||||
-Wno-dev \
|
||||
-DBUILD_SHARED_LIBS=True
|
||||
|
||||
cmake --build build
|
||||
DESTDIR=$PKG cmake --install build
|
||||
|
Loading…
x
Reference in New Issue
Block a user