libgweather: enable test
This commit is contained in:
parent
f17b1e5957
commit
5bdf2136ef
1 changed files with 7 additions and 1 deletions
|
@ -5,7 +5,7 @@ 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
|
||||
-Dintrospection=$(vopt_if gir true 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"
|
||||
|
@ -20,6 +20,12 @@ checksum=d2ffeec01788d03d1bbf35113fc2f054c6c3600721088f827bcc31e5c603a32d
|
|||
build_options="gir vala"
|
||||
build_options_default="gir vala"
|
||||
|
||||
post_patch() {
|
||||
# This test requires LC_IDENTIFICATION, which is a GLIBC's extension
|
||||
# And looks like we didn't ship it.
|
||||
vsed -i -e '/setlocale.*fr_FR/i return;' libgweather/test_libgweather.c
|
||||
}
|
||||
|
||||
libgweather-devel_package() {
|
||||
depends="${makedepends} ${sourcepkg}>=${version}_${revision} gtk+3-devel"
|
||||
short_desc+=" - development files"
|
||||
|
|
Loading…
Reference in a new issue