From 48ca75555522716f0f686dcae3dd6cf3d8ad714d Mon Sep 17 00:00:00 2001 From: davidovski Date: Tue, 31 May 2022 11:05:19 +0100 Subject: removed idea of repos --- repo/libtheora/libtheora.xibuild | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 repo/libtheora/libtheora.xibuild (limited to 'repo/libtheora/libtheora.xibuild') diff --git a/repo/libtheora/libtheora.xibuild b/repo/libtheora/libtheora.xibuild new file mode 100644 index 0000000..64bfcc0 --- /dev/null +++ b/repo/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