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

David Runge dvzrv at archlinux.org
Tue Sep 22 12:27:23 UTC 2020


    Date: Tuesday, September 22, 2020 @ 12:27:22
  Author: dvzrv
Revision: 711373

archrelease: copy trunk to community-x86_64

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-09-22 12:26:57 UTC (rev 711372)
+++ PKGBUILD	2020-09-22 12:27:22 UTC (rev 711373)
@@ -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.1.0
-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=('7748021f8a26e26474ae200f50ec8b59f19e69fbc612bbb31bbca2524e4381b2a7dde605740ac355109c9e34593fb5aee523d581ac64d821a594ffaadc16b1cb')
-b2sums=('243fdcdef0cd9c36ee8bcf3c75b7467200f4fa1e6178cdbb9cc78d20d1aca533e910c9892560bd5c50c3ff98d783665616ea6d283ee8faae3f569bc526a31f42')
-
-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 711372, libwebsockets/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-09-22 12:27:22 UTC (rev 711373)
@@ -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.1.2
+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=('1aeb105191191c55eb01f0cf565d7d16e32e8239af3a3ee653dfb4bcccc5dfc42302490dfbdeac9c9cab0759e016a4a1c8c05938f26ce62a024e0d50600cdd86')
+b2sums=('9b65217d799ffa6637dc79630224f3ec9e8c7e8075b7eebfc55a111d9ade534b912059c170bc4f435d2d8424340d5ccda75f3a8992a45ef128ea82bfc789391f')
+
+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