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

View file

@ -1,13 +1,17 @@
# Template file for 'libtheora'. # Template file for 'libtheora'.
pkgname=libtheora pkgname=libtheora
version=1.1.1 version=1.1.1
revision=3 revision=4
distfiles="http://downloads.xiph.org/releases/theora/$pkgname-$version.tar.xz"
build_style=gnu-configure build_style=gnu-configure
subpackages="$pkgname-devel"
configure_args="--disable-examples --disable-vorbistest --disable-sdltest" 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" short_desc="Theora Video Compression Codec"
maintainer="pancake <pancake@nopcode.org>" 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 checksum=f36da409947aa2b3dcc6af0a8c2e3144bc19db2ed547d64e9171c59c66561c61
long_desc=" long_desc="
Theora is Xiph.Org first publicly released video codec, intended 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 nearly identical, varying only in encapsulating decoder tables in the
bitstream headers, but Theora will make use of this extra freedom bitstream headers, but Theora will make use of this extra freedom
in the future to improve over what is possible with VP3." in the future to improve over what is possible with VP3."
subpackages="$pkgname-devel"