extra/x264 to 157.r72db4377-1

This commit is contained in:
Kevin Mihelich 2019-03-31 17:51:33 +00:00
parent 73b9434d55
commit ed72473cc4

View file

@ -10,24 +10,42 @@
# - --disable-lto
pkgname=x264
pkgver=155.r0a84d986
pkgrel=2
pkgver=157.r72db4377
pkgrel=1
epoch=2
pkgdesc='Open Source H264/AVC video encoder'
arch=('x86_64')
url='https://www.videolan.org/developers/x264.html'
license=('GPL')
arch=(x86_64)
url=https://www.videolan.org/developers/x264.html
license=(GPL)
depends=(
'libavcodec.so' 'libavformat.so' 'libavutil.so' 'liblsmash.so'
'libswscale.so'
libavcodec.so
libavformat.so
libavutil.so
liblsmash.so
libswscale.so
)
makedepends=('git' 'ffmpeg' 'l-smash' 'nasm')
provides=('libx264' 'libx264.so')
conflicts=('libx264' 'libx264-10bit' 'libx264-all')
replaces=('libx264' 'libx264-10bit' 'libx264-all')
_commit='0a84d986e7020f8344f00752e3600b9769cc1e85'
source=("git+https://git.videolan.org/git/x264.git#commit=${_commit}")
sha256sums=('SKIP')
makedepends=(
git
ffmpeg
l-smash
nasm
)
provides=(
libx264
libx264.so
)
conflicts=(
libx264
libx264-10bit
libx264-all
)
replaces=(
libx264
libx264-10bit
libx264-all
)
source=(git+https://code.videolan.org/videolan/x264.git#commit=72db437770fd1ce3961f624dd57a8e75ff65ae0b)
sha256sums=(SKIP)
pkgver() {
cd x264
@ -51,7 +69,7 @@ build() {
[[ $CARCH != "aarch64" ]] && CONFIG="--disable-asm"
../x264/configure \
--prefix='/usr' \
--prefix=/usr \
--enable-shared \
--enable-pic \
--disable-lto $CONFIG