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

David Runge dvzrv at archlinux.org
Thu Sep 3 07:44:22 UTC 2020


    Date: Thursday, September 3, 2020 @ 07:44:22
  Author: dvzrv
Revision: 697302

archrelease: copy trunk to community-x86_64

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

----------+
 PKGBUILD |  122 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 61 insertions(+), 61 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-09-03 07:43:51 UTC (rev 697301)
+++ PKGBUILD	2020-09-03 07:44:22 UTC (rev 697302)
@@ -1,61 +0,0 @@
-# Maintainer: Jelle van der Waa <jelle at archlinux.org>
-# Contributor: David Runge <dvzrv at archlinux.org>
-# Contributor: Jingbei Li <i at jingbei.li>
-
-pkgname=libwebsockets
-pkgver=4.0.20
-pkgrel=3
-pkgdesc="C library for websocket clients and servers"
-arch=('x86_64')
-url="https://libwebsockets.org"
-depends=('glibc' 'openssl' 'libuv' 'libev' 'zlib')
-makedepends=('cmake' 'glib2' 'libcap')
-provides=('libwebsockets.so')
-license=('MIT')
-source=($pkgname-$pkgver.tar.gz::https://github.com/warmcat/libwebsockets/archive/v$pkgver.tar.gz)
-sha512sums=('b2ab19623557b67abf157aed0317fb2305304e72c7e40c202c0bc855a499bbef64978e9187adcfdd2ef251497144db4a9fbaebaf37a320c7190720e9d194b67a')
-b2sums=('983190f7f63eb9db09b688ae056c6fdee32ac6d57f4afe3fb42cd662202c290c21a28e9c107d61cd3b2ddb25478f93b56008dc939ced28cd1c5abd6314fb1b32')
-
-build() {
-  cd "$pkgname-$pkgver"
-  cmake -D CMAKE_INSTALL_PREFIX=/usr \
-        -D CMAKE_BUILD_TYPE='None' \
-        -D LWS_WITH_HTTP2=ON \
-        -D LWS_IPV6=ON \
-        -D LWS_WITH_GLIB=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_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 \
-        -Wno-dev \
-        -B build \
-        -S .
-  make VERBOSE=1 -C build
-}
-
-package() {
-  depends+=('libcap.so' 'libglib-2.0.so')
-  cd "$pkgname-$pkgver"
-  make DESTDIR="${pkgdir}" install -C build
-  install -vDm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
-}

Copied: libwebsockets/repos/community-x86_64/PKGBUILD (from rev 697301, libwebsockets/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-09-03 07:44:22 UTC (rev 697302)
@@ -0,0 +1,61 @@
+# Maintainer: Jelle van der Waa <jelle at archlinux.org>
+# Contributor: David Runge <dvzrv at archlinux.org>
+# Contributor: Jingbei Li <i at jingbei.li>
+
+pkgname=libwebsockets
+pkgver=4.0.21
+pkgrel=1
+pkgdesc="C library for websocket clients and servers"
+arch=('x86_64')
+url="https://libwebsockets.org"
+license=('MIT')
+depends=('glibc' 'openssl' 'libuv' 'libev' 'zlib')
+makedepends=('cmake' 'glib2' 'libcap')
+provides=('libwebsockets.so')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/warmcat/libwebsockets/archive/v$pkgver.tar.gz")
+sha512sums=('03a32a3521eb4b060905fced793ce21ca94a8fa0465ca2c5fce1db1978052045ddd1ea252ef4a5ad488a24682bc44b8572331d978c5da53382d457e265db7d94')
+b2sums=('9c3929d974af7694e75dec6dfd622b1bff20a62d152dd7709c0b325c59f52ff0ebdc912c9e71b098ba4ca7d29a2e765e0b0e9894541dcf9c84fdc325b93a58fc')
+
+build() {
+  cd "$pkgname-$pkgver"
+  cmake -D CMAKE_INSTALL_PREFIX=/usr \
+        -D CMAKE_BUILD_TYPE='None' \
+        -D LWS_WITH_HTTP2=ON \
+        -D LWS_IPV6=ON \
+        -D LWS_WITH_GLIB=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_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 \
+        -Wno-dev \
+        -B build \
+        -S .
+  make VERBOSE=1 -C build
+}
+
+package() {
+  depends+=('libcap.so' 'libglib-2.0.so')
+  cd "$pkgname-$pkgver"
+  make DESTDIR="${pkgdir}" install -C build
+  install -vDm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
+}


More information about the arch-commits mailing list