mumble-server: link against legacy openssl-1.1

This commit is contained in:
Yaksh Bariya 2022-02-22 19:20:52 +05:30
parent b8859dd1dd
commit 79913e4bb8
No known key found for this signature in database
GPG Key ID: F7486BA7D3D27581

View File

@ -3,20 +3,32 @@ TERMUX_PKG_DESCRIPTION="Server module for Mumble, an open source voice-chat soft
TERMUX_PKG_LICENSE="BSD 3-Clause"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION=1.4.230
TERMUX_PKG_REVISION=1
TERMUX_PKG_SRCURL=https://github.com/mumble-voip/mumble.git
TERMUX_PKG_DEPENDS="libcap, libdns-sd, libprotobuf, openssl, qt5-qtbase"
TERMUX_PKG_DEPENDS="libcap, libdns-sd, libprotobuf, openssl-1.1, qt5-qtbase"
TERMUX_PKG_BUILD_DEPENDS="boost, qt5-qtbase-cross-tools"
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
-Dclient=OFF
-Dice=OFF
-Doverlay=OFF
-Dwarnings-as-errors=OFF
-DOPENSSL_INCLUDE_DIR=$TERMUX_PREFIX/include/openssl-1.1
-DOPENSSL_LIBRARIES=$TERMUX_PREFIX/lib/openssl-1.1
-DOPENSSL_CRYPTO_LIBRARY=$TERMUX_PREFIX/lib/openssl-1.1/libcrypto.so.1.1
-DOPENSSL_SSL_LIBRARY=$TERMUX_PREFIX/lib/openssl-1.1/libssl.so.1.1
"
termux_step_pre_configure() {
termux_setup_protobuf
LDFLAGS+=" -lcap"
CFLAGS="-I$TERMUX_PREFIX/include/openssl-1.1 $CFLAGS"
CPPFLAGS="-I$TERMUX_PREFIX/include/openssl-1.1 $CPPFLAGS"
CXXFLAGS="-I$TERMUX_PREFIX/include/openssl-1.1 $CXXFLAGS"
LDFLAGS="-L$TERMUX_PREFIX/lib/openssl-1.1 -Wl,-rpath=$TERMUX_PREFIX/lib/openssl-1.1 $LDFLAGS"
}
termux_step_post_configure() {