void-packages/srcpkgs/libbluray/template
2019-02-12 20:00:36 -02:00

31 lines
942 B
Bash

# Template file for 'libbluray'
pkgname=libbluray
version=1.1.0
revision=1
build_style=gnu-configure
configure_args="--disable-static --disable-optimizations --disable-bdjava-jar"
hostmakedepends="pkg-config"
makedepends="libxml2-devel fontconfig-devel"
short_desc="Library to access Blu-Ray disks for video playback"
maintainer="Juan RP <xtraeme@voidlinux.org>"
license="LGPL-2.1-or-later"
homepage="https://www.videolan.org/developers/libbluray.html"
distfiles="https://download.videolan.org/pub/videolan/libbluray/${version}/libbluray-${version}.tar.bz2"
checksum=e6a600d26ad3453a168dbb144f041134e954b541b44a9a5aa213d1c7d8c3fe83
libbluray-devel_package() {
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
}
}
libbluray-tools_package() {
short_desc+=" - tools"
pkg_install() {
vmove usr/bin
}
}