mirror of
https://github.com/void-linux/void-packages.git
synced 2025-04-22 00:57:01 +02:00
27 lines
729 B
Bash
27 lines
729 B
Bash
# Template file for 'openh264'
|
|
pkgname=openh264
|
|
version=2.6.0
|
|
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=558544ad358283a7ab2930d69a9ceddf913f4a51ee9bf1bfb9e377322af81a69
|
|
|
|
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"
|
|
}
|
|
}
|