void-packages/srcpkgs/gupnp1.2-igd/template

32 lines
982 B
Bash

# Template file for 'gupnp1.2-igd'
pkgname=gupnp1.2-igd
version=1.2.0
revision=1
build_style=meson
build_helper="gir"
configure_args="$(vopt_bool gir introspection)"
hostmakedepends="pkg-config glib-devel"
makedepends="libglib-devel libxml2-devel libsoup-devel gssdp1.2-devel gupnp1.2-devel"
short_desc="Library to handle UPnP IGD port mapping"
maintainer="Orphaned <orphan@voidlinux.org>"
license="LGPL-2.1-or-later"
homepage="http://gupnp.org"
changelog="https://gitlab.gnome.org/GNOME/gupnp-igd/-/raw/master/NEWS"
distfiles="${GNOME_SITE}/gupnp-igd/${version%.*}/gupnp-igd-${version}.tar.xz"
checksum=4b5120098aa13edd27818ba9ee4d7fe961bf540bf50d056ff703c61545e02be1
# Package build options
build_options="gir"
build_options_default="gir"
gupnp1.2-igd-devel_package() {
depends="gupnp1.2-devel ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/share
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
}
}