updated on Thu Jan 19 16:10:29 UTC 2012
[aur-mirror.git] / x264-hi10 / PKGBUILD
blobaec2167d44bae3232f67100bd662f8bce597a511
1 # Maintainer    : ShionjiYuuko <zetsurin89@gmail.com>
3 pkgname=x264-hi10
4 pkgver=20110729
5 pkgrel=1
6 pkgdesc="H.264/MPEG-4 AVC video encoder 10 bit"
7 arch=('i686' 'x86_64')
8 url="http://www.videolan.org/developers/x264.html"
9 license=('GPL')
10 depends=('glibc')
11 makedepends=('yasm')
12 conflicts=('x264')
13 provides=("x264=$(LANG=C pacman -Si x264 | grep Version | awk '{ print $NF }')") 
14 source=(ftp://ftp.videolan.org/pub/x264/snapshots/last_x264.tar.bz2)
15 md5sums=(45307ebec97a1b96fdbe5375f4e2079c)
17 build() {
18         mv $srcdir/x264-snapshot-* "$srcdir/$pkgname-$pkgver"
19         cd "$srcdir/$pkgname-$pkgver/"
20         ./configure --prefix=/usr --bit-depth=10 --disable-swscale
21         make
22   
25 package() {
26         cd "$srcdir/$pkgname-$pkgver"
27         make DESTDIR="$pkgdir/" install