gssdp: update to 1.0.3.
This commit is contained in:
parent
d7e38d5797
commit
5f8813925e
1 changed files with 15 additions and 19 deletions
|
@ -1,31 +1,26 @@
|
|||
# Template file for 'gssdp'
|
||||
pkgname=gssdp
|
||||
version=1.0.2
|
||||
version=1.0.3
|
||||
revision=1
|
||||
build_style=gnu-configure
|
||||
configure_args="--disable-static"
|
||||
hostmakedepends="pkg-config intltool"
|
||||
makedepends="gtk+-devel libsoup-devel"
|
||||
build_style=meson
|
||||
configure_args="-Dvapi=$(vopt_if vala true false) -Dexamples=false
|
||||
-Dintrospection=$(vopt_if gir true false)"
|
||||
hostmakedepends="pkg-config glib-devel $(vopt_if gir gobject-introspection)
|
||||
$(vopt_if vala 'vala-devel')"
|
||||
makedepends="gtk+3-devel libsoup-devel libglib-devel"
|
||||
short_desc="GObject-based library for SSDP"
|
||||
maintainer="Juan RP <xtraeme@voidlinux.org>"
|
||||
license="LGPL-2.1"
|
||||
homepage="http://gupnp.org"
|
||||
distfiles="${GNOME_SITE}/gssdp/${version%.*}/gssdp-$version.tar.xz"
|
||||
checksum=a1e17c09c7e1a185b0bd84fd6ff3794045a3cd729b707c23e422ff66471535dc
|
||||
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=211387a62bc1d99821dd0333d873a781320287f5436f91e58b2ca145b378be41
|
||||
|
||||
# Package build options
|
||||
build_options="gir"
|
||||
build_options="gir vala"
|
||||
|
||||
# Disable gir for cross builds.
|
||||
if [ -z "$CROSS_BUILD" ]; then
|
||||
build_options_default="gir"
|
||||
fi
|
||||
|
||||
if [ "$build_option_gir" ]; then
|
||||
configure_args+=" --enable-introspection"
|
||||
makedepends+=" gobject-introspection vala-devel"
|
||||
else
|
||||
configure_args+=" --disable-introspection"
|
||||
build_options_default="gir vala"
|
||||
fi
|
||||
|
||||
gssdp-devel_package() {
|
||||
|
@ -37,8 +32,9 @@ gssdp-devel_package() {
|
|||
vmove "usr/lib/*.so"
|
||||
if [ "$build_option_gir" ]; then
|
||||
vmove usr/share/gir-1.0
|
||||
fi
|
||||
if [ "$build_option_vala" ]; then
|
||||
vmove usr/share/vala
|
||||
fi
|
||||
vmove usr/share/gtk-doc
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue