mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
Add support for http2 in curl
Update nghttp2 package.mk as per @Milhouse recommendations and add --without-libidn2 to curl package.mk to prevent it from being linked to curl in some scenarios where addo-ons may have been built previously.
This commit is contained in:
parent
1bf54d978e
commit
4d156b0e4c
@ -16,7 +16,7 @@ PKG_SHA256="7802c54076500be500b171fde786258579d60547a3a35b8c5a23d8c88e8f9620"
|
||||
PKG_LICENSE="MIT"
|
||||
PKG_SITE="http://curl.haxx.se"
|
||||
PKG_URL="http://curl.haxx.se/download/$PKG_NAME-$PKG_VERSION.tar.bz2"
|
||||
PKG_DEPENDS_TARGET="toolchain zlib openssl rtmpdump"
|
||||
PKG_DEPENDS_TARGET="toolchain zlib openssl rtmpdump nghttp2"
|
||||
PKG_LONGDESC="Client and library for (HTTP, HTTPS, FTP, ...) transfers."
|
||||
PKG_TOOLCHAIN="configure"
|
||||
|
||||
@ -73,7 +73,9 @@ PKG_CONFIGURE_OPTS_TARGET="ac_cv_lib_rtmp_RTMP_Init=yes \
|
||||
--without-libmetalink \
|
||||
--without-libssh2 \
|
||||
--with-librtmp=$SYSROOT_PREFIX/usr \
|
||||
--without-libidn"
|
||||
--without-libidn \
|
||||
--without-libidn2 \
|
||||
--with-nghttp2"
|
||||
|
||||
pre_configure_target() {
|
||||
# link against librt because of undefined reference to 'clock_gettime'
|
||||
|
19
packages/web/nghttp2/package.mk
Normal file
19
packages/web/nghttp2/package.mk
Normal file
@ -0,0 +1,19 @@
|
||||
# SPDX-License-Identifier: GPL-2.0-or-later
|
||||
# Copyright (C) 2019-present Team LibreELEC (https://libreelec.tv)
|
||||
|
||||
PKG_NAME="nghttp2"
|
||||
PKG_VERSION="1.36.0"
|
||||
PKG_SHA256="e9bb86157b88eda5a6844a232e039febbb52c1aa44b640acbbfabe729b8287fc"
|
||||
PKG_LICENSE="MIT"
|
||||
PKG_SITE="http://www.linuxfromscratch.org/blfs/view/cvs/basicnet/nghttp2.html"
|
||||
PKG_URL="https://github.com/nghttp2/nghttp2/releases/download/v$PKG_VERSION/nghttp2-$PKG_VERSION.tar.xz"
|
||||
PKG_DEPENDS_TARGET="toolchain"
|
||||
PKG_LONGDESC="nghttp2 is an implementation of HTTP/2 and its header compression algorithm, HPACK."
|
||||
PKG_TOOLCHAIN="configure"
|
||||
|
||||
PKG_CONFIGURE_OPTS_TARGET="--enable-lib-only"
|
||||
|
||||
post_makeinstall_target() {
|
||||
rm -r "${INSTALL}/usr/share"
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user