[packages/libgweather4] - updated to 4.2.0 (switched to libsoup3 by default)

qboosh qboosh at pld-linux.org
Thu Mar 23 17:59:18 CET 2023


commit 83b5ab0185ce0ecadd603ae1314c376a12be368d
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Thu Mar 23 18:01:39 2023 +0100

    - updated to 4.2.0 (switched to libsoup3 by default)

 libgweather4.spec | 16 ++++++++++------
 1 file changed, 10 insertions(+), 6 deletions(-)
---
diff --git a/libgweather4.spec b/libgweather4.spec
index 50359d1..9467022 100644
--- a/libgweather4.spec
+++ b/libgweather4.spec
@@ -2,19 +2,23 @@
 # Conditional build:
 %bcond_without	apidocs		# gi-docgen generated API documentation
 %bcond_without	vala		# Vala API
-%bcond_with	libsoup3	# libsoup3 instead of libsoup 2.x (must match geocode-glib)
+%bcond_without	libsoup3	# libsoup3/geocode-glib2 instead of libsoup 2.x/geocode-glib
 
 Summary:	Library to access weather information from online services for numerous locations
 Summary(pl.UTF-8):	Biblioteka dostępu do informacji pogodowych z serwisów internetowych dla różnych miejsc
 Name:		libgweather4
-Version:	4.0.0
+Version:	4.2.0
 Release:	1
 License:	GPL v2+
 Group:		X11/Libraries
-Source0:	https://download.gnome.org/sources/libgweather/4.0/libgweather-%{version}.tar.xz
-# Source0-md5:	2aa2708dfde3481c87da3d7ea27110da
+Source0:	https://download.gnome.org/sources/libgweather/4.2/libgweather-%{version}.tar.xz
+# Source0-md5:	4c0c46102dcb5e813ff698e5f713e4bb
 URL:		https://wiki.gnome.org/Projects/LibGWeather
+%if %{with libsoup3}
+BuildRequires:	geocode-glib2-devel
+%else
 BuildRequires:	geocode-glib-devel
+%endif
 BuildRequires:	gettext-tools >= 0.18
 %{?with_apidocs:BuildRequires:	gi-docgen >= 2021.6}
 BuildRequires:	glib2-devel >= 1:2.68.0
@@ -25,7 +29,7 @@ BuildRequires:	libsoup3-devel >= 3.0.0
 BuildRequires:	libsoup-devel >= 2.44.0
 %endif
 BuildRequires:	libxml2-devel >= 1:2.6.30
-BuildRequires:	meson >= 0.55.0
+BuildRequires:	meson >= 0.57.0
 BuildRequires:	ninja >= 1.5
 BuildRequires:	pkgconfig >= 1:0.19
 BuildRequires:	python3 >= 1:3
@@ -120,7 +124,7 @@ API biblioteki libgweather dla języka Vala.
 %meson build \
 	-Denable_vala=%{!?with_vala:false}%{?with_vala:true} \
 	%{?with_apidocs:-Dgtk_doc=true} \
-	%{?with_libsoup3:-Dsoup2=false} \
+	%{!?with_libsoup3:-Dsoup2=true} \
 	-Dzoneinfo_dir=%{_datadir}/zoneinfo
 
 %ninja_build -C build
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/libgweather4.git/commitdiff/83b5ab0185ce0ecadd603ae1314c376a12be368d



More information about the pld-cvs-commit mailing list