diff --git a/common/shlibs b/common/shlibs index 6a311816a58..acdd6298e32 100644 --- a/common/shlibs +++ b/common/shlibs @@ -2024,3 +2024,4 @@ libtomahawk-playdarapi.so.0.8.4 tomahawk-qt5-0.8.4_3 libtomahawk-widgets.so.0.8.4 tomahawk-qt5-0.8.4_3 libzen.so.0 libzen-0.4.31_1 libmediainfo.so.0 libmediainfo-0.7.73_1 +libnghttp2.so.5 nghttp2-0.7.4_1 diff --git a/srcpkgs/nghttp2-devel b/srcpkgs/nghttp2-devel new file mode 120000 index 00000000000..83887f6737a --- /dev/null +++ b/srcpkgs/nghttp2-devel @@ -0,0 +1 @@ +nghttp2 \ No newline at end of file diff --git a/srcpkgs/nghttp2/template b/srcpkgs/nghttp2/template new file mode 100644 index 00000000000..9ca323565ff --- /dev/null +++ b/srcpkgs/nghttp2/template @@ -0,0 +1,30 @@ +# Template file for 'nghttp2' +pkgname=nghttp2 +version=0.7.14 +revision=1 +build_style=gnu-configure +configure_args="--without-libxml2 --without-jemalloc --without-spdylay" +hostmakedepends="pkg-config" +makedepends="zlib-devel libressl-devel libevent-devel jansson-devel" +short_desc="HTTP/2 C Library" +maintainer="Juan RP " +license="MIT" +homepage="https://nghttp2.org" +distfiles="https://github.com/tatsuhiro-t/nghttp2/releases/download/v${version}/nghttp2-${version}.tar.xz" +checksum=f08ff29c8fa4e7fd57f546eb81eaf36d8211f83c655aed9b526e31b0a6e8831e + +post_install() { + rm -rf ${DESTDIR}/usr/share/man + vlicense COPYING +} + +nghttp2-devel_package() { + depends="${sourcepkg}-${version}_${revision}" + short_desc+=" - development files" + pkg_install() { + vmove usr/include + vmove usr/lib/*.a + vmove usr/lib/*.so + vmove usr/lib/pkgconfig + } +}