36 lines
1000 B
Bash
36 lines
1000 B
Bash
# Template file for 'gupnp'
|
|
pkgname=gupnp
|
|
version=1.0.3
|
|
revision=1
|
|
build_style=gnu-configure
|
|
configure_args="--disable-static $(vopt_enable gir introspection)"
|
|
hostmakedepends="pkg-config"
|
|
makedepends="libglib-devel libxml2-devel libuuid-devel gssdp-devel
|
|
$(vopt_if gir 'gobject-introspection vala-devel')"
|
|
short_desc="GObject-based library for UPnP"
|
|
maintainer="Juan RP <xtraeme@voidlinux.org>"
|
|
license="LGPL-2.1-or-later"
|
|
homepage="https://wiki.gnome.org/Projects/GUPnP"
|
|
distfiles="${GNOME_SITE}/gupnp/${version%.*}/gupnp-${version}.tar.xz"
|
|
checksum=794b162ee566d85eded8c3f3e8c9c99f6b718a6b812d8b56f0c2ed72ac37cbbb
|
|
|
|
# Package build options
|
|
build_options="gir"
|
|
|
|
# Disable gir for cross builds.
|
|
if [ -z "$CROSS_BUILD" ]; then
|
|
build_options_default="gir"
|
|
fi
|
|
|
|
gupnp-devel_package() {
|
|
depends="${makedepends} gupnp-${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/bin
|
|
vmove usr/include
|
|
vmove usr/share
|
|
vmove usr/lib/pkgconfig
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|