From 44f2c99e25c9b5c9aab5101b482afff27ed6036f Mon Sep 17 00:00:00 2001 From: skmpz Date: Fri, 12 Feb 2021 21:45:56 +0400 Subject: [PATCH] nghttp2: update to 1.43.0. --- srcpkgs/nghttp2/template | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/srcpkgs/nghttp2/template b/srcpkgs/nghttp2/template index 6df92fef8f362d..edbba910e9cc0a 100644 --- a/srcpkgs/nghttp2/template +++ b/srcpkgs/nghttp2/template @@ -1,20 +1,25 @@ # Template file for 'nghttp2' pkgname=nghttp2 -version=1.42.0 +version=1.43.0 revision=1 build_style=gnu-configure -hostmakedepends="pkg-config" +hostmakedepends="pkg-config python3" makedepends="zlib-devel libressl-devel libevent-devel jansson-devel - libev-devel c-ares-devel" + libev-devel c-ares-devel python3-devel" checkdepends="libcppunit-devel" short_desc="HTTP/2 C Library" maintainer="skmpz " license="MIT" homepage="https://nghttp2.org" distfiles="https://github.com/tatsuhiro-t/nghttp2/releases/download/v${version}/nghttp2-${version}.tar.xz" -checksum=c5a7f09020f31247d0d1609078a75efadeccb7e5b86fc2e4389189b1b431fe63 +checksum=f7d54fa6f8aed29f695ca44612136fa2359013547394d5dffeffca9e01a26b0f python_version=3 +if [ "$CROSS_BUILD" ]; then + export PYTHON_CPPFLAGS="-I${XBPS_CROSS_BASE}/${py3_inc}" + export PYTHON_EXTRA_LIBS="-L${XBPS_CROSS_BASE}/usr/lib -lpython${py3_ver}" +fi + post_install() { rm -rf ${DESTDIR}/usr/share/man vlicense COPYING