Date: Tuesday, August 7, 2018 @ 10:03:13 Author: alucryd Revision: 331102
archrelease: copy trunk to staging-x86_64 Added: x264/repos/staging-x86_64/PKGBUILD (from rev 331101, x264/trunk/PKGBUILD) Deleted: x264/repos/staging-x86_64/PKGBUILD ----------+ PKGBUILD | 118 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 59 insertions(+), 59 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2018-08-07 10:03:05 UTC (rev 331101) +++ PKGBUILD 2018-08-07 10:03:13 UTC (rev 331102) @@ -1,59 +0,0 @@ -# $Id$ -# Maintainer: Maxime Gauduin <aluc...@archlinux.org> -# Contributor: Ionut Biru <ib...@archlinux.org> -# Contributor: Bartłomiej Piotrowski <bpiotrow...@archlinux.org> -# Contributor: damir <da...@archlinux.org> -# Contributor: Paul Mattal <p...@archlinux.org> - -pkgname=x264 -pkgver=155.r0a84d986 -pkgrel=1 -epoch=2 -pkgdesc='Open Source H264/AVC video encoder' -arch=('x86_64') -url='https://www.videolan.org/developers/x264.html' -license=('GPL') -depends=( - 'libavcodec.so' 'libavformat.so' 'libavutil.so' 'liblsmash.so' - 'libswscale.so' -) -makedepends=('git' 'ffmpeg' 'l-smash' 'nasm') -provides=('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') - -pkgver() { - cd x264 - - local _ver=$(grep '#define X264_BUILD' x264.h | cut -d' ' -f3) - local _rev=$(git rev-parse --short HEAD) - - echo ${_ver}.r${_rev} -} - -prepare() { - if [[ -d build ]]; then - rm -rf build - fi - mkdir build -} - -build() { - cd build - - ../x264/configure \ - --prefix='/usr' \ - --enable-shared \ - --enable-pic \ - --enable-lto - make -} - -package() { - make -C build DESTDIR="${pkgdir}" install-cli install-lib-shared -} - -# vim: ts=2 sw=2 et: Copied: x264/repos/staging-x86_64/PKGBUILD (from rev 331101, x264/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2018-08-07 10:03:13 UTC (rev 331102) @@ -0,0 +1,59 @@ +# $Id$ +# Maintainer: Maxime Gauduin <aluc...@archlinux.org> +# Contributor: Ionut Biru <ib...@archlinux.org> +# Contributor: Bartłomiej Piotrowski <bpiotrow...@archlinux.org> +# Contributor: damir <da...@archlinux.org> +# Contributor: Paul Mattal <p...@archlinux.org> + +pkgname=x264 +pkgver=155.r0a84d986 +pkgrel=2 +epoch=2 +pkgdesc='Open Source H264/AVC video encoder' +arch=('x86_64') +url='https://www.videolan.org/developers/x264.html' +license=('GPL') +depends=( + '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') + +pkgver() { + cd x264 + + local _ver=$(grep '#define X264_BUILD' x264.h | cut -d' ' -f3) + local _rev=$(git rev-parse --short HEAD) + + echo ${_ver}.r${_rev} +} + +prepare() { + if [[ -d build ]]; then + rm -rf build + fi + mkdir build +} + +build() { + cd build + + ../x264/configure \ + --prefix='/usr' \ + --enable-shared \ + --enable-pic \ + --enable-lto + make +} + +package() { + make -C build DESTDIR="${pkgdir}" install-cli install-lib-shared +} + +# vim: ts=2 sw=2 et: