void-packages/srcpkgs/libtheora/template

31 lines
822 B
Bash

# Template file for 'libtheora'
pkgname=libtheora
version=1.1.1
revision=8
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.org>"
license="BSD-3-Clause"
homepage="http://www.theora.org"
distfiles="http://downloads.xiph.org/releases/theora/$pkgname-$version.tar.xz"
checksum=f36da409947aa2b3dcc6af0a8c2e3144bc19db2ed547d64e9171c59c66561c61
post_install() {
vlicense COPYING
}
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
}
}