mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
alarm/ffmpeg-rpi to 4.4.2-4
Switch to building from tarball
This commit is contained in:
parent
e00fd38815
commit
4a3ce54515
1 changed files with 10 additions and 14 deletions
|
@ -6,9 +6,8 @@
|
|||
|
||||
pkgbase=ffmpeg-rpi
|
||||
pkgname=($pkgbase $pkgbase-bin)
|
||||
_tag=d61977cbe453869cec28d32b71fe25c2cd965dcf
|
||||
pkgver=4.4.2
|
||||
pkgrel=3
|
||||
pkgrel=4
|
||||
arch=(aarch64)
|
||||
url=https://ffmpeg.org/
|
||||
license=(GPL3)
|
||||
|
@ -75,26 +74,23 @@ depends=(
|
|||
zlib
|
||||
)
|
||||
options=(debug)
|
||||
source=(git+https://git.ffmpeg.org/ffmpeg.git#tag=${_tag}
|
||||
source=(https://ffmpeg.org/releases/${pkgname/-rpi}-$pkgver.tar.xz{,.asc}
|
||||
0001-vmaf-model-path.patch
|
||||
0002-avcodec-arm-sbcenc-avoid-callee-preserved-vfp-regist.patch
|
||||
0003-ffmpeg-4.4n-rpi.patch
|
||||
0004-fix_flags.patch
|
||||
)
|
||||
sha256sums=('SKIP'
|
||||
sha256sums=('af419a7f88adbc56c758ab19b4c708afbcae15ef09606b82b855291f6a6faa93'
|
||||
'SKIP'
|
||||
'8dff51f84a5f7460f8893f0514812f5d2bd668c3276ef7ab7713c99b71d7bd8d'
|
||||
'06bd27ca2316cec738ff53ec827b2795bd9fbcba9f78d88af49c329f8569db5c'
|
||||
'590d2e90ddbc4130f9a01f11f8c2688a8b138dce1503dc7f5bc2a5b42c6ad42e'
|
||||
'656d1d57e6163801d8345c8937e88842661135197c1ab71dd1b97d013f0065ba')
|
||||
|
||||
pkgver() {
|
||||
cd ffmpeg
|
||||
git describe --tags | sed 's/^n//'
|
||||
}
|
||||
validpgpkeys=('FCF986EA15E6E293A5644F10B4322F04D67658D8')
|
||||
|
||||
prepare() {
|
||||
cd ffmpeg
|
||||
git cherry-pick -n 988f2e9eb063db7c1a678729f58aab6eba59a55b # fix nvenc on older gpus
|
||||
cd "${pkgname/-rpi}-$pkgver"
|
||||
|
||||
local src
|
||||
for src in "${source[@]}"; do
|
||||
src="${src%%::*}"
|
||||
|
@ -106,7 +102,7 @@ prepare() {
|
|||
}
|
||||
|
||||
build() {
|
||||
cd ffmpeg
|
||||
cd "${pkgname/-rpi}-$pkgver"
|
||||
|
||||
# -march= defined in /etc/makepkg.conf will override the value for -mcpu we
|
||||
# uses here so unset them and redefine below
|
||||
|
@ -214,7 +210,7 @@ package_ffmpeg-rpi() {
|
|||
)
|
||||
conflicts=(ffmpeg4.4 ffmpeg-shinobi)
|
||||
|
||||
make DESTDIR="${pkgdir}" -C ffmpeg install
|
||||
make DESTDIR="${pkgdir}" -C "${pkgname/-rpi}-$pkgver" install
|
||||
|
||||
cd "${pkgdir}"
|
||||
|
||||
|
@ -238,7 +234,7 @@ package_ffmpeg-rpi-bin() {
|
|||
conflicts=(ffmpeg4.4 ffmpeg-shinobi ffmpeg)
|
||||
provides=(ffmpeg)
|
||||
|
||||
make DESTDIR="${pkgdir}" -C ffmpeg install install-man
|
||||
make DESTDIR="${pkgdir}" -C "${pkgname/-rpi-bin}-$pkgver" install install-man
|
||||
|
||||
cd "${pkgdir}"
|
||||
|
||||
|
|
Loading…
Reference in a new issue