mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-03-19 00:21:40 +00:00
extra/x264 to 157.r72db4377-1
This commit is contained in:
parent
73b9434d55
commit
ed72473cc4
1 changed files with 33 additions and 15 deletions
|
@ -10,24 +10,42 @@
|
||||||
# - --disable-lto
|
# - --disable-lto
|
||||||
|
|
||||||
pkgname=x264
|
pkgname=x264
|
||||||
pkgver=155.r0a84d986
|
pkgver=157.r72db4377
|
||||||
pkgrel=2
|
pkgrel=1
|
||||||
epoch=2
|
epoch=2
|
||||||
pkgdesc='Open Source H264/AVC video encoder'
|
pkgdesc='Open Source H264/AVC video encoder'
|
||||||
arch=('x86_64')
|
arch=(x86_64)
|
||||||
url='https://www.videolan.org/developers/x264.html'
|
url=https://www.videolan.org/developers/x264.html
|
||||||
license=('GPL')
|
license=(GPL)
|
||||||
depends=(
|
depends=(
|
||||||
'libavcodec.so' 'libavformat.so' 'libavutil.so' 'liblsmash.so'
|
libavcodec.so
|
||||||
'libswscale.so'
|
libavformat.so
|
||||||
|
libavutil.so
|
||||||
|
liblsmash.so
|
||||||
|
libswscale.so
|
||||||
)
|
)
|
||||||
makedepends=('git' 'ffmpeg' 'l-smash' 'nasm')
|
makedepends=(
|
||||||
provides=('libx264' 'libx264.so')
|
git
|
||||||
conflicts=('libx264' 'libx264-10bit' 'libx264-all')
|
ffmpeg
|
||||||
replaces=('libx264' 'libx264-10bit' 'libx264-all')
|
l-smash
|
||||||
_commit='0a84d986e7020f8344f00752e3600b9769cc1e85'
|
nasm
|
||||||
source=("git+https://git.videolan.org/git/x264.git#commit=${_commit}")
|
)
|
||||||
sha256sums=('SKIP')
|
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() {
|
pkgver() {
|
||||||
cd x264
|
cd x264
|
||||||
|
@ -51,7 +69,7 @@ build() {
|
||||||
[[ $CARCH != "aarch64" ]] && CONFIG="--disable-asm"
|
[[ $CARCH != "aarch64" ]] && CONFIG="--disable-asm"
|
||||||
|
|
||||||
../x264/configure \
|
../x264/configure \
|
||||||
--prefix='/usr' \
|
--prefix=/usr \
|
||||||
--enable-shared \
|
--enable-shared \
|
||||||
--enable-pic \
|
--enable-pic \
|
||||||
--disable-lto $CONFIG
|
--disable-lto $CONFIG
|
||||||
|
|
Loading…
Reference in a new issue