void-packages/srcpkgs/libbluray/template
Alessio Sergi 08b7821222 libbluray: update to 1.0.1
Add -tools pkg.
2017-06-19 01:52:44 +02:00

30 lines
931 B
Bash

# Template file for 'libbluray'
pkgname=libbluray
version=1.0.1
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.eu>"
homepage="https://www.videolan.org/developers/libbluray.html"
license="LGPL-2.1"
distfiles="https://download.videolan.org/pub/videolan/libbluray/${version}/libbluray-${version}.tar.bz2"
checksum=0f9f9a1db2f48cafc70ed2596ff3594b597e2027408f5f2be6191c245d67853a
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
}
}