2023-08-13 11:05:42 +02:00
|
|
|
# Description: A library for reading and writing files with the Extensible Binary Meta Language, a binary pendant to XML
|
2017-10-12 21:47:31 +11:00
|
|
|
# URL: https://github.com/Matroska-Org/libebml
|
2023-08-13 11:05:42 +02:00
|
|
|
# Maintainer: Tim Biermann, tbier at posteo dot de
|
2008-02-13 15:08:48 -05:00
|
|
|
|
|
|
|
name=libebml
|
2022-10-09 13:15:30 +02:00
|
|
|
version=1.4.4
|
2008-02-13 15:08:48 -05:00
|
|
|
release=1
|
2017-10-12 21:47:31 +11:00
|
|
|
source=(https://dl.matroska.org/downloads/$name/$name-$version.tar.xz)
|
2008-02-13 15:08:48 -05:00
|
|
|
|
2010-12-15 00:12:38 +11:00
|
|
|
build() {
|
2023-08-13 11:05:42 +02:00
|
|
|
cmake -S $name-$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" \
|
|
|
|
-D CMAKE_C_FLAGS_RELEASE="$CFLAGS" \
|
|
|
|
-D BUILD_SHARED_LIBS=ON \
|
|
|
|
-Wno-dev
|
2015-04-22 23:59:00 +10:00
|
|
|
|
2023-08-13 11:05:42 +02:00
|
|
|
cmake --build build
|
|
|
|
DESTDIR=$PKG cmake --install build
|
2008-02-13 15:08:48 -05:00
|
|
|
}
|