glib_networking: switch to openssl backend

This commit is contained in:
Gerasim Troeglazov
2022-08-14 23:02:39 +10:00
parent 9177ecddbc
commit 316da332f5

View File

@@ -11,7 +11,7 @@ COPYRIGHT="1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald
2008-2010 Collabora Ltd.
1995-2010 Several others"
LICENSE="GNU LGPL v2"
REVISION="1"
REVISION="2"
SOURCE_URI="http://ftp.gnome.org/pub/gnome/sources/glib-networking/2.72/glib-networking-$portVersion.tar.xz"
CHECKSUM_SHA256="cd2a084c7bb91d78e849fb55d40e472f6d8f6862cddc9f12c39149359ba18268"
SOURCE_DIR="glib-networking-$portVersion"
@@ -25,11 +25,12 @@ PROVIDES="
"
REQUIRES="
haiku$secondaryArchSuffix
lib:libcrypto$secondaryArchSuffix
lib:libffi$secondaryArchSuffix
lib:libglib_2.0$secondaryArchSuffix
lib:libgmp$secondaryArchSuffix
lib:libgnutls$secondaryArchSuffix
lib:libintl$secondaryArchSuffix
lib:libssl$secondaryArchSuffix
lib:libxml2$secondaryArchSuffix
lib:libz$secondaryArchSuffix
"
@@ -37,10 +38,10 @@ REQUIRES="
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
ca_root_certificates
devel:libcrypto$secondaryArchSuffix
devel:libglib_2.0$secondaryArchSuffix
devel:libgmp$secondaryArchSuffix
devel:libgnutls$secondaryArchSuffix >= 30
devel:libnettle$secondaryArchSuffix >= 8
devel:libssl$secondaryArchSuffix
devel:libtasn1$secondaryArchSuffix
devel:libxml2$secondaryArchSuffix
devel:libz$secondaryArchSuffix
@@ -63,6 +64,7 @@ BUILD()
CFLAGS="-D_BSD_SOURCE" \
LDFLAGS="-lbsd -lgnu -lnetwork" meson build \
-Dopenssl=enabled \
--buildtype=release \
--prefix=$prefix --includedir=$includeDir \
--libdir=$libDir --datadir=$dataDir --bindir=$binDir \