summaryrefslogtreecommitdiff
path: root/repo/media/libtheora.xibuild
blob: 64bfcc0d77bbea649cb6e6747d0d2efab6269cb0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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
}