[arch-commits] Commit in libwebsockets/trunk (PKGBUILD)
Jelle van der Waa
jelle at archlinux.org
Fri Apr 6 16:44:12 UTC 2018
Date: Friday, April 6, 2018 @ 16:44:11
Author: jelle
Revision: 314589
FS#58113
Remove static library cmake pkg configuration. The static library is not
shipped, so do not ship it.
Modified:
libwebsockets/trunk/PKGBUILD
----------+
PKGBUILD | 11 ++++++++---
1 file changed, 8 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-04-06 15:26:54 UTC (rev 314588)
+++ PKGBUILD 2018-04-06 16:44:11 UTC (rev 314589)
@@ -2,7 +2,7 @@
# Contributor: Jingbei Li <i at jingbei.li>
pkgname=libwebsockets
-pkgver=2.4.1
+pkgver=2.4.2
pkgrel=1
pkgdesc="C library for websocket clients and servers"
arch=('x86_64')
@@ -11,7 +11,7 @@
makedepends=('cmake')
license=('LGPL')
source=("https://github.com/warmcat/libwebsockets/archive/v$pkgver.tar.gz")
-sha256sums=('29414be4f79f6abc0e6aadccd09a4da0f0c431e3b5691f496acd081ae6a8240c')
+sha256sums=('73012d7fcf428dedccc816e83a63a01462e27819d5537b8e0d0c7264bfacfad6')
build() {
cd "$pkgname-$pkgver"
@@ -18,7 +18,12 @@
mkdir build && cd build
# http2 support -DLWS_WITH_HTTP2=1
- cmake -D CMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_INSTALL_PREFIX:PATH=/usr ..
+ cmake -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_INSTALL_PREFIX:PATH=/usr \
+ -DLWS_WITH_STATIC=OFF \
+ -DLWS_LINK_TESTAPPS_DYNAMIC=ON \
+ ..
+#-DLWS_WITHOUT_TEST_SERVER=ON \ # Disable certificate generation
make
}
More information about the arch-commits
mailing list