blob: 1788fbb932bb666dd66efb51aa35d0e4f87c88d4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
#!/bin/bash
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
}
|