[arch-commits] Commit in libwebsockets/repos/community-x86_64 (PKGBUILD PKGBUILD)
David Runge
dvzrv at archlinux.org
Mon Oct 12 21:17:07 UTC 2020
Date: Monday, October 12, 2020 @ 21:17:07
Author: dvzrv
Revision: 723743
archrelease: copy trunk to community-x86_64
Added:
libwebsockets/repos/community-x86_64/PKGBUILD
(from rev 723742, libwebsockets/trunk/PKGBUILD)
Deleted:
libwebsockets/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 122 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 61 insertions(+), 61 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-10-12 21:17:00 UTC (rev 723742)
+++ PKGBUILD 2020-10-12 21:17:07 UTC (rev 723743)
@@ -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.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}"
-}
Copied: libwebsockets/repos/community-x86_64/PKGBUILD (from rev 723742, libwebsockets/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-10-12 21:17:07 UTC (rev 723743)
@@ -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.3
+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=('33b23aaecb85c2bf87dce04fc16c6d8b08520d6273d94debfd9e9a7660501254d9dacd2a570d160dfa8bbadf28ccee43938be15ed7309f733a4f4720c1d3a41b')
+b2sums=('31913cb1f4d77618c9f9686e7355dbcc67bed56e8d5ea145ac948bc28e3a99ba4907f428260e2b9221f9cbefd46ceb9fd37aae5e5797ecd0137e4c63dcd255c9')
+
+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