blob: 6e658f53f2246c6d6fef4d4f5a0f6b82dc8c8251 (
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
}
|