mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-02-16 23:57:11 +00:00
extra/ffmpeg to 4.0.2-1
This commit is contained in:
parent
858418009f
commit
d4e804e11b
1 changed files with 8 additions and 14 deletions
|
@ -11,8 +11,8 @@
|
|||
# - remove depends on aom, remove --enable-libaom
|
||||
|
||||
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')
|
||||
|
@ -28,22 +28,18 @@ depends=(
|
|||
'libva-x11.so' 'libvidstab.so' 'libvorbisenc.so' 'libvorbis.so' 'libvpx.so'
|
||||
'libx264.so' 'libx265.so' 'libxvidcore.so'
|
||||
)
|
||||
makedepends=('ladspa' 'yasm')
|
||||
makedepends=('git' 'ladspa' 'yasm')
|
||||
optdepends=('ladspa: LADSPA filters')
|
||||
provides=(
|
||||
'libavcodec.so' 'libavdevice.so' 'libavfilter.so' 'libavformat.so'
|
||||
'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
|
||||
|
||||
[[ $CARCH == "armv7h" || $CARCH == "aarch64" ]] && CONFIG='--host-cflags="-fPIC"'
|
||||
|
||||
|
@ -98,10 +94,8 @@ build() {
|
|||
}
|
||||
|
||||
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:
|
||||
|
|
Loading…
Reference in a new issue