# Template file for 'libbluray'
pkgname=libbluray
version=0.6.2
revision=1
build_style=gnu-configure
configure_args="--disable-static --disable-bdjava"
hostmakedepends="pkg-config"
makedepends="libxml2-devel freetype-devel"
short_desc="Library to access Blu-Ray disks for video playback"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://www.videolan.org/developers/libbluray.html"
license="LGPL-2.1"
distfiles="ftp://ftp.videolan.org/pub/videolan/$pkgname/$version/$pkgname-$version.tar.bz2"
checksum=8ca410c8a4a1e2e8344014a67e2c908182cff3e04ece4e3b9ef196cf6bca5cd0

libbluray-devel_package() {
	depends="${sourcepkg}>=${version}_${revision}"
	short_desc+=" - development files"
	pkg_install() {
		vmove usr/include
		vmove usr/lib/pkgconfig
		vmove "usr/lib/*.so"
	}
}
