2009-12-30 21:49:11 +00:00
|
|
|
# Template file for 'x264'
|
|
|
|
pkgname=x264
|
2012-01-27 10:36:57 +00:00
|
|
|
_snap_date=20120126
|
2009-12-30 21:49:11 +00:00
|
|
|
_snap_rev=2245
|
|
|
|
version="${_snap_date}.${_snap_rev}"
|
2011-08-11 21:06:30 +00:00
|
|
|
wrksrc="x264-snapshot-${_snap_date}-${_snap_rev}-stable"
|
|
|
|
distfiles="http://download.videolan.org/pub/videolan/x264/snapshots/x264-snapshot-${_snap_date}-${_snap_rev}-stable.tar.bz2"
|
2009-12-30 21:49:11 +00:00
|
|
|
short_desc="Free library for encoding H264/AVC video streams"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2011-08-11 21:06:30 +00:00
|
|
|
homepage="http://www.videolan.org/developers/x264.html"
|
|
|
|
license="GPL-2"
|
2012-01-27 10:36:57 +00:00
|
|
|
checksum=6270fcc6e2ef133e4db2b2e0f4f22b5dbdd9a637e979b5697014b698f0d56baa
|
2009-12-30 21:49:11 +00:00
|
|
|
long_desc="
|
2011-08-11 21:06:30 +00:00
|
|
|
Stable snapshot version of x264, a high quality H.264 codec."
|
2009-12-30 21:49:11 +00:00
|
|
|
|
|
|
|
subpackages="$pkgname-devel"
|
|
|
|
Add_dependency build yasm
|
2011-08-11 21:06:30 +00:00
|
|
|
|
2012-01-27 10:36:57 +00:00
|
|
|
do_configure() {
|
2011-08-25 07:35:24 +00:00
|
|
|
./configure --disable-swscale --enable-pic --enable-shared
|
2011-08-11 21:06:30 +00:00
|
|
|
}
|
|
|
|
|
2012-01-27 10:36:57 +00:00
|
|
|
do_build() {
|
2011-08-11 21:06:30 +00:00
|
|
|
make ${makejobs}
|
|
|
|
}
|
|
|
|
|
2012-01-27 10:36:57 +00:00
|
|
|
do_install() {
|
2011-08-11 21:06:30 +00:00
|
|
|
make DESTDIR=${DESTDIR} \
|
|
|
|
bindir=/usr/bin libdir=/usr/lib includedir=/usr/include install
|
|
|
|
}
|