2010-09-11 06:01:28 +08:00
|
|
|
#
|
2012-05-20 00:12:58 +08:00
|
|
|
# Platform Packages for Chakra, part of chakra-project.org
|
2010-09-11 06:01:28 +08:00
|
|
|
#
|
2012-05-20 00:12:58 +08:00
|
|
|
# maintainer abveritas@chakra-project.org
|
2010-03-14 23:48:48 +08:00
|
|
|
|
|
|
|
pkgname=x264
|
2012-05-20 00:12:58 +08:00
|
|
|
pkgver=20120518
|
2012-08-29 21:41:07 +08:00
|
|
|
pkgrel=4
|
2010-03-14 23:48:48 +08:00
|
|
|
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')
|
2012-08-29 21:41:07 +08:00
|
|
|
makedepends=('yasm' 'libvpx>=1.1.0')
|
2012-02-13 08:02:59 +08:00
|
|
|
source=(ftp://ftp.videolan.org/pub/videolan/x264/snapshots/x264-snapshot-$pkgver-2245-stable.tar.bz2)
|
2012-05-20 00:12:58 +08:00
|
|
|
md5sums=('a328a0976780857a3d8bcafe57cb6e1f')
|
2010-03-14 23:48:48 +08:00
|
|
|
|
|
|
|
build() {
|
2012-02-13 08:02:59 +08:00
|
|
|
cd "$srcdir/$pkgname-snapshot-$pkgver-2245-stable"
|
2010-03-14 23:48:48 +08:00
|
|
|
|
2010-09-11 06:01:28 +08:00
|
|
|
./configure --enable-shared
|
2010-03-14 23:48:48 +08:00
|
|
|
|
2011-09-14 10:53:12 +08:00
|
|
|
make
|
2012-02-13 08:02:59 +08:00
|
|
|
}
|
|
|
|
package() {
|
|
|
|
cd "$srcdir/$pkgname-snapshot-$pkgver-2245-stable"
|
|
|
|
|
2010-03-14 23:48:48 +08:00
|
|
|
make DESTDIR="$pkgdir" \
|
|
|
|
bindir=/usr/bin \
|
|
|
|
libdir=/usr/lib \
|
|
|
|
includedir=/usr/include \
|
2010-09-11 06:01:28 +08:00
|
|
|
install
|
2012-08-29 21:41:07 +08:00
|
|
|
}
|