33 lines
975 B
Bash
33 lines
975 B
Bash
# Template file for 'gssdp'
|
|
pkgname=gssdp
|
|
version=1.2.3
|
|
revision=1
|
|
build_style=meson
|
|
build_helper="gir"
|
|
configure_args="$(vopt_bool gir vapi) $(vopt_bool gir introspection)
|
|
-Dexamples=false"
|
|
hostmakedepends="pkg-config glib-devel $(vopt_if gir vala)"
|
|
makedepends="gtk+3-devel libsoup-devel libglib-devel"
|
|
short_desc="GObject-based library for SSDP"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="LGPL-2.1-or-later"
|
|
homepage="https://wiki.gnome.org/action/show/Projects/GUPnP"
|
|
distfiles="${GNOME_SITE}/gssdp/${version%.*}/gssdp-${version}.tar.xz"
|
|
checksum=a263dcb6730e3b3dc4bbbff80cf3fab4cd364021981d419db6dd5a8e148aa7e8
|
|
|
|
build_options="gir"
|
|
build_options_default="gir"
|
|
|
|
gssdp-devel_package() {
|
|
depends="libsoup-devel gssdp>=${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
vmove "usr/lib/*.so"
|
|
if [ "$build_option_gir" ]; then
|
|
vmove usr/share/gir-1.0
|
|
vmove usr/share/vala
|
|
fi
|
|
}
|
|
}
|