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
|
|
|
#
|
2015-01-08 07:30:12 +08:00
|
|
|
# maintainer almack
|
2010-03-14 23:48:48 +08:00
|
|
|
|
|
|
|
pkgname=x264
|
2015-01-08 07:30:12 +08:00
|
|
|
pkgver=20141218
|
2013-11-10 14:27:25 +08:00
|
|
|
pkgrel=1
|
2010-03-14 23:48:48 +08:00
|
|
|
pkgdesc="free library for encoding H264/AVC video streams"
|
2012-12-07 09:07:14 +08:00
|
|
|
arch=('x86_64')
|
2010-03-14 23:48:48 +08:00
|
|
|
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-12-07 09:07:14 +08:00
|
|
|
source=("ftp://ftp.videolan.org/pub/videolan/x264/snapshots/x264-snapshot-$pkgver-2245-stable.tar.bz2")
|
2015-01-08 07:30:12 +08:00
|
|
|
md5sums=('f82e4f39453ba8f25a9b614a96741ee3')
|
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
|
|
|
|
2014-06-21 09:31:40 +08:00
|
|
|
./configure --enable-shared \
|
|
|
|
--prefix=/usr \
|
|
|
|
--enable-pic \
|
|
|
|
--bit-depth=10
|
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"
|
|
|
|
|
2015-01-08 07:30:12 +08:00
|
|
|
make DESTDIR="$pkgdir" install
|
2012-08-29 21:41:07 +08:00
|
|
|
}
|
2013-11-10 21:58:11 +08:00
|
|
|
|