libsoup, disable static library (#8329)

This commit is contained in:
Schrijvers Luc
2023-04-11 11:07:59 +02:00
committed by GitHub
parent 74617a7ae8
commit cefaaf5ad7

View File

@@ -5,7 +5,7 @@ GNOME applications, and also has a synchronous API, for use in threaded applicat
HOMEPAGE="https://wiki.gnome.org/Projects/libsoup/"
COPYRIGHT="2005 - 2015 The GNOME Project"
LICENSE="GNU LGPL v2"
REVISION="3"
REVISION="4"
SOURCE_URI="http://ftp.gnome.org/pub/GNOME/sources/libsoup/2.60/libsoup-$portVersion.tar.xz"
CHECKSUM_SHA256="7263cfe18872e2e652c196f5667e514616d9c97c861dfca82a65a55f45f0da01"
PATCHES="libsoup-$portVersion.patchset"
@@ -56,13 +56,23 @@ BUILD_PREREQUIRES="
cmd:libtool
cmd:make
cmd:pkg_config$secondaryArchSuffix
cmd:python2
cmd:python3
"
PATCH()
{
sed -i 's,\/usr/bin/env python,\/bin/env python3,g' libsoup/tld-parser.py
}
BUILD()
{
runConfigure ./configure --disable-nls --without-gnome --disable-tls-check \
--enable-vala=no --enable-introspection=yes --disable-gtk-doc-html
runConfigure ./configure --disable-nls \
--without-gnome \
--disable-tls-check \
--enable-vala=no \
--enable-introspection=yes \
--disable-gtk-doc-html \
--disable-static
make $jobArgs
}