diff options
-rw-r--r-- | .SRCINFO | 5 | ||||
-rw-r--r-- | PKGBUILD | 23 |
2 files changed, 14 insertions, 14 deletions
@@ -1,9 +1,8 @@ pkgbase = x264-git pkgdesc = Open Source H264/AVC video encoder (git version) - pkgver = 157.r2935.g545de2ff + pkgver = 157.r2969.gd4099dd4 pkgrel = 1 url = https://www.videolan.org/developers/x264.html - arch = i686 arch = x86_64 license = GPL makedepends = git @@ -26,7 +25,7 @@ pkgbase = x264-git replaces = libx264-git replaces = libx264-10bit-git replaces = libx264-all-git - source = x264-git::git+https://git.videolan.org/git/x264.git + source = git+https://git.videolan.org/git/x264.git sha256sums = SKIP pkgname = x264-git @@ -1,4 +1,4 @@ -# Maintainer : Daniel Bermond < yahoo-com: danielbermond > +# Maintainer : Daniel Bermond < gmail-com: danielbermond > # Contributor: Det <nimetonmaili at-gmail a-dot com> # Contributor: PelPix <kylebloss[at]pelpix[dot]info> # Contributor: DrZaius <lou[at]fakeoutdoorsman.com> @@ -13,9 +13,9 @@ # 10-bit, please see, e.g.: https://gist.github.com/l4n9th4n9/4459997 pkgname=x264-git -pkgver=157.r2935.g545de2ff +pkgver=157.r2969.gd4099dd4 pkgrel=1 -arch=('i686' 'x86_64') +arch=('x86_64') pkgdesc='Open Source H264/AVC video encoder (git version)' url='https://www.videolan.org/developers/x264.html' license=('GPL') @@ -25,11 +25,15 @@ makedepends=('git' 'nasm' 'ffmpeg' 'l-smash') provides=('x264' 'libx264' 'libx264-git' 'libx264.so') conflicts=('x264' 'libx264' 'libx264-10bit' 'libx264-all') replaces=('libx264-git' 'libx264-10bit-git' 'libx264-all-git') -source=("$pkgname"::'git+https://git.videolan.org/git/x264.git') +source=('git+https://git.videolan.org/git/x264.git') sha256sums=('SKIP') +prepare() { + mkdir -p x264/build-{8,10}bit +} + pkgver() { - cd "$pkgname" + cd x264 local _version local _revision @@ -43,10 +47,8 @@ pkgver() { } build() { - mkdir -p "$pkgname"/build-{8,10}bit - printf '%s\n' ' -> Building for 8-bit...' - cd "${pkgname}/build-8bit" + cd x264/build-8bit ../configure \ --prefix='/usr' \ --enable-shared \ @@ -57,7 +59,7 @@ build() { make printf '%s\n' ' -> Building for 10-bit...' - cd ../build-10bit + cd "${srcdir}/x264/build-10bit" ../configure \ --prefix='/usr' \ --libdir='/usr/lib/x264-10bit' \ @@ -71,10 +73,9 @@ build() { } package() { - cd "$pkgname" + cd x264 local _depth - for _depth in 10 8 do printf '%s\n' " -> Installing for ${_depth}-bit..." |