From 516304d08b06fe6c663cdbb3507ce3c6474d6c99 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Sun, 24 Mar 2013 16:15:35 +0100 Subject: [PATCH] libtheora: cross build and dbg support. --- srcpkgs/libtheora/libtheora-devel.template | 12 +++--------- srcpkgs/libtheora/template | 12 +++++++----- 2 files changed, 10 insertions(+), 14 deletions(-) diff --git a/srcpkgs/libtheora/libtheora-devel.template b/srcpkgs/libtheora/libtheora-devel.template index aed954353ad..f645f706e77 100644 --- a/srcpkgs/libtheora/libtheora-devel.template +++ b/srcpkgs/libtheora/libtheora-devel.template @@ -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 diff --git a/srcpkgs/libtheora/template b/srcpkgs/libtheora/template index 5551edf1cfb..9934b6258ee 100644 --- a/srcpkgs/libtheora/template +++ b/srcpkgs/libtheora/template @@ -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 " +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"