void-packages/srcpkgs/libdvdread/template
2020-04-14 20:33:31 +02:00

26 lines
805 B
Bash

# Template file for 'libdvdread'
pkgname=libdvdread
version=6.1.1
revision=1
build_style=gnu-configure
configure_args="--with-libdvdcss"
hostmakedepends="pkg-config"
makedepends="libdvdcss-devel"
short_desc="DVD access library"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-or-later, LGPL-2.1-or-later"
homepage="https://www.videolan.org/developers/libdvdnav.html"
distfiles="https://get.videolan.org/libdvdread/${version}/libdvdread-${version}.tar.bz2"
checksum=3e357309a17c5be3731385b9eabda6b7e3fa010f46022a06f104553bf8e21796
libdvdread-devel_package() {
depends="${sourcepkg}>=${version}_${revision} libdvdcss-devel"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/share
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
vmove "usr/lib/*.a"
}
}