summaryrefslogtreecommitdiff
path: root/packaging/libsoup.spec
diff options
context:
space:
mode:
Diffstat (limited to 'packaging/libsoup.spec')
-rw-r--r--packaging/libsoup.spec25
1 files changed, 9 insertions, 16 deletions
diff --git a/packaging/libsoup.spec b/packaging/libsoup.spec
index 74342aa7..9220ea85 100644
--- a/packaging/libsoup.spec
+++ b/packaging/libsoup.spec
@@ -2,7 +2,7 @@
%bcond_with introspection
Name: libsoup
-Version: 2.62.2
+Version: 2.69.90
Release: 1
License: LGPL-2.0+
Summary: HTTP client/server library for GNOME
@@ -24,9 +24,11 @@ BuildRequires: gnome-common
BuildRequires: intltool >= 0.35.0
BuildRequires: sqlite-devel
BuildRequires: which
+BuildRequires: meson
BuildRequires: python3
BuildRequires: pkgconfig(glib-2.0) >= 2.35.0
BuildRequires: pkgconfig(libxml-2.0)
+BuildRequires: pkgconfig(libpsl)
%description
Libsoup is an HTTP client/server library for GNOME. It uses GObjects
@@ -77,23 +79,14 @@ Features:
cp %{SOURCE1001} .
%build
-chmod +x autogen.sh
-%autogen\
-%if %{with introspection}
- --enable-introspection \
-%endif
-%if %{with gnome}
- --with-gnome \
-%else
- --without-gnome \
- --disable-tls-check \
-%endif
- --disable-static \
- --enable-vala=no
-make %{?_smp_mflags}
+meson --prefix /usr/ --libdir %{_libdir} build \
+ -Dgnome=false \
+ -Dtls_check=false
+ninja -C build all
%install
-%make_install
+export DESTDIR=%{buildroot}
+ninja -C build install
%find_lang %{name}