mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-02-27 00:10:29 +00:00
extra/x264 to 20130702-1
This commit is contained in:
parent
78ca4b29d3
commit
45d8350e17
1 changed files with 26 additions and 14 deletions
|
@ -7,7 +7,7 @@
|
|||
# - configure needs --disable-asm to build on ARM
|
||||
|
||||
pkgname=x264
|
||||
pkgver=20130206
|
||||
pkgver=20130702
|
||||
pkgrel=1
|
||||
pkgdesc="free library for encoding H264/AVC video streams"
|
||||
arch=('i686' 'x86_64')
|
||||
|
@ -15,16 +15,28 @@ url="http://www.videolan.org/developers/x264.html"
|
|||
license=('GPL')
|
||||
depends=('glibc')
|
||||
makedepends=('yasm' 'git')
|
||||
source=(ftp://ftp.archlinux.org/other/packages/$pkgname/$pkgname-$pkgver.tar.xz)
|
||||
md5sums=('f952248492745a077ad6a77465276166')
|
||||
source=(git://git.videolan.org/x264.git#commit=585324fee3)
|
||||
md5sums=('SKIP')
|
||||
|
||||
[[ "$CARCH" == "i686" ]] && _asm='--disable-asm'
|
||||
[[ "$CARCH" == "arm" ]] && _asm='--disable-asm'
|
||||
[[ "$CARCH" == "armv6h" ]] && _asm='--disable-asm'
|
||||
[[ "$CARCH" == "armv7h" ]] && _asm='--disable-asm'
|
||||
|
||||
pkgver() {
|
||||
cd $pkgname
|
||||
git log -1 --format="%cd" --date=short | sed 's|-||g'
|
||||
}
|
||||
|
||||
build() {
|
||||
cd $pkgname
|
||||
|
||||
./configure --enable-shared --disable-asm
|
||||
|
||||
./configure --enable-shared \
|
||||
--enable-pic \
|
||||
$_asm
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd $pkgname
|
||||
|
||||
|
|
Loading…
Reference in a new issue