usbredir: update to 0.15.0

This commit is contained in:
Biswapriyo Nath 2025-01-31 06:36:09 +00:00
parent 699a7176e8
commit 55923f5331
2 changed files with 4 additions and 24 deletions

View File

@ -1,11 +0,0 @@
--- usbredir-0.13.0/tools/usbredirect.c.orig 2023-03-20 19:51:42.646876200 +0100
+++ usbredir-0.13.0/tools/usbredirect.c 2023-03-20 19:50:33.779099000 +0100
@@ -221,7 +221,7 @@
}
#if LIBUSBX_API_VERSION >= 0x01000107
-static void
+static void LIBUSB_CALL
debug_libusb_cb(libusb_context *ctx, enum libusb_log_level level, const char *msg)
{
GLogLevelFlags glog_level;

View File

@ -3,7 +3,7 @@
_realname=usbredir
pkgbase=mingw-w64-${_realname}
pkgname="${MINGW_PACKAGE_PREFIX}-${_realname}"
pkgver=0.14.0
pkgver=0.15.0
pkgrel=1
pkgdesc="Parser for the usbredir protocol (mingw-w64)"
arch=('any')
@ -24,20 +24,11 @@ makedepends=(
"${MINGW_PACKAGE_PREFIX}-ninja"
"${MINGW_PACKAGE_PREFIX}-pkgconf"
)
source=(https://www.spice-space.org/download/usbredir/${_realname}-${pkgver}.tar.xz{,.sig}
"0001-fix-callback-call-conv.patch")
sha256sums=('924dfb5c78328fae45a4c93a01bc83bb72c1310abeed119109255627a8baa332'
'SKIP'
'27365d5ca6a1c85bed705a1ea0785082f036f99d7f3a11d9e13317da8f89d163')
source=(https://www.spice-space.org/download/usbredir/${_realname}-${pkgver}.tar.xz{,.asc})
sha256sums=('6dc2a380277688a068191245dac2ab7063a552999d8ac3ad8e841c10ff050961'
'SKIP')
validpgpkeys=('206D3B352F566F3B0E6572E997D9123DE37A484F') # Victor Toso de Carvalho <me@victortoso.com>
prepare() {
cd "${srcdir}"/${_realname}-${pkgver}
# fails to build for 32bit otherwise because it's expecting __stdcall
patch -p1 -i "${srcdir}/0001-fix-callback-call-conv.patch"
}
build() {
mkdir -p build-${MSYSTEM} && cd build-${MSYSTEM}