--- /dev/null
+--- libsoup-2.68.0/meson.build.orig 2019-09-11 11:08:25.000000000 +0200
++++ libsoup-2.68.0/meson.build 2019-09-11 17:30:07.856616832 +0200
+@@ -311,11 +311,18 @@
+ ################
+ # NTLM not supported on Windows
+ if host_machine.system() != 'windows'
+- ntlm_auth = find_program(get_option('ntlm_auth'), required: get_option('ntlm'))
++ ntlm_auth_path = get_option('ntlm_auth')
++ if ntlm_auth_path[0] == '/'
++ ntlm_auth_found = true
++ else
++ ntlm_auth = find_program(get_option('ntlm_auth'), required: get_option('ntlm'))
++ ntlm_auth_found = ntlm_auth.found()
++ ntlm_auth_path = ntlm_auth.path()
++ endif
+
+- if ntlm_auth.found()
++ if ntlm_auth_found
+ add_project_arguments('-DUSE_NTLM_AUTH=1', language : 'c')
+- add_project_arguments('-DNTLM_AUTH="' + ntlm_auth.path() + '"', language : 'c')
++ add_project_arguments('-DNTLM_AUTH="' + ntlm_auth_path + '"', language : 'c')
+ endif
+ endif
+
Summary: SOAP (Simple Object Access Protocol) implementation in C
Summary(pl.UTF-8): Implementacja w C SOAP (Simple Object Access Protocol)
Name: libsoup
-Version: 2.66.2
+Version: 2.68.0
Release: 1
License: LGPL v2+
Group: Libraries
-Source0: http://ftp.gnome.org/pub/GNOME/sources/libsoup/2.66/%{name}-%{version}.tar.xz
-# Source0-md5: 66c2ae89d6031b01337d78a2c57c75d5
+Source0: http://ftp.gnome.org/pub/GNOME/sources/libsoup/2.68/%{name}-%{version}.tar.xz
+# Source0-md5: be8181fc6c0e0f3a5f269eef7e40a351
+Patch0: %{name}-path-override.patch
URL: https://wiki.gnome.org/Projects/libsoup
BuildRequires: docbook-dtd412-xml
BuildRequires: gettext-tools
BuildRequires: gobject-introspection-devel >= 0.10.0
BuildRequires: gtk-doc >= 1.20
BuildRequires: heimdal-devel
+BuildRequires: libbrotli-devel
BuildRequires: libpsl-devel >= 0.20.0
BuildRequires: libxml2-devel >= 1:2.6.31
-BuildRequires: meson >= 0.48
+BuildRequires: meson >= 0.50
BuildRequires: ninja >= 1.5
BuildRequires: pkgconfig
BuildRequires: rpmbuild(macros) >= 1.736
BuildRequires: tar >= 1:1.22
BuildRequires: vala
BuildRequires: xz
+BuildRequires: zlib-devel
Requires: glib2 >= 1:2.38.0
Requires: libpsl >= 0.20.0
# for TLS support
%prep
%setup -q
+%patch0 -p1
%build
%meson build \
-Ddoc=true \
- -Dntlm=true \
+ -Dgtk_doc=true \
+ -Dntlm=enabled \
-Dntlm_auth=/usr/bin/ntlm_auth \
-Dtests=false \
-Dtls_check=false