下载
http://www.linuxfromscratch.org/blfs/view/svn/multimedia/libtheora.html
https://downloads.xiph.org/releases/theora/libtheora-1.1.1.tar.xz
https://github.com/xiph/theora/tags
解压
tar xf libtheora-1.1.1.tar.xz cd libtheora-1.1.1
编译
BUILD_LIBS=${HOME}/build_libs export PATH=${BUILD_LIBS}/bin:${PATH} export PKG_CONFIG_PATH=${BUILD_LIBS}/lib/pkgconfig:${PKG_CONFIG_PATH} # sed -i 's/png_\(sizeof\)/\1/g' examples/png2theora.c ./autogen.sh autoreconf -fiv ./configure \ --prefix=${BUILD_LIBS} \ CFLAGS="-I${BUILD_LIBS}/include" \ LDFLAGS="-L${BUILD_LIBS}/lib" make make install