extra/x264 to 142.20140311-4

This commit is contained in:
Jason Plum 2014-06-05 17:18:57 -04:00
parent 3a7688dada
commit 055fe672b8

View file

@ -7,9 +7,9 @@
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
# - configure needs --disable-asm to build on ARM
pkgname=('x264' 'x264-10bit' 'x264-dev')
pkgname=('x264' 'libx264' 'libx264-10bit')
pkgver=142.20140311
pkgrel=3
pkgrel=4
epoch=1
arch=('i686' 'x86_64')
url='http://www.videolan.org/developers/x264.html'
@ -46,26 +46,30 @@ build() {
}
package_x264() {
pkgdesc='Library for encoding H264/AVC video streams'
pkgdesc='CLI tools for encoding H264/AVC video streams.'
depends=('glibc' 'libx264')
provides=('x264-dev' 'x264-10bit')
conflicts=('x264-dev' 'x264-10bit')
replaces=('x264-dev' 'x264-10bit')
make -C $pkgbase DESTDIR="$pkgdir" install-cli install-lib-dev
install -Dm755 $pkgbase-10bit/x264 "$pkgdir"/usr/bin/x264-10bit
}
package_libx264() {
pkgdesc='Library for encoding H264/AVC video streams.'
depends=('glibc')
install -d "$pkgdir"/usr/lib
make -C $pkgname DESTDIR="$pkgdir" install-cli install-lib-shared
make -C $pkgbase DESTDIR="$pkgdir" install-lib-shared
}
package_x264-10bit() {
package_libx264-10bit() {
pkgdesc='Library for encoding H264/AVC video streams. 10bit-depth.'
depends=('glibc')
provides=('x264')
conflicts=('x264')
provides=('libx264')
conflicts=('libx264')
install -d "$pkgdir"/usr/lib
make -C $pkgname DESTDIR="$pkgdir" install-cli install-lib-shared
}
package_x264-dev() {
pkgdesc='Development files for library for encoding H264/AVC video streams'
depends=('x264')
make -C $pkgbase DESTDIR="$pkgdir" install-lib-dev
make -C $pkgbase-10bit DESTDIR="$pkgdir" install-lib-shared
}