# Description: An open video codec developed by the Xiph.org
# URL: http://www.xiph.org
# Packager: pierre at nutyx dot org
# Depends on: libogg libvorbis 
name=libtheora
version=1.1.1
release=1

source=(http://downloads.xiph.org/releases/theora/$name-$version.tar.xz)
build() {
cd $name-$version
sed -i 's/png_\(sizeof\)/\1/g' examples/png2theora.c
./configure --prefix=/usr --disable-static
make
make DESTDIR=$PKG install
}
