From 55923f53317d26cd890fd047deeb953133a58b92 Mon Sep 17 00:00:00 2001 From: Biswapriyo Nath Date: Fri, 31 Jan 2025 06:36:09 +0000 Subject: [PATCH] usbredir: update to 0.15.0 --- .../0001-fix-callback-call-conv.patch | 11 ----------- mingw-w64-usbredir/PKGBUILD | 17 ++++------------- 2 files changed, 4 insertions(+), 24 deletions(-) delete mode 100644 mingw-w64-usbredir/0001-fix-callback-call-conv.patch diff --git a/mingw-w64-usbredir/0001-fix-callback-call-conv.patch b/mingw-w64-usbredir/0001-fix-callback-call-conv.patch deleted file mode 100644 index a704e951a4..0000000000 --- a/mingw-w64-usbredir/0001-fix-callback-call-conv.patch +++ /dev/null @@ -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; diff --git a/mingw-w64-usbredir/PKGBUILD b/mingw-w64-usbredir/PKGBUILD index 48c4c4d304..5f199ce504 100644 --- a/mingw-w64-usbredir/PKGBUILD +++ b/mingw-w64-usbredir/PKGBUILD @@ -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 -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}