summaryrefslogtreecommitdiffstats
path: root/abs/core/x264/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core/x264/PKGBUILD')
-rw-r--r--abs/core/x264/PKGBUILD30
1 files changed, 14 insertions, 16 deletions
diff --git a/abs/core/x264/PKGBUILD b/abs/core/x264/PKGBUILD
index c482e04..4c986ee 100644
--- a/abs/core/x264/PKGBUILD
+++ b/abs/core/x264/PKGBUILD
@@ -1,37 +1,35 @@
-# $Id: PKGBUILD 36085 2009-04-19 22:58:09Z eric $
+# $Id: PKGBUILD 163164 2012-07-08 09:35:20Z ibiru $
+# Maintainer : Ionut Biru <ibiru@archlinux.org>
# Contributor: damir <damir@archlinux.org>
-# Maintainer: Paul Mattal <paul@archlinux.org>
+# Contributor: Paul Mattal <paul@archlinux.org>
pkgname=x264
-pkgver=20110803
+pkgver=20120705
pkgrel=1
pkgdesc="free library for encoding H264/AVC video streams"
arch=('i686' 'x86_64')
url="http://www.videolan.org/developers/x264.html"
license=('GPL')
depends=('glibc')
-optdepends=('gpac: For gpac support')
-makedepends=('yasm' 'gpac')
-source=(ftp://ftp.videolan.org/pub/videolan/x264/snapshots/x264-snapshot-${pkgver}-2245.tar.bz2)
+makedepends=('yasm')
+source=(ftp://ftp.videolan.org/pub/videolan/x264/snapshots/x264-snapshot-$pkgver-2245-stable.tar.bz2)
+md5sums=('81e5bec5d5774a4a3f567f14bd94289c')
build() {
- cd "${srcdir}/${pkgname}-snapshot-${pkgver}-2245" || return 1
+ cd "$pkgname-snapshot-$pkgver-2245-stable"
- ./configure \
- --enable-visualize \
- --enable-shared \
- --enable-pic || return 1
+ ./configure --enable-shared
- make || return 1
+ make
}
package() {
- cd "${srcdir}/${pkgname}-snapshot-${pkgver}-2245" || return 1
- make DESTDIR="${pkgdir}" \
+ cd "$pkgname-snapshot-$pkgver-2245-stable"
+
+ make DESTDIR="$pkgdir" \
bindir=/usr/bin \
libdir=/usr/lib \
includedir=/usr/include \
- install || return 1
+ install
}
# vim:set ts=2 sw=2 et:
-md5sums=('6148c89b85b1136e8047882037a57c07')