diff options
author | root <root@rshg054.dnsready.net> | 2013-08-02 01:31:32 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-08-02 01:31:32 -0700 |
commit | f7cd2a0a073da2373cd3f3c8e31515dd0b83b645 (patch) | |
tree | e28c5c379825afaf02a927a8f1d1b1fcb94c2362 /extra/x264 | |
parent | 70ec180b1cca6eda5576597c2bfff9171f7815bf (diff) |
Fri Aug 2 01:30:56 PDT 2013
Diffstat (limited to 'extra/x264')
-rw-r--r-- | extra/x264/PKGBUILD | 37 |
1 files changed, 23 insertions, 14 deletions
diff --git a/extra/x264/PKGBUILD b/extra/x264/PKGBUILD index 9338363d5..eadc50e7c 100644 --- a/extra/x264/PKGBUILD +++ b/extra/x264/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 178144 2013-02-16 22:49:02Z ioni $ +# $Id: PKGBUILD 191911 2013-08-01 06:53:44Z bpiotrowski $ # Maintainer : Ionut Biru <ibiru@archlinux.org> # Contributor: damir <damir@archlinux.org> # Contributor: Paul Mattal <paul@archlinux.org> pkgname=x264 -pkgver=20130206 +pkgver=20130702 pkgrel=1 pkgdesc="free library for encoding H264/AVC video streams" arch=('i686' 'x86_64') @@ -12,24 +12,33 @@ 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') -build() { - cd $pkgname +[[ "$CARCH" == "i686" ]] && _asm='--disable-asm' - ./configure --enable-shared +pkgver() { + cd $pkgname + git log -1 --format="%cd" --date=short | sed 's|-||g' +} - make +build() { + cd $pkgname + + ./configure --enable-shared \ + --enable-pic \ + $_asm + make } + package() { - cd $pkgname + cd $pkgname - make DESTDIR="$pkgdir" \ - bindir=/usr/bin \ - libdir=/usr/lib \ - includedir=/usr/include \ - install + make DESTDIR="$pkgdir" \ + bindir=/usr/bin \ + libdir=/usr/lib \ + includedir=/usr/include \ + install } # vim:set ts=2 sw=2 et: |