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

Maxime Gauduin alucryd at archlinux.org
Sat Sep 7 07:49:55 UTC 2019


    Date: Saturday, September 7, 2019 @ 07:49:55
  Author: alucryd
Revision: 362008

upgpkg: ffmpeg 1:4.2.1-1

Modified:
  ffmpeg/trunk/PKGBUILD

----------+
 PKGBUILD |   16 +++++++++++-----
 1 file changed, 11 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-09-07 07:19:27 UTC (rev 362007)
+++ PKGBUILD	2019-09-07 07:49:55 UTC (rev 362008)
@@ -5,8 +5,8 @@
 # Contributor: Paul Mattal <paul at archlinux.org>
 
 pkgname=ffmpeg
-pkgver=4.2
-pkgrel=4
+pkgver=4.2.1
+pkgrel=1
 epoch=1
 pkgdesc='Complete solution to record, convert and stream audio and video'
 arch=(x86_64)
@@ -80,14 +80,20 @@
   libswresample.so
   libswscale.so
 )
-source=(git+https://git.ffmpeg.org/ffmpeg.git#tag=n${pkgver})
-sha256sums=('SKIP')
+source=(git+https://git.ffmpeg.org/ffmpeg.git#tag=cbb3c9497549f8856d8cd37ac63af1406a784e58)
+sha256sums=(SKIP)
 
+pkgver() {
+  cd ffmpeg
+
+  git describe --tags | sed 's/^n//'
+}
+
 build() {
   cd ffmpeg
 
   ./configure \
-    --prefix='/usr' \
+    --prefix=/usr \
     --disable-debug \
     --disable-static \
     --disable-stripping \



More information about the arch-commits mailing list