37 lines
1.2 KiB
Bash
37 lines
1.2 KiB
Bash
# Template file for 'libgweather'
|
|
pkgname=libgweather
|
|
version=3.36.0
|
|
revision=1
|
|
build_style=meson
|
|
build_helper="gir"
|
|
configure_args="-Denable_vala=$(vopt_if vala true false)
|
|
-Dintrospection=$(vopt_if gir true false) -Dtest=false
|
|
-Dzoneinfo_dir=/usr/share/zoneinfo"
|
|
hostmakedepends="glib-devel intltool pkg-config $(vopt_if vala vala)"
|
|
makedepends="geocode-glib-devel gtk+3-devel libsoup-gnome-devel"
|
|
checkdepends="tzdata"
|
|
short_desc="GNOME Weather information access library"
|
|
maintainer="Enno Boland <gottox@voidlinux.org>"
|
|
license="LGPL-2.1-or-later"
|
|
homepage="https://wiki.gnome.org/Projects/LibGWeather"
|
|
distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
|
|
checksum=d2ffeec01788d03d1bbf35113fc2f054c6c3600721088f827bcc31e5c603a32d
|
|
|
|
build_options="gir vala"
|
|
build_options_default="gir vala"
|
|
|
|
libgweather-devel_package() {
|
|
depends="${makedepends} ${sourcepkg}>=${version}_${revision} gtk+3-devel"
|
|
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
|
|
fi
|
|
if [ "$build_option_vala" ]; then
|
|
vmove usr/share/vala
|
|
fi
|
|
}
|
|
}
|