void-packages/srcpkgs/libbluray/template
2019-07-06 15:23:55 +02:00

31 lines
942 B
Bash

# Template file for 'libbluray'
pkgname=libbluray
version=1.1.2
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=a3dd452239b100dc9da0d01b30e1692693e2a332a7d29917bf84bb10ea7c0b42
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
}
}