28 lines
729 B
Bash
28 lines
729 B
Bash
|
# 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"
|
||
|
}
|
||
|
}
|