extra/x264 to 142.20140311-6

This commit is contained in:
Kevin Mihelich 2014-08-07 11:07:38 +00:00
parent fd666f4f1c
commit 3ff9406a96

View file

@ -9,21 +9,16 @@
pkgname=('x264' 'libx264' 'libx264-10bit')
pkgver=142.20140311
pkgrel=4
pkgrel=6
epoch=1
arch=('i686' 'x86_64')
url='http://www.videolan.org/developers/x264.html'
license=('GPL')
depends=('glibc')
makedepends=('yasm' 'git')
makedepends=('yasm' 'git' 'ffmpeg')
source=(git://git.videolan.org/x264.git#commit=b7a50c16)
md5sums=('SKIP')
prepare() {
sed -i 's/install-lib-dev$//g' $pkgname/Makefile
cp -r $pkgname $pkgname-10bit
}
pkgver() {
cd $pkgname
local _ver=$(grep '#define X264_BUILD' x264.h | cut -d' ' -f3)
@ -32,6 +27,11 @@ pkgver() {
echo ${_ver}.${_date}
}
prepare() {
sed -i 's/install-lib-dev$//g' $pkgname/Makefile
cp -r $pkgname $pkgname-10bit
}
build() {
cd $pkgname
./configure --prefix=/usr \
@ -46,8 +46,8 @@ build() {
}
package_x264() {
pkgdesc='CLI tools for encoding H264/AVC video streams.'
depends=('glibc' 'libx264')
pkgdesc='CLI tools for encoding H264/AVC video streams'
depends=('glibc' 'ffmpeg')
provides=('x264-dev' 'x264-10bit')
conflicts=('x264-dev' 'x264-10bit')
replaces=('x264-dev' 'x264-10bit')
@ -57,7 +57,7 @@ package_x264() {
}
package_libx264() {
pkgdesc='Library for encoding H264/AVC video streams.'
pkgdesc='Library for encoding H264/AVC video streams'
depends=('glibc')
install -d "$pkgdir"/usr/lib