[arch-commits] Commit in ffms2/trunk (PKGBUILD)

Maxime Gauduin alucryd at gemini.archlinux.org
Mon Jan 24 07:44:47 UTC 2022


    Date: Monday, January 24, 2022 @ 07:44:47
  Author: alucryd
Revision: 1114250

ffmpeg 5.0: ffms2 2.40-2

Modified:
  ffms2/trunk/PKGBUILD

----------+
 PKGBUILD |   20 ++++++++------------
 1 file changed, 8 insertions(+), 12 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-01-24 07:42:00 UTC (rev 1114249)
+++ PKGBUILD	2022-01-24 07:44:47 UTC (rev 1114250)
@@ -2,7 +2,7 @@
 
 pkgname=ffms2
 pkgver=2.40
-pkgrel=1
+pkgrel=2
 pkgdesc='A libav/ffmpeg based source library and Avisynth plugin for easy frame accurate access'
 arch=(x86_64)
 url=https://github.com/FFMS/ffms2
@@ -25,24 +25,21 @@
 source=(git+https://github.com/FFMS/ffms2.git#tag=${_tag})
 sha256sums=(SKIP)
 
-pkgver() {
-  cd ffms2
-
-  git describe --tags
-}
-
 prepare() {
   cd ffms2
-
+  git cherry-pick -n 586d87de3f896d0c4ff01b21f572375e11f9c3f1
   mkdir -p src/config
   autoreconf -fiv
 }
 
+pkgver() {
+  cd ffms2
+  git describe --tags
+}
+
 build() {
   cd ffms2
-
-  export CXXFLAGS="$CXXFLAGS $(pkg-config --cflags avisynth)"
-
+  export CXXFLAGS="$CXXFLAGS $(pkg-config --cflags avisynth) -fpermissive"
   ./configure \
     --prefix=/usr \
     --enable-avisynth \
@@ -53,7 +50,6 @@
 
 package() {
   make DESTDIR="${pkgdir}" -C ffms2 install
-
   for s in {avi,vapour}synth; do
     install -dm 755 "${pkgdir}"/usr/lib/$s
     ln -s ../libffms2.so "${pkgdir}"/usr/lib/$s/



More information about the arch-commits mailing list