[arch-commits] Commit in libwebsockets/trunk (PKGBUILD)

Jelle van der Waa jelle at archlinux.org
Fri Apr 10 19:31:26 UTC 2020


    Date: Friday, April 10, 2020 @ 19:31:25
  Author: jelle
Revision: 613157

upgpkg: libwebsockets 4.0.1-1

Upstream update

Modified:
  libwebsockets/trunk/PKGBUILD

----------+
 PKGBUILD |   46 +++++++++++++++++++++++++++++++++-------------
 1 file changed, 33 insertions(+), 13 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-04-10 18:58:51 UTC (rev 613156)
+++ PKGBUILD	2020-04-10 19:31:25 UTC (rev 613157)
@@ -2,31 +2,51 @@
 # Contributor: Jingbei Li <i at jingbei.li>
 
 pkgname=libwebsockets
-pkgver=3.2.2
-pkgrel=3
+pkgver=4.0.1
+pkgrel=1
 pkgdesc="C library for websocket clients and servers"
 arch=('x86_64')
 url="https://libwebsockets.org"
-depends=('openssl' 'libcap' 'libuv')
+depends=('openssl' 'libcap' 'libuv' 'libev')
 makedepends=('cmake')
 license=('LGPL')
 source=($pkgname-$pkgver.tar.gz::https://github.com/warmcat/libwebsockets/archive/v$pkgver.tar.gz)
-sha256sums=('166d6e17cab64bfc10c2a71799c298284540a1fa63f6ea3de5caccb34502243c')
+sha256sums=('5b10ee0841a14303045617141370d5794b859b399084325c932dc0c03bf04c4b')
 
 build() {
   cd "$pkgname-$pkgver"
 
   mkdir build && cd build
-  # http2 support -DLWS_WITH_HTTP2=1
-  cmake -DCMAKE_BUILD_TYPE=Release \
-        -DCMAKE_INSTALL_PREFIX:PATH=/usr \
-        -DLWS_WITH_STATIC=OFF \
-        -DLWS_LINK_TESTAPPS_DYNAMIC=ON \
-        -DLWS_UNIX_SOCK=ON \
-        -DLWS_WITH_LIBUV=ON \
-        -DLWS_IPV6=ON \
+  cmake \
+        -D CMAKE_INSTALL_PREFIX:PATH=/usr \
+        -D LWS_WITH_HTTP2=ON \
+        -D LWS_IPV6=ON \
+        -D LWS_WITH_ZIP_FOPS=ON \
+        -D LWS_WITH_SOCKS5=ON \
+        -D LWS_WITH_RANGES=ON \
+        -D LWS_WITH_ACME=ON \
+        -D LWS_WITH_LIBUV=ON \
+        -D LWS_WITH_LIBEV=ON \
+        -D LWS_WITH_LIBEVENT=OFF \
+        -D LWS_WITH_FTS=ON \
+        -D LWS_WITH_THREADPOOL=ON \
+        -D LWS_UNIX_SOCK=ON \
+        -D LWS_WITH_HTTP_PROXY=ON \
+        -D LWS_WITH_DISKCACHE=ON \
+        -D LWS_WITH_LWSAC=ON \
+        -D LWS_LINK_TESTAPPS_DYNAMIC=ON \
+        -D LWS_WITHOUT_BUILTIN_GETIFADDRS=ON \
+        -D LWS_USE_BUNDLED_ZLIB=OFF \
+        -D LWS_WITHOUT_BUILTIN_SHA1=ON \
+        -D LWS_WITH_STATIC=OFF \
+        -D LWS_WITHOUT_CLIENT=OFF \
+        -D LWS_WITHOUT_SERVER=OFF \
+        -D LWS_WITHOUT_TESTAPPS=ON \
+        -D LWS_WITHOUT_TEST_SERVER=OFF \
+        -D LWS_WITHOUT_TEST_SERVER_EXTPOLL=ON \
+        -D LWS_WITHOUT_TEST_PING=ON \
+        -D LWS_WITHOUT_TEST_CLIENT=ON \
         ..
-#-DLWS_WITHOUT_TEST_SERVER=ON \  # Disable certificate generation
   make
 }
 


More information about the arch-commits mailing list