2023-08-13 11:01:19 +02:00
|
|
|
# Description: An extensible open standard Audio/Video container format library
|
2017-10-12 21:49:50 +11:00
|
|
|
# URL: https://github.com/Matroska-Org/libmatroska
|
2023-08-13 11:01:19 +02:00
|
|
|
# Maintainer: Tim Biermann, tbier at posteo dot de
|
2008-02-13 15:09:14 -05:00
|
|
|
# Depends on: libebml
|
|
|
|
|
|
|
|
name=libmatroska
|
2022-10-09 13:15:03 +02:00
|
|
|
version=1.7.1
|
2008-02-13 15:09:14 -05:00
|
|
|
release=1
|
2017-10-12 21:49:50 +11:00
|
|
|
source=(https://dl.matroska.org/downloads/$name/$name-$version.tar.xz)
|
2008-02-13 15:09:14 -05:00
|
|
|
|
2010-12-15 00:17:45 +11:00
|
|
|
build() {
|
2023-08-13 11:01:19 +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:56 +10:00
|
|
|
|
2023-08-13 11:01:19 +02:00
|
|
|
cmake --build build
|
|
|
|
DESTDIR=$PKG cmake --install build
|
2008-02-13 15:09:14 -05:00
|
|
|
}
|