From f13e0cac13f90f7f57bce3b26b2e6383de6e4ad2 Mon Sep 17 00:00:00 2001 From: davidovski Date: Mon, 27 Jun 2022 23:08:34 +0100 Subject: added qemu --- repo/libtheora/libtheora.xibuild | 44 ++++++++++++++++++++++++++++++---------- 1 file changed, 33 insertions(+), 11 deletions(-) (limited to 'repo/libtheora') diff --git a/repo/libtheora/libtheora.xibuild b/repo/libtheora/libtheora.xibuild index 64bfcc0..a50e044 100644 --- a/repo/libtheora/libtheora.xibuild +++ b/repo/libtheora/libtheora.xibuild @@ -1,22 +1,44 @@ #!/bin/sh -MAKEDEPS="make" -DEPS="libogg libvorbis" - +NAME="libtheora" DESC="An open video codec developed by the Xiph.org" +MAKEDEPS=" libvorbis libogg autoconf automake libtool linux-headers" + PKG_VER=1.1.1 -SOURCE=https://downloads.xiph.org/releases/theora/libtheora-$PKG_VER.tar.xz - -prepare () { +SOURCE="http://downloads.xiph.org/releases/theora/libtheora-$PKG_VER.tar.bz2" + +ADDITIONAL=" +automake.patch +enc.patch +fix-mmx.patch +fix-timeb.patch +libtheora-flags.patch +" + +prepare() { + apply_patches sed -i 's/png_\(sizeof\)/\1/g' examples/png2theora.c + + libtoolize --force + aclocal -I m4 + autoconf --force + automake --force --add-missing +} + +build() { + ./configure \ + --prefix=/usr \ + --enable-shared \ + --enable-static + make -j 1 -C lib + make } -build () { - ./configure --prefix=/usr --disable-static && - make +check() { + make check } -package () { - make DESTDIR=$PKG_DEST install +package() { + make -j1 DESTDIR="$PKG_DEST" install } -- cgit v1.2.1