openh264: initial commit, version 2.3.1

This commit is contained in:
Tim Biermann 2022-10-30 10:42:59 +00:00
parent cbc7c991bf
commit 7efad234dc
Signed by: tb
GPG Key ID: 42F8B4E30B673606
3 changed files with 46 additions and 0 deletions

16
openh264/.footprint Normal file
View File

@ -0,0 +1,16 @@
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/bin/
-rwxr-xr-x root/root usr/bin/h264dec
-rwxr-xr-x root/root usr/bin/h264enc
drwxr-xr-x root/root usr/include/
drwxr-xr-x root/root usr/include/wels/
-rw-r--r-- root/root usr/include/wels/codec_api.h
-rw-r--r-- root/root usr/include/wels/codec_app_def.h
-rw-r--r-- root/root usr/include/wels/codec_def.h
-rw-r--r-- root/root usr/include/wels/codec_ver.h
drwxr-xr-x root/root usr/lib/
lrwxrwxrwx root/root usr/lib/libopenh264.so -> libopenh264.so.7
-rwxr-xr-x root/root usr/lib/libopenh264.so.2.3.1
lrwxrwxrwx root/root usr/lib/libopenh264.so.7 -> libopenh264.so.2.3.1
drwxr-xr-x root/root usr/lib/pkgconfig/
-rw-r--r-- root/root usr/lib/pkgconfig/openh264.pc

5
openh264/.signature Normal file
View File

@ -0,0 +1,5 @@
untrusted comment: verify with /etc/ports/contrib.pub
RWSagIOpLGJF34QOdm9FVyrO3HZBaW0Vb4jMzfEVGsjhk23BfY4dHk3M0ktZj/X72BTV2giJG/opSEUoYzFAGzHf9OOv2QduwQg=
SHA256 (Pkgfile) = e6ce75a38d294046497998fe943a17f149163c00ecf4a02e8cff7b724cf031f3
SHA256 (.footprint) = 50282ed8687a613b99b1896d8ce298cb8eddedbd289cc1e39faef71f5b0e3765
SHA256 (openh264-2.3.1.tar.gz) = 453afa66dacb560bc5fd0468aabee90c483741571bca820a39a1c07f0362dc32

25
openh264/Pkgfile Normal file
View File

@ -0,0 +1,25 @@
# Description: Open Source h264 codec implementation
# URL: https://www.openh264.org/
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on: nasm
name=openh264
version=2.3.1
release=1
source=(https://github.com/cisco/openh264/archive/v$version/$name-$version.tar.gz)
build() {
meson setup $name-$version build \
--prefix=/usr \
--buildtype=plain \
--wrap-mode nodownload \
-D b_lto=true \
-D b_pie=true \
-D tests=disabled
meson compile -C build
DESTDIR=$PKG meson install -C build
install -Dm755 build/codec/console/dec/h264dec $PKG/usr/bin/h264dec
install -Dm755 build/codec/console/enc/h264enc $PKG/usr/bin/h264enc
}