void-packages/srcpkgs/usbredir/template

25 lines
839 B
Bash

# Template file for 'usbredir'
pkgname=usbredir
version=0.14.0
revision=1
build_style=meson
hostmakedepends="pkg-config python3"
makedepends="libusb-devel glib-devel"
short_desc="USB traffic redirection protocol"
maintainer="Andrea Brancaleoni <abc@pompel.me>"
license="GPL-2.0-or-later,LGPL-2.1-or-later"
homepage="https://spice-space.org"
changelog="https://gitlab.freedesktop.org/spice/usbredir/-/raw/main/ChangeLog.md"
distfiles="https://gitlab.freedesktop.org/spice/usbredir/-/archive/usbredir-${version}/usbredir-usbredir-${version}.tar.bz2"
checksum=d3f3dfb37b44625d407085a88b78f1bdfd1c400852473cb833b947b3dc29f0b1
usbredir-devel_package() {
depends="${makedepends} ${sourcepkg}-${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.so"
vmove usr/lib/pkgconfig
}
}