Commit 3547e357 authored by Michael Catanzaro's avatar Michael Catanzaro

Attempt to fix glib-networking build

parent bdf900bb
......@@ -809,7 +809,7 @@
{"src": "gnome:glib-networking",
"component": "minimal",
"patches": ["glib-networking-build-api.patch"],
"config-opts": ["--enable-installed-tests"]},
"config-opts": ["--enable-installed-tests --disable-libproxy"]},
{"src": "gnome:libsoup",
"component": "minimal",
......
......@@ -13,7 +13,7 @@ new file mode 100755
index 0000000..25b666c
--- /dev/null
+++ b/configure
@@ -0,0 +1,155 @@
@@ -0,0 +1,159 @@
+#!/bin/bash
+# configure script adapter for Meson
+# Based on build-api: https://github.com/cgwalters/build-api
......@@ -73,6 +73,7 @@ index 0000000..25b666c
+
+enable_docs='-Denable-gtk-doc=false'
+enable_man='-Denable-man=false'
+enable_libproxy='-Denable_libproxy=true'
+
+while (($# > 0)); do
+ case "${1%%=*}" in
......@@ -90,6 +91,8 @@ index 0000000..25b666c
+ --disable-gtk-doc) enable_docs='-Denable-gtk-doc=false';;
+ --enable-man) enable_man='-Denable-man=true';;
+ --disable-man) enable_man='-Denable-man=false';;
+ --enable-libproxy) enable_libproxy='-Denable_libproxy=true';;
+ --disable-libproxy) enable_libproxy='-Denable_libproxy=false';;
+ *) echo -e "\e[1;33mINFO\e[0m: Ignoring unknown option '$1'";;
+ esac
+ shift
......@@ -151,7 +154,7 @@ index 0000000..25b666c
+echo " mandir:...... ${mandir}"
+echo " includedir:.. ${includedir}"
+echo " additional:.."
+echo " - ${enable_docs} ${enable_man}"
+echo " - ${enable_docs} ${enable_man} ${enable_libproxy}"
+
+exec ${MESON} \
+ --prefix=${prefix} \
......@@ -165,6 +168,7 @@ index 0000000..25b666c
+ --default-library shared \
+ ${enable_docs} \
+ ${enable_man} \
+ ${enable_libproxy} \
+ ${builddir} \
+ ${srcdir}
+
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment