# Template file for 'libbluray'
pkgname=libbluray
version=0.2.3
revision=2
build_style=gnu-configure
configure_args="--disable-static --disable-bdjava"
hostmakedepends="pkg-config"
makedepends="libxml2-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=2c65cfb02aeec31721f9ea65ee2c085a9bfe163e99dd01b52ccb3f53ba205eea

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

libbluray_package() {
	pkg_install() {
		vmove usr
	}
}