ffms2: Update to 5.0

drop two backports and one patch refresh
This commit is contained in:
Christoph Reiter
2024-06-22 08:51:10 +02:00
parent 916f7fb3bf
commit d1a31fa2c0
2 changed files with 10 additions and 18 deletions

View File

@@ -1,10 +1,10 @@
--- a/Makefile.am
+++ b/Makefile.am
@@ -55,6 +55,7 @@
--- ffms2-5.0/Makefile.am.orig 2024-06-22 08:52:30.583621500 +0200
+++ ffms2-5.0/Makefile.am 2024-06-22 08:52:50.493819200 +0200
@@ -56,6 +56,7 @@
bin_PROGRAMS = src/index/ffmsindex
src_index_ffmsindex_SOURCES = src/index/ffmsindex.cpp
+src_index_ffmsindex_LDFLAGS = -municode
src_index_ffmsindex_LDADD = src/core/libffms2.la
src_index_ffmsindex_LDADD = -lavutil src/core/libffms2.la
.PHONY: test test-build test-clean test-sync test-run

View File

@@ -3,34 +3,26 @@
_realname=ffms2
pkgbase=mingw-w64-${_realname}
pkgname=("${MINGW_PACKAGE_PREFIX}-${_realname}")
pkgver=2.40
pkgrel=5
pkgver=5.0
pkgrel=1
pkgdesc="A cross-platform wrapper library around libav/FFmpeg (mingw-w64)"
arch=('any')
mingw_arch=('mingw32' 'mingw64' 'ucrt64' 'clang64' 'clangarm64' 'clang32')
url="https://github.com/FFMS/ffms2/"
license=('MIT')
license=('spdx:MIT')
options=('staticlibs' 'strip')
depends=("${MINGW_PACKAGE_PREFIX}-ffmpeg")
makedepends=("${MINGW_PACKAGE_PREFIX}-cc" "${MINGW_PACKAGE_PREFIX}-autotools")
source=("${_realname}-${pkgver}.tar.gz"::"https://github.com/FFMS/ffms2/archive/${pkgver}.tar.gz"
"0001-ffmsindex-add-municode-ldflag.patch"
"https://github.com/FFMS/ffms2/commit/586d87de3f896d0c4ff01b21f572375e11f9c3f1.patch"
"https://github.com/FFMS/ffms2/commit/45673149e9a2f5586855ad472e3059084eaa36b1.patch")
sha256sums=('82e95662946f3d6e1b529eadbd72bed196adfbc41368b2d50493efce6e716320'
'59e2150127dbdf2645bab6cbbd8842cc58dd33ce12238e76d1b2916d9d051f56'
'd5ec6ee44bf8f0a2bd943c1c61bace33b7b80559137b71fe5c4af5e7dd9ac7f8'
'ecef89ce1bb4158181c96eecdbc2c37e49a880a88e72a271b54ce98832dcf049')
"0001-ffmsindex-add-municode-ldflag.patch")
sha256sums=('7770af0bbc0063f9580a6a5c8e7c51f1788f171d7da0b352e48a1e60943a8c3c'
'956550396e90107bb173cc820ab666998287ce84c264a9da25313488ca727e4b')
prepare() {
cd "${srcdir}/${_realname}-${pkgver}"
patch -Np1 -i "${srcdir}/0001-ffmsindex-add-municode-ldflag.patch"
# ffmpeg 5
patch -Np1 -i "${srcdir}/586d87de3f896d0c4ff01b21f572375e11f9c3f1.patch"
patch -Np1 -i "${srcdir}/45673149e9a2f5586855ad472e3059084eaa36b1.patch"
mkdir -p src/config
autoreconf -fiv
}