New package: openh264-2.4.1

This commit is contained in:
John 2024-08-01 00:17:02 +02:00 committed by John Zimmermann
parent 27825b1da5
commit be1305b413
3 changed files with 29 additions and 0 deletions

View File

@ -414,6 +414,7 @@ libavfilter.so.7 libavfilter-4.0_1
libSDL-1.2.so.0 SDL-1.2.14_1
libSDL_image-1.2.so.0 SDL_image-1.2.10_1
libx264.so.157 x264-20190507.2245_1
libopenh264.so.7 openh264-2.4.1_1
libxvidcore.so.4 xvidcore-1.2.2_1
libtag.so.1 taglib-1.6.1_1
libtag-extras.so.1 taglib-extras-1.0.1_1

1
srcpkgs/openh264-devel Symbolic link
View File

@ -0,0 +1 @@
openh264

27
srcpkgs/openh264/template Normal file
View File

@ -0,0 +1,27 @@
# Template file for 'openh264'
pkgname=openh264
version=2.4.1
revision=1
build_style=meson
hostmakedepends="nasm pkg-config"
checkdepends="gtest-devel"
short_desc="OpenH264 is a codec library which supports H.264 encoding and decoding"
maintainer="John <me@johnnynator.dev>"
license="BSD-2-Clause"
homepage="https://github.com/cisco/openh264"
distfiles="https://github.com/cisco/openh264/archive/v$version.tar.gz"
checksum=8ffbe944e74043d0d3fb53d4a2a14c94de71f58dbea6a06d0dc92369542958ea
post_install() {
vlicense LICENSE
}
openh264-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
}
}