void-packages/srcpkgs/libtheora/template

39 lines
1.2 KiB
Plaintext

# Template file for 'libtheora'.
pkgname=libtheora
version=1.1.1
revision=4
build_style=gnu-configure
configure_args="--disable-examples --disable-vorbistest --disable-sdltest"
hostmakedepends="pkg-config"
makedepends="libogg-devel"
short_desc="Theora Video Compression Codec"
maintainer="pancake <pancake@nopcode.org>"
homepage="http://www.xiph.org"
license="BSD"
distfiles="http://downloads.xiph.org/releases/theora/$pkgname-$version.tar.xz"
checksum=f36da409947aa2b3dcc6af0a8c2e3144bc19db2ed547d64e9171c59c66561c61
long_desc="
Theora is Xiph.Org first publicly released video codec, intended
for use within the Ogg project Ogg multimedia streaming system.
Theora is derived directly from On2 VP3 codec; Currently the two are
nearly identical, varying only in encapsulating decoder tables in the
bitstream headers, but Theora will make use of this extra freedom
in the future to improve over what is possible with VP3."
libtheora-devel_package() {
depends="libogg-devel libtheora>=${version}"
short_desc="${short_desc} - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.a"
vmove usr/share
}
}
libtheora_package() {
pkg_install() {
vmove usr
}
}