commit 7efad234dcded42b36cc13b0c65dffe47a2f74d5 Author: Tim Biermann <tbier@posteo.de> Date: Sun Oct 30 10:42:59 2022 +0000 openh264: initial commit, version 2.3.1 diff --git a/openh264/.footprint b/openh264/.footprint new file mode 100644 index 000000000..a662c3438 --- /dev/null +++ b/openh264/.footprint @@ -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 diff --git a/openh264/.signature b/openh264/.signature new file mode 100644 index 000000000..c48b91620 --- /dev/null +++ b/openh264/.signature @@ -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 diff --git a/openh264/Pkgfile b/openh264/Pkgfile new file mode 100644 index 000000000..0ac16744e --- /dev/null +++ b/openh264/Pkgfile @@ -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 +}