[arch-commits] Commit in libwebsockets/repos/community-x86_64 (PKGBUILD PKGBUILD)

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


    Date: Friday, April 10, 2020 @ 19:31:35
  Author: jelle
Revision: 613158

archrelease: copy trunk to community-x86_64

Added:
  libwebsockets/repos/community-x86_64/PKGBUILD
    (from rev 613157, libwebsockets/trunk/PKGBUILD)
Deleted:
  libwebsockets/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   98 ++++++++++++++++++++++++++++++++++++-------------------------
 1 file changed, 59 insertions(+), 39 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-04-10 19:31:25 UTC (rev 613157)
+++ PKGBUILD	2020-04-10 19:31:35 UTC (rev 613158)
@@ -1,39 +0,0 @@
-# Maintainer: Jelle van der Waa <jelle at archlinux.org>
-# Contributor: Jingbei Li <i at jingbei.li>
-
-pkgname=libwebsockets
-pkgver=3.2.2
-pkgrel=3
-pkgdesc="C library for websocket clients and servers"
-arch=('x86_64')
-url="https://libwebsockets.org"
-depends=('openssl' 'libcap' 'libuv')
-makedepends=('cmake')
-license=('LGPL')
-source=($pkgname-$pkgver.tar.gz::https://github.com/warmcat/libwebsockets/archive/v$pkgver.tar.gz)
-sha256sums=('166d6e17cab64bfc10c2a71799c298284540a1fa63f6ea3de5caccb34502243c')
-
-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 \
-        ..
-#-DLWS_WITHOUT_TEST_SERVER=ON \  # Disable certificate generation
-  make
-}
-
-package() {
-  cd "$pkgname-$pkgver"
-  install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-
-  cd build
-  make DESTDIR="${pkgdir}" install
-}

Copied: libwebsockets/repos/community-x86_64/PKGBUILD (from rev 613157, libwebsockets/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-04-10 19:31:35 UTC (rev 613158)
@@ -0,0 +1,59 @@
+# Maintainer: Jelle van der Waa <jelle at archlinux.org>
+# Contributor: Jingbei Li <i at jingbei.li>
+
+pkgname=libwebsockets
+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' 'libev')
+makedepends=('cmake')
+license=('LGPL')
+source=($pkgname-$pkgver.tar.gz::https://github.com/warmcat/libwebsockets/archive/v$pkgver.tar.gz)
+sha256sums=('5b10ee0841a14303045617141370d5794b859b399084325c932dc0c03bf04c4b')
+
+build() {
+  cd "$pkgname-$pkgver"
+
+  mkdir build && cd build
+  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 \
+        ..
+  make
+}
+
+package() {
+  cd "$pkgname-$pkgver"
+  install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+
+  cd build
+  make DESTDIR="${pkgdir}" install
+}



More information about the arch-commits mailing list