libtheora: cross build and dbg support.

This commit is contained in:
Juan RP 2013-03-24 16:15:35 +01:00
parent d1095346e8
commit 516304d08b
2 changed files with 10 additions and 14 deletions

View File

@ -1,15 +1,9 @@
# Template file for 'libtheora-devel'.
#
depends="libogg-devel libtheora"
short_desc="${sourcepkg} development files"
long_desc="${long_desc}
depends="libogg-devel libtheora>=${version}"
short_desc="${short_desc} - development files"
This package contains files for development, headers, static libs, etc."
do_install()
{
do_install() {
mkdir -p ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr
mv ${SRCPKGDESTDIR}/usr/lib/lib*.*a ${DESTDIR}/usr/lib

View File

@ -1,13 +1,17 @@
# Template file for 'libtheora'.
pkgname=libtheora
version=1.1.1
revision=3
distfiles="http://downloads.xiph.org/releases/theora/$pkgname-$version.tar.xz"
revision=4
build_style=gnu-configure
subpackages="$pkgname-devel"
configure_args="--disable-examples --disable-vorbistest --disable-sdltest"
makedepends="pkg-config libogg-devel"
hostmakedepends="pkg-config"
makedepends="libogg-devel"
short_desc="Theora Video Compression Codec"
maintainer="pancake <pancake@nopcode.org>"
homepage="http://www.xiph.org"
license="BSD"
distfiles="http://downloads.xiph.org/releases/theora/$pkgname-$version.tar.xz"
checksum=f36da409947aa2b3dcc6af0a8c2e3144bc19db2ed547d64e9171c59c66561c61
long_desc="
Theora is Xiph.Org first publicly released video codec, intended
@ -16,5 +20,3 @@ long_desc="
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="$pkgname-devel"