mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-02-16 23:57:11 +00:00
extra/x264 to 142.20140311-6
This commit is contained in:
parent
fd666f4f1c
commit
3ff9406a96
1 changed files with 10 additions and 10 deletions
|
@ -9,21 +9,16 @@
|
||||||
|
|
||||||
pkgname=('x264' 'libx264' 'libx264-10bit')
|
pkgname=('x264' 'libx264' 'libx264-10bit')
|
||||||
pkgver=142.20140311
|
pkgver=142.20140311
|
||||||
pkgrel=4
|
pkgrel=6
|
||||||
epoch=1
|
epoch=1
|
||||||
arch=('i686' 'x86_64')
|
arch=('i686' 'x86_64')
|
||||||
url='http://www.videolan.org/developers/x264.html'
|
url='http://www.videolan.org/developers/x264.html'
|
||||||
license=('GPL')
|
license=('GPL')
|
||||||
depends=('glibc')
|
depends=('glibc')
|
||||||
makedepends=('yasm' 'git')
|
makedepends=('yasm' 'git' 'ffmpeg')
|
||||||
source=(git://git.videolan.org/x264.git#commit=b7a50c16)
|
source=(git://git.videolan.org/x264.git#commit=b7a50c16)
|
||||||
md5sums=('SKIP')
|
md5sums=('SKIP')
|
||||||
|
|
||||||
prepare() {
|
|
||||||
sed -i 's/install-lib-dev$//g' $pkgname/Makefile
|
|
||||||
cp -r $pkgname $pkgname-10bit
|
|
||||||
}
|
|
||||||
|
|
||||||
pkgver() {
|
pkgver() {
|
||||||
cd $pkgname
|
cd $pkgname
|
||||||
local _ver=$(grep '#define X264_BUILD' x264.h | cut -d' ' -f3)
|
local _ver=$(grep '#define X264_BUILD' x264.h | cut -d' ' -f3)
|
||||||
|
@ -32,6 +27,11 @@ pkgver() {
|
||||||
echo ${_ver}.${_date}
|
echo ${_ver}.${_date}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
prepare() {
|
||||||
|
sed -i 's/install-lib-dev$//g' $pkgname/Makefile
|
||||||
|
cp -r $pkgname $pkgname-10bit
|
||||||
|
}
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd $pkgname
|
cd $pkgname
|
||||||
./configure --prefix=/usr \
|
./configure --prefix=/usr \
|
||||||
|
@ -46,8 +46,8 @@ build() {
|
||||||
}
|
}
|
||||||
|
|
||||||
package_x264() {
|
package_x264() {
|
||||||
pkgdesc='CLI tools for encoding H264/AVC video streams.'
|
pkgdesc='CLI tools for encoding H264/AVC video streams'
|
||||||
depends=('glibc' 'libx264')
|
depends=('glibc' 'ffmpeg')
|
||||||
provides=('x264-dev' 'x264-10bit')
|
provides=('x264-dev' 'x264-10bit')
|
||||||
conflicts=('x264-dev' 'x264-10bit')
|
conflicts=('x264-dev' 'x264-10bit')
|
||||||
replaces=('x264-dev' 'x264-10bit')
|
replaces=('x264-dev' 'x264-10bit')
|
||||||
|
@ -57,7 +57,7 @@ package_x264() {
|
||||||
}
|
}
|
||||||
|
|
||||||
package_libx264() {
|
package_libx264() {
|
||||||
pkgdesc='Library for encoding H264/AVC video streams.'
|
pkgdesc='Library for encoding H264/AVC video streams'
|
||||||
depends=('glibc')
|
depends=('glibc')
|
||||||
|
|
||||||
install -d "$pkgdir"/usr/lib
|
install -d "$pkgdir"/usr/lib
|
||||||
|
|
Loading…
Reference in a new issue