blob: 891a541a640a2ef1b7ca27e3178d762c02eb5bba (
plain)
1 # Description: An extensible open standard Audio/Video container format library.
2 # URL: https://github.com/Matroska-Org/libmatroska
3 # Maintainer: Danny Rawlins, crux at romster dot me
4 # Depends on: libebml
5
6 name=libmatroska
7 version=1.7.1
8 release=1
9 source=(https://dl.matroska.org/downloads/$name/$name-$version.tar.xz)
10
11 build() {
12 cmake -S $name-$version -B build -G Ninja \
13 -D CMAKE_INSTALL_PREFIX=/usr \
14 -D CMAKE_INSTALL_LIBDIR=lib \
15 -D CMAKE_BUILD_TYPE=Release \
16 -D CMAKE_CXX_FLAGS_RELEASE="$CXXFLAGS" \
17 -D CMAKE_C_FLAGS_RELEASE="$CFLAGS" \
18 -D BUILD_SHARED_LIBS=ON \
19 -Wno-dev
20
21 cmake --build build
22 DESTDIR=$PKG cmake --install build
23 }
|