void-packages/srcpkgs/libtheora/template

26 lines
775 B
Bash

# 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@voidlinux.eu>"
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
}
}