Added x264-20091229.2245 build template.

--HG--
extra : convert_revision : df0a77fe5602a1e629a9c839aff910b74f5c7ae0
This commit is contained in:
Juan RP 2009-12-30 22:49:11 +01:00
parent c5799ce5c7
commit 32cad58286
4 changed files with 40 additions and 0 deletions

1
srcpkgs/x264-devel Symbolic link
View file

@ -0,0 +1 @@
x264

2
srcpkgs/x264/depends Normal file
View file

@ -0,0 +1,2 @@
abi_depends=">=20091229.2245"
api_depends="${abi_depends}"

19
srcpkgs/x264/template Normal file
View file

@ -0,0 +1,19 @@
# Template file for 'x264'
pkgname=x264
_snap_date=20091229
_snap_rev=2245
version="${_snap_date}.${_snap_rev}"
wrksrc="x264-snapshot-${_snap_date}-${_snap_rev}"
distfiles="ftp://ftp.videolan.org/pub/videolan/x264/snapshots/x264-snapshot-${_snap_date}-${_snap_rev}.tar.bz2"
build_style=configure
configure_args="--enable-pthread --enable-pic --enable-shared"
make_install_args="bindir=/usr/bin libdir=/usr/lib includedir=/usr/include"
short_desc="Free library for encoding H264/AVC video streams"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=1f2809bfed1b93244bb7cfefc79986cf14882e4d9c33bf3f5b001b7d426c299b
long_desc="
Development version of x264, a high quality H.264 codec."
subpackages="$pkgname-devel"
Add_dependency run glibc
Add_dependency build yasm

View file

@ -0,0 +1,18 @@
# Template file for 'x264-devel'.
#
short_desc="${short_desc} (development files)"
long_desc="${long_desc}
This package contains files for development, headers, static libs, etc."
Add_dependency run glibc-devel
Add_dependency run x264
do_install()
{
mkdir -p ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr
mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/lib/*.*a ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/lib/*.so ${DESTDIR}/usr/lib
}