summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authoratomlong2021-09-10 18:03:05 +0800
committeratomlong2021-09-10 18:18:12 +0800
commit88c2ffbfcce074d3466805daa55b52434a7a50d0 (patch)
tree5c8cf57c77e52b645cd66f3eba7cd0094dbb6ccd
parent3196fbb36fd9cb3aa47af461916aa67e248a4664 (diff)
downloadaur-mingw-w64-libwebsockets.tar.gz
Update to 4.2.2
-rw-r--r--.SRCINFO7
-rw-r--r--PKGBUILD9
2 files changed, 7 insertions, 9 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 110cdf8969f5..2d47459ae531 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = mingw-w64-libwebsockets
pkgdesc = Lightweight pure C library built to use minimal CPU and memory resources, and provide fast throughput in both directions. (mingw-w64)
- pkgver = 1.4
+ pkgver = 4.2.2
pkgrel = 1
url = http://libwebsockets.org/
arch = any
@@ -13,8 +13,7 @@ pkgbase = mingw-w64-libwebsockets
options = staticlibs
options = !strip
options = !buildflags
- source = http://git.libwebsockets.org/cgi-bin/cgit/libwebsockets/snapshot/libwebsockets-1.4-chrome43-firefox-36.tar.gz
- sha256sums = e11492477e582ef0b1a6ea2f18d81a9619b449170a3a5c43f32a9468461a9798
+ source = libwebsockets-4.2.2.tar.gz::https://github.com/warmcat/libwebsockets/archive/refs/tags/v4.2.2.tar.gz
+ sha256sums = c2ae635485b8ef8d383dee0aee29ad6272d4462e527d29d9af014ab4a2465cbd
pkgname = mingw-w64-libwebsockets
-
diff --git a/PKGBUILD b/PKGBUILD
index d40a7e0dff62..317606bc323d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,9 +1,8 @@
# Maintainer: MikoĊ‚aj Milej <mikolajmm@gmail.com>
_libName=libwebsockets
-_suffix="chrome43-firefox-36"
pkgname=mingw-w64-${_libName}
-pkgver=1.4
+pkgver=4.2.2
pkgrel=1
pkgdesc="Lightweight pure C library built to use minimal CPU and memory resources, and provide fast throughput in both directions. (mingw-w64)"
arch=(any)
@@ -12,8 +11,8 @@ license=("LGPL2 + static linking exception")
makedepends=('mingw-w64-cmake' 'mingw-w64-gcc' 'mingw-w64-zlib')
depends=('mingw-w64-crt' 'mingw-w64-openssl')
options=('staticlibs' '!strip' '!buildflags')
-source=("http://git.libwebsockets.org/cgi-bin/cgit/libwebsockets/snapshot/libwebsockets-${pkgver}-${_suffix}.tar.gz")
-sha256sums=('e11492477e582ef0b1a6ea2f18d81a9619b449170a3a5c43f32a9468461a9798')
+source=(libwebsockets-${pkgver}.tar.gz::"https://github.com/warmcat/libwebsockets/archive/refs/tags/v${pkgver}.tar.gz")
+sha256sums=('c2ae635485b8ef8d383dee0aee29ad6272d4462e527d29d9af014ab4a2465cbd')
_architectures="i686-w64-mingw32 x86_64-w64-mingw32"
@@ -42,7 +41,7 @@ build() {
-DLWS_WITHOUT_DEBUG:BOOL=ON \
-DLWS_WITH_HTTP2:BOOL=ON \
-DLWS_WITH_LATENCY:BOOL=ON \
- ../../libwebsockets-${pkgver}-${_suffix}
+ ../../libwebsockets-${pkgver}
make
popd
done