blob: 0ac16744ee6b4868a34d7e709d8ca8c7e947d9d2 (
plain)
1 # Description: Open Source h264 codec implementation
2 # URL: https://www.openh264.org/
3 # Maintainer: Tim Biermann, tbier at posteo dot de
4 # Depends on: nasm
5
6 name=openh264
7 version=2.3.1
8 release=1
9 source=(https://github.com/cisco/openh264/archive/v$version/$name-$version.tar.gz)
10
11 build() {
12 meson setup $name-$version build \
13 --prefix=/usr \
14 --buildtype=plain \
15 --wrap-mode nodownload \
16 -D b_lto=true \
17 -D b_pie=true \
18 -D tests=disabled
19
20 meson compile -C build
21 DESTDIR=$PKG meson install -C build
22
23 install -Dm755 build/codec/console/dec/h264dec $PKG/usr/bin/h264dec
24 install -Dm755 build/codec/console/enc/h264enc $PKG/usr/bin/h264enc
25 }
|