From 739c65c54cb0e957df5e9b76f93fb02554e5cac3 Mon Sep 17 00:00:00 2001 From: davidovski Date: Wed, 4 May 2022 23:52:30 +0100 Subject: moved everything to new file formatting --- repo/media/libtheora/libtheora.xibuild | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 repo/media/libtheora/libtheora.xibuild (limited to 'repo/media/libtheora/libtheora.xibuild') diff --git a/repo/media/libtheora/libtheora.xibuild b/repo/media/libtheora/libtheora.xibuild new file mode 100644 index 0000000..64bfcc0 --- /dev/null +++ b/repo/media/libtheora/libtheora.xibuild @@ -0,0 +1,22 @@ +#!/bin/sh + +MAKEDEPS="make" +DEPS="libogg libvorbis" + +DESC="An open video codec developed by the Xiph.org" + +PKG_VER=1.1.1 +SOURCE=https://downloads.xiph.org/releases/theora/libtheora-$PKG_VER.tar.xz + +prepare () { + sed -i 's/png_\(sizeof\)/\1/g' examples/png2theora.c +} + +build () { + ./configure --prefix=/usr --disable-static && + make +} + +package () { + make DESTDIR=$PKG_DEST install +} -- cgit v1.2.1