summaryrefslogtreecommitdiff
path: root/libebml
diff options
context:
space:
mode:
authorTim Biermann <tbier@posteo.de>2020-11-07 16:29:54 +0000
committerTim Biermann <tbier@posteo.de>2020-11-07 16:29:54 +0000
commitc89b510153363da45f7c287e5bd0e0664bf301ea (patch)
tree064c2aa09f4459d430f058057adace15afc081cf /libebml
parentddbe5999c07292444fa3dc3b0fb6dcd38caffc1e (diff)
downloadcontrib-c89b510153363da45f7c287e5bd0e0664bf301ea.tar.gz
contrib-c89b510153363da45f7c287e5bd0e0664bf301ea.tar.xz
libebml: updated cmake syntax
Diffstat (limited to 'libebml')
-rw-r--r--libebml/.signature4
-rw-r--r--libebml/Pkgfile14
2 files changed, 11 insertions, 7 deletions
diff --git a/libebml/.signature b/libebml/.signature
index 13423816f..da7d1c01c 100644
--- a/libebml/.signature
+++ b/libebml/.signature
@@ -1,5 +1,5 @@
untrusted comment: verify with /etc/ports/contrib.pub
-RWSagIOpLGJF34zW87MtgqO89u7dtyha5bfej+R307Cdfet7XN+JRjq+WMdWABOB9y/Kii4VKagF5hKpi0jAGRWRRoIwkNN8Sww=
-SHA256 (Pkgfile) = 86d60de0ffe1dc099d8ab29da8e17aa1a4554526d7582ec0693aadf1b0195129
+RWSagIOpLGJF35tCjJ6I/GngDKu/80+iLD4AWQ6at2pnEEeL86bqLpYvR2uuH+avMvxy2DTQlOpcGz+C6iwK7dbUKK77by7w5QM=
+SHA256 (Pkgfile) = 720b0f8b8b5f8b419cbcd162a5d1a3c5d617e52914efed041525c7f74bba6d67
SHA256 (.footprint) = 544f95100b22804152c894eef787a4c56485af7619fc745d26f072742172c902
SHA256 (libebml-1.4.0.tar.xz) = 80abc9a82549615018798ee704997270a39b43de9a6e7e0d23b62f8ce682c4b3
diff --git a/libebml/Pkgfile b/libebml/Pkgfile
index 3e6ab2a4e..e9ee15fa9 100644
--- a/libebml/Pkgfile
+++ b/libebml/Pkgfile
@@ -1,7 +1,7 @@
-# Description: A library for reading and writing files with the Extensible Binary Meta Language, a binary pendant to XML.
+# Description: A library for reading and writing files with the Extensible Binary Meta Language, a binary pendant to XML.
# URL: https://github.com/Matroska-Org/libebml
# Maintainer: Danny Rawlins, crux at romster dot me
-# Depends on: cmake ninja
+# Depends on: cmake
name=libebml
version=1.4.0
@@ -9,10 +9,14 @@ release=1
source=(https://dl.matroska.org/downloads/$name/$name-$version.tar.xz)
build() {
- cmake -S$name-$version -Bbuild -GNinja \
- -DCMAKE_BUILD_TYPE=Release \
+ [[ -e /usr/bin/ninja ]] && PKGMK_LIBEBML_OPTIONS=' -GNinja'
+ cmake -S$name-$version -Bbuild $PKGMK_LIBEBML_OPTIONS \
-DCMAKE_INSTALL_PREFIX=/usr \
- -DCMAKE_INSTALL_LIBDIR=/usr/lib \
+ -DCMAKE_INSTALL_LIBDIR=lib \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_CXX_FLAGS_RELEASE="$CXXFLAGS -DNDEBUG" \
+ -DCMAKE_C_FLAGS_RELEASE="$CFLAGS -DNDEBUG" \
+ -Wno-dev \
-DBUILD_SHARED_LIBS=ON
cmake --build build

Generated by cgit