From a74ddb02ed28ced892944d30f7e3fc594db28011 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Fri, 15 May 2009 16:32:31 +0200 Subject: [PATCH] Added libtheora-1.0 template. --HG-- extra : convert_revision : fabccfccff82fd0f74250ddd2c2c62e695ef1212 --- templates/libtheora-devel | 1 + templates/libtheora/depends | 2 ++ templates/libtheora/devel.template | 18 ++++++++++++++++++ templates/libtheora/template | 22 ++++++++++++++++++++++ 4 files changed, 43 insertions(+) create mode 120000 templates/libtheora-devel create mode 100644 templates/libtheora/depends create mode 100644 templates/libtheora/devel.template create mode 100644 templates/libtheora/template diff --git a/templates/libtheora-devel b/templates/libtheora-devel new file mode 120000 index 0000000000..1364033d17 --- /dev/null +++ b/templates/libtheora-devel @@ -0,0 +1 @@ +libtheora \ No newline at end of file diff --git a/templates/libtheora/depends b/templates/libtheora/depends new file mode 100644 index 0000000000..4925a27ac5 --- /dev/null +++ b/templates/libtheora/depends @@ -0,0 +1,2 @@ +abi_depends=1.0 +api_depends=${abi_depends} diff --git a/templates/libtheora/devel.template b/templates/libtheora/devel.template new file mode 100644 index 0000000000..92802b9dca --- /dev/null +++ b/templates/libtheora/devel.template @@ -0,0 +1,18 @@ +# Template file for 'libtheora-devel'. +# +short_desc="${sourcepkg} development files" +long_desc="${long_desc} + + This package contains files for development, headers, static libs, etc." + +Add_dependency run libtheora + +do_install() +{ + mkdir -p ${DESTDIR}/usr/lib + mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr + mv ${SRCPKGDESTDIR}/usr/lib/lib*.*a ${DESTDIR}/usr/lib + mv ${SRCPKGDESTDIR}/usr/lib/lib*.so ${DESTDIR}/usr/lib + mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/lib + mv ${SRCPKGDESTDIR}/usr/share ${DESTDIR}/usr +} diff --git a/templates/libtheora/template b/templates/libtheora/template new file mode 100644 index 0000000000..a83b6bd66e --- /dev/null +++ b/templates/libtheora/template @@ -0,0 +1,22 @@ +# Template file for 'libtheora'. +pkgname=libtheora +sourcepkg=$pkgname +version=1.0 +distfiles="http://downloads.xiph.org/releases/theora/$pkgname-$version.tar.bz2" +build_style=gnu_configure +configure_args="--disable-examples --disable-vorbistest --disable-sdltest" +short_desc="Theora Video Compression Codec" +maintainer="pancake " +checksum=3ae9df56e8fc75ffe26e63a13cae2ce79d079416175fb0baffe0e2de8dc91a6d +long_desc=" + Theora is Xiph.Org's first publicly released video codec, intended + for use within the Ogg\'s project\'s Ogg multimedia streaming system. + Theora is derived directly from On2's VP3 codec; Currently the two are + nearly identical, varying only in encapsulating decoder tables in the + bitstream headers, but Theora will make use of this extra freedom + in the future to improve over what is possible with VP3." + +subpackages="devel" +Add_dependency build pkg-config +Add_dependency full glibc +Add_dependency full libogg