[arch-commits] Commit in libwebsockets/trunk (PKGBUILD)
David Runge
dvzrv at archlinux.org
Thu Jul 9 21:30:40 UTC 2020
Date: Thursday, July 9, 2020 @ 21:30:40
Author: dvzrv
Revision: 663033
upgpkg: libwebsockets 4.0.20-3: Rebuilding to add correct dependencies.
Adding all available sodeps in package() and their respective packages in makedepends.
Removing LWS_USE_BUNDLED_ZLIB from the list of options, as it is not recognized anymore.
Modified:
libwebsockets/trunk/PKGBUILD
----------+
PKGBUILD | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-07-09 21:24:52 UTC (rev 663032)
+++ PKGBUILD 2020-07-09 21:30:40 UTC (rev 663033)
@@ -4,12 +4,12 @@
pkgname=libwebsockets
pkgver=4.0.20
-pkgrel=2
+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' 'libcap')
+makedepends=('cmake' 'glib2' 'libcap')
provides=('libwebsockets.so')
license=('MIT')
source=($pkgname-$pkgver.tar.gz::https://github.com/warmcat/libwebsockets/archive/v$pkgver.tar.gz)
@@ -38,7 +38,6 @@
-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 \
@@ -55,7 +54,7 @@
}
package() {
- depends+=('libcap.so')
+ 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