libwebsockets: update to 3.0.0.

Closes #14212.

Signed-off-by: Enno Boland <gottox@voidlinux.eu>
This commit is contained in:
maxice8 2018-05-07 16:24:16 -03:00 committed by Enno Boland
parent b55289e895
commit b7a2f32344
2 changed files with 12 additions and 9 deletions

View File

@ -2094,7 +2094,7 @@ libcvm-v1client.so.1 cvm-0.97_1
libcvm-v2client.so.1 cvm-0.97_1
libudns.so.0 udns-0.4_1
libcriu.so.1 criu-1.5.1_2
libwebsockets.so.12 libwebsockets-2.4.0_1
libwebsockets.so.13 libwebsockets-3.0.0_1
libnfc.so.0 libnfc-1.7.1_1
libfuzzy.so.2 libfuzzy-2.12_1
libSDL_gfx.so.15 SDL_gfx-2.0.25_2

View File

@ -1,28 +1,31 @@
# Template file for 'libwebsockets'
pkgname=libwebsockets
version=2.4.2
revision=2
version=3.0.0
revision=1
build_style=cmake
makedepends="zlib-devel libressl-devel libev-devel"
configure_args="-DLWS_WITH_LIBEV=1 -DLWS_WITH_HTTP2=1 -DLWS_USE_IPV6=1"
configure_args="-DLWS_WITH_LIBEV=ON -DLWS_WITH_HTTP2=ON -DLWS_IPV6=ON
-DLWS_HAVE_LIBCAP=ON"
makedepends="libcap-devel libev-devel libressl-devel zlib-devel"
short_desc="Lightweight client and server websocket library"
maintainer="Enno Boland <gottox@voidlinux.eu>"
license="LGPL-2.1-only"
#changelog="https://raw.githubusercontent.com/warmcat/libwebsockets/v3.0-stable/changelog"
homepage="https://libwebsockets.org"
distfiles="https://github.com/warmcat/libwebsockets/archive/v$version.tar.gz"
checksum=73012d7fcf428dedccc816e83a63a01462e27819d5537b8e0d0c7264bfacfad6
checksum=a6b611c212c52f161f70556339fdaa199b7e9b6a167c4638e086d19db75d6290
CFLAGS="-Wno-error"
libwebsockets-devel_package() {
depends="libwebsockets>=${version}_${revision} libev-devel"
depends="libwebsockets>=${version}_${revision} libev-devel libcap-devel"
short_desc+=" - development files"
pkg_install() {
vmove usr/bin
vmove usr/share/libwebsockets-test-server
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/lib/*.a
vmove usr/lib/*.so
vmove usr/lib/cmake
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
}
}