void-packages/srcpkgs/libtheora/template

27 lines
772 B
Plaintext

# Template file for 'libtheora'.
pkgname=libtheora
version=1.1.1
revision=7
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="Juan RP <xtraeme@gmail.com>"
homepage="http://www.theora.org"
license="BSD"
distfiles="http://downloads.xiph.org/releases/theora/$pkgname-$version.tar.xz"
checksum=f36da409947aa2b3dcc6af0a8c2e3144bc19db2ed547d64e9171c59c66561c61
libtheora-devel_package() {
depends="libogg-devel libtheora>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
vmove usr/share
}
}