summaryrefslogtreecommitdiff
path: root/libebur128
diff options
context:
space:
mode:
authorTim Biermann <tbier@posteo.de>2020-11-08 11:42:17 +0000
committerTim Biermann <tbier@posteo.de>2020-11-08 13:41:14 +0000
commit43b54d0a3d6603aab285b7a948126a180f8c373d (patch)
tree08fbb0dae6d592f1e9cd68b0e832595d496bf123 /libebur128
parentb5edc518ae86e085bf5a189a9229092d7c7f0608 (diff)
downloadcontrib-43b54d0a3d6603aab285b7a948126a180f8c373d.tar.gz
contrib-43b54d0a3d6603aab285b7a948126a180f8c373d.tar.xz
libebur128: updated cmake syntax
Diffstat (limited to 'libebur128')
-rw-r--r--libebur128/.signature4
-rw-r--r--libebur128/Pkgfile15
2 files changed, 11 insertions, 8 deletions
diff --git a/libebur128/.signature b/libebur128/.signature
index 4d128fb06..6f04716ed 100644
--- a/libebur128/.signature
+++ b/libebur128/.signature
@@ -1,5 +1,5 @@
untrusted comment: verify with /etc/ports/contrib.pub
-RWSagIOpLGJF398EmujS55Nhhtzjns2zSkZkTGLooygb2K9lS1Ax/0aBt02jZN7AnbpuwWVIJsQVYQ1QRuaq7BDW0pcKk9PHnw4=
-SHA256 (Pkgfile) = 78bee3a881f798c7a02dcd52899c2bff67b5254dce7f9a285425a8e9ab1b6e6e
+RWSagIOpLGJF339MtT/FKxyWY/XbsUj4nbguIsB8p5jpsAeg4M/pWymRoaz5tWIfR/O66q5zYRTqgGtYRxtgeWUz/HpPelLrfAw=
+SHA256 (Pkgfile) = 0d6d9b307a8f0479f5d87cea91bd3fd10a8f8ada51164955ab21cc9028669b23
SHA256 (.footprint) = c92f41f735df172facbbdbec192ddd40ce457a60866d33025422ce08a79e8fdc
SHA256 (libebur128-1.2.4.tar.gz) = 2ee41a3a5ae3891601ae975d5ec2642b997d276ef647cf5c5b363b6127f7add8
diff --git a/libebur128/Pkgfile b/libebur128/Pkgfile
index 39ac40548..cc236c201 100644
--- a/libebur128/Pkgfile
+++ b/libebur128/Pkgfile
@@ -9,12 +9,15 @@ release=1
source=(https://github.com/jiixyj/libebur128/archive/v$version/$name-$version.tar.gz)
build() {
- [[ -e /usr/bin/ninja ]] && PKGMK_LIBEBUR128_OPTIONS=' -GNinja'
- cmake -S$name-$version -Bbuild $PKGMK_LIBEBUR128_OPTIONS \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DCMAKE_INSTALL_LIBDIR=lib \
- -DCMAKE_BUILD_TYPE=Release \
- -DBUILD_STATIC_LIBS=OFF
+ [[ -e /usr/bin/ninja ]] && PKGMK_LIBEBUR128+=' -G Ninja'
+ cmake -S $name-$version -B build $PKGMK_LIBEBUR128 \
+ -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_STATIC_LIBS=OFF \
+ -Wno-dev
cmake --build build
DESTDIR=$PKG cmake --install build
}

Generated by cgit