From 32cad58286fe54901dbcbab56e8f3eb4d11e9bd9 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Wed, 30 Dec 2009 22:49:11 +0100 Subject: [PATCH] Added x264-20091229.2245 build template. --HG-- extra : convert_revision : df0a77fe5602a1e629a9c839aff910b74f5c7ae0 --- srcpkgs/x264-devel | 1 + srcpkgs/x264/depends | 2 ++ srcpkgs/x264/template | 19 +++++++++++++++++++ srcpkgs/x264/x264-devel.template | 18 ++++++++++++++++++ 4 files changed, 40 insertions(+) create mode 120000 srcpkgs/x264-devel create mode 100644 srcpkgs/x264/depends create mode 100644 srcpkgs/x264/template create mode 100644 srcpkgs/x264/x264-devel.template diff --git a/srcpkgs/x264-devel b/srcpkgs/x264-devel new file mode 120000 index 0000000000..1cfc671d0b --- /dev/null +++ b/srcpkgs/x264-devel @@ -0,0 +1 @@ +x264 \ No newline at end of file diff --git a/srcpkgs/x264/depends b/srcpkgs/x264/depends new file mode 100644 index 0000000000..fc5e456a77 --- /dev/null +++ b/srcpkgs/x264/depends @@ -0,0 +1,2 @@ +abi_depends=">=20091229.2245" +api_depends="${abi_depends}" diff --git a/srcpkgs/x264/template b/srcpkgs/x264/template new file mode 100644 index 0000000000..d853b8c510 --- /dev/null +++ b/srcpkgs/x264/template @@ -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 " +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 diff --git a/srcpkgs/x264/x264-devel.template b/srcpkgs/x264/x264-devel.template new file mode 100644 index 0000000000..e89041b218 --- /dev/null +++ b/srcpkgs/x264/x264-devel.template @@ -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 +}