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

Maxime Gauduin alucryd at archlinux.org
Thu Jul 19 17:34:24 UTC 2018


    Date: Thursday, July 19, 2018 @ 17:34:24
  Author: alucryd
Revision: 329068

upgpkg: ffmpeg 1:4.0.2-1

Modified:
  ffmpeg/trunk/PKGBUILD

----------+
 PKGBUILD |   22 ++++++++--------------
 1 file changed, 8 insertions(+), 14 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-07-19 17:32:15 UTC (rev 329067)
+++ PKGBUILD	2018-07-19 17:34:24 UTC (rev 329068)
@@ -6,8 +6,8 @@
 # Contributor: Paul Mattal <paul at archlinux.org>
 
 pkgname=ffmpeg
-pkgver=4.0.1
-pkgrel=3
+pkgver=4.0.2
+pkgrel=1
 epoch=1
 pkgdesc='Complete solution to record, convert and stream audio and video'
 arch=('x86_64')
@@ -23,7 +23,7 @@
   'libva-x11.so' 'libvidstab.so' 'libvorbisenc.so' 'libvorbis.so' 'libvpx.so'
   'libx264.so' 'libx265.so' 'libxvidcore.so'
 )
-makedepends=('ffnvcodec-headers' 'ladspa' 'yasm')
+makedepends=('ffnvcodec-headers' 'git' 'ladspa' 'yasm')
 optdepends=('ladspa: LADSPA filters')
 provides=(
   'libavcodec.so' 'libavdevice.so' 'libavfilter.so' 'libavformat.so'
@@ -30,15 +30,11 @@
   'libavresample.so' 'libavutil.so' 'libpostproc.so' 'libswresample.so'
   'libswscale.so'
 )
-source=("https://ffmpeg.org/releases/ffmpeg-${pkgver}.tar.xz"{,.asc})
-validpgpkeys=('FCF986EA15E6E293A5644F10B4322F04D67658D8')
-sha256sums=(
-  '605f5c01c60db35d3b617a79cabb2c7032412be243554602eeed1b628125c0ee'
-  'SKIP'
-)
+source=("git+https://git.ffmpeg.org/ffmpeg.git#tag=n${pkgver}")
+sha256sums=('SKIP')
 
 build() {
-  cd ffmpeg-${pkgver}
+  cd ffmpeg
 
   ./configure \
     --prefix='/usr' \
@@ -92,10 +88,8 @@
 }
 
 package() {
-  cd ffmpeg-${pkgver}
-
-  make DESTDIR="${pkgdir}" install install-man
-  install -Dm 755 tools/qt-faststart "${pkgdir}"/usr/bin/
+  make DESTDIR="${pkgdir}" -C ffmpeg install install-man
+  install -Dm 755 ffmpeg/tools/qt-faststart "${pkgdir}"/usr/bin/
 }
 
 # vim: ts=2 sw=2 et:



More information about the arch-commits mailing list