[arch-commits] Commit in ffms2/repos/community-x86_64 (PKGBUILD PKGBUILD)

Maxime Gauduin alucryd at archlinux.org
Sun Sep 13 10:36:33 UTC 2020


    Date: Sunday, September 13, 2020 @ 10:36:32
  Author: alucryd
Revision: 705099

archrelease: copy trunk to community-x86_64

Added:
  ffms2/repos/community-x86_64/PKGBUILD
    (from rev 705098, ffms2/trunk/PKGBUILD)
Deleted:
  ffms2/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |  100 ++++++++++++++++++++++++++++++++++++++-----------------------
 1 file changed, 63 insertions(+), 37 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-09-13 10:36:28 UTC (rev 705098)
+++ PKGBUILD	2020-09-13 10:36:32 UTC (rev 705099)
@@ -1,37 +0,0 @@
-# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
-
-pkgname=ffms2
-pkgver=2.23.1
-pkgrel=4
-pkgdesc='A libav/ffmpeg based source library and Avisynth plugin for easy frame accurate access'
-arch=('x86_64')
-url='https://github.com/FFMS/ffms2'
-license=('GPL')
-depends=('ffmpeg')
-makedepends=('git')
-provides=('vapoursynth-plugin-ffms2'
-          'libffms2.so')
-source=("ffms2-${pkgver}.tar.gz::https://github.com/FFMS/ffms2/archive/${pkgver%.*}.tar.gz")
-sha256sums=('b09b2aa2b1c6f87f94a0a0dd8284b3c791cbe77f0f3df57af99ddebcd15273ed')
-
-build() {
-  cd ffms2-${pkgver%.*}
-
-  ./configure \
-    --prefix='/usr' \
-    --enable-avresample \
-    --enable-shared \
-    --disable-static
-  make
-}
-
-package() {
-  cd ffms2-${pkgver%.*}
-
-  make DESTDIR="${pkgdir}" install
-
-  install -dm 755 "${pkgdir}"/usr/lib/vapoursynth
-  ln -s ../libffms2.so "${pkgdir}"/usr/lib/vapoursynth/
-}
-
-# vim: ts=2 sw=2 et:

Copied: ffms2/repos/community-x86_64/PKGBUILD (from rev 705098, ffms2/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-09-13 10:36:32 UTC (rev 705099)
@@ -0,0 +1,63 @@
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+
+pkgname=ffms2
+pkgver=2.40
+pkgrel=1
+pkgdesc='A libav/ffmpeg based source library and Avisynth plugin for easy frame accurate access'
+arch=(x86_64)
+url=https://github.com/FFMS/ffms2
+license=(GPL)
+depends=(ffmpeg)
+makedepends=(
+  avisynthplus
+  git
+)
+optdepends=(
+  'avisynthplus: AviSynth plugin'
+  'vapoursynth: VapourSynth plugin'
+)
+provides=(
+  avisynth-plugin-ffms2
+  libffms2.so
+  vapoursynth-plugin-ffms2
+)
+_tag=55c2af57f1bdc587ca98d2e28d3d764c00b3e13a
+source=(git+https://github.com/FFMS/ffms2.git#tag=${_tag})
+sha256sums=(SKIP)
+
+pkgver() {
+  cd ffms2
+
+  git describe --tags
+}
+
+prepare() {
+  cd ffms2
+
+  mkdir -p src/config
+  autoreconf -fiv
+}
+
+build() {
+  cd ffms2
+
+  export CXXFLAGS="$CXXFLAGS $(pkg-config --cflags avisynth)"
+
+  ./configure \
+    --prefix=/usr \
+    --enable-avisynth \
+    --enable-shared \
+    --disable-static
+  make
+}
+
+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/
+  done
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list