summaryrefslogtreecommitdiff
path: root/extra/x264
diff options
context:
space:
mode:
Diffstat (limited to 'extra/x264')
-rw-r--r--extra/x264/PKGBUILD38
1 files changed, 21 insertions, 17 deletions
diff --git a/extra/x264/PKGBUILD b/extra/x264/PKGBUILD
index 0effd2cac..4a06db7df 100644
--- a/extra/x264/PKGBUILD
+++ b/extra/x264/PKGBUILD
@@ -1,37 +1,41 @@
-# $Id: PKGBUILD 178144 2013-02-16 22:49:02Z ioni $
+# $Id: PKGBUILD 191968 2013-08-02 08:00:53Z bpiotrowski $
# Maintainer : Ionut Biru <ibiru@archlinux.org>
# Contributor: damir <damir@archlinux.org>
# Contributor: Paul Mattal <paul@archlinux.org>
pkgname=x264
-pkgver=20130206
-pkgrel=1
+pkgver=20130702
+pkgrel=2
pkgdesc="free library for encoding H264/AVC video streams"
arch=('i686' 'x86_64' 'mips64el')
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" = "mips64el" ] && extra="--enable-pic"
+pkgver() {
+ cd $pkgname
+ git log -1 --format="%cd" --date=short | sed 's|-||g'
+}
- ./configure --enable-shared $extra
+build() {
+ cd $pkgname
- make
+ ./configure --enable-shared \
+ --enable-pic
+ 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: