2009-12-30 22:49:11 +01:00
|
|
|
# Template file for 'x264'
|
|
|
|
pkgname=x264
|
2011-08-11 23:06:30 +02:00
|
|
|
_snap_date=20110617
|
2009-12-30 22:49:11 +01:00
|
|
|
_snap_rev=2245
|
2011-11-14 18:12:47 +01:00
|
|
|
revision=2
|
2009-12-30 22:49:11 +01:00
|
|
|
version="${_snap_date}.${_snap_rev}"
|
2011-08-11 23:06:30 +02: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 22:49:11 +01:00
|
|
|
short_desc="Free library for encoding H264/AVC video streams"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2011-08-11 23:06:30 +02:00
|
|
|
homepage="http://www.videolan.org/developers/x264.html"
|
|
|
|
license="GPL-2"
|
|
|
|
checksum=ce6793f9b197c55246c37ca971c652c8af5621b2e759c2f9c0b1e967b16c606a
|
2009-12-30 22:49:11 +01:00
|
|
|
long_desc="
|
2011-08-11 23:06:30 +02:00
|
|
|
Stable snapshot version of x264, a high quality H.264 codec."
|
2009-12-30 22:49:11 +01:00
|
|
|
|
|
|
|
subpackages="$pkgname-devel"
|
|
|
|
Add_dependency build yasm
|
2011-08-11 23:06:30 +02:00
|
|
|
|
|
|
|
do_configure()
|
|
|
|
{
|
2011-08-25 09:35:24 +02:00
|
|
|
./configure --disable-swscale --enable-pic --enable-shared
|
2011-08-11 23:06:30 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
do_build()
|
|
|
|
{
|
|
|
|
make ${makejobs}
|
|
|
|
}
|
|
|
|
|
|
|
|
do_install()
|
|
|
|
{
|
|
|
|
make DESTDIR=${DESTDIR} \
|
|
|
|
bindir=/usr/bin libdir=/usr/lib includedir=/usr/include install
|
|
|
|
}
|