ffms2: update to 2.40.

Closes: #25850 [via git-merge-pr]
This commit is contained in:
DirectorX 2020-10-24 20:12:02 +03:00 committed by Érico Rolim
parent 9a1ffa48af
commit f6fb190ab4

View file

@ -1,19 +1,27 @@
# Template file for 'ffms2'
pkgname=ffms2
version=2.23.1
revision=3
_version=2.23
wrksrc="${pkgname}-${_version}"
version=2.40
revision=1
build_style=gnu-configure
configure_args="--enable-shared --disable-static"
hostmakedepends="pkg-config"
hostmakedepends="pkg-config autoconf automake libtool"
makedepends="ffmpeg-devel zlib-devel"
short_desc="A libav/ffmpeg based frames server"
short_desc="Libav/ffmpeg based frames server"
maintainer="DirectorX <void.directorx@protonmail.com>"
license="MIT, GPL-3.0-or-later"
homepage="https://github.com/FFMS/ffms2"
distfiles="${homepage}/archive/${_version}.tar.gz"
checksum=b09b2aa2b1c6f87f94a0a0dd8284b3c791cbe77f0f3df57af99ddebcd15273ed
distfiles="${homepage}/archive/${version}.tar.gz"
checksum=82e95662946f3d6e1b529eadbd72bed196adfbc41368b2d50493efce6e716320
if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
makedepends+=" libatomic-devel"
LDFLAGS="-latomic"
fi
pre_configure() {
mkdir -p src/config
autoreconf -vfi
}
post_install() {
vmkdir usr/lib/vapoursynth
@ -23,7 +31,6 @@ post_install() {
vlicense COPYING
}
libffms2-devel_package() {
depends="${makedepends} libffms2>=${version}_${revision}"
short_desc+=" - development files"
@ -42,6 +49,7 @@ libffms2_package() {
}
vapoursynth-ffms2-source_package() {
short_desc+=" - vapoursynth plugin"
depends="libffms2>=${version}_${revision}"
pkg_install() {
vmove usr/lib/vapoursynth