Added libtheora-1.0 template.

--HG--
extra : convert_revision : fabccfccff82fd0f74250ddd2c2c62e695ef1212
This commit is contained in:
Juan RP 2009-05-15 16:32:31 +02:00
parent dd4751a2a6
commit a74ddb02ed
4 changed files with 43 additions and 0 deletions

1
templates/libtheora-devel Symbolic link
View file

@ -0,0 +1 @@
libtheora

View file

@ -0,0 +1,2 @@
abi_depends=1.0
api_depends=${abi_depends}

View file

@ -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
}

View file

@ -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 <pancake@nopcode.org>"
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