summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorbenly2022-05-21 15:22:22 +0800
committerbenly2022-05-21 15:22:22 +0800
commit988b45ca292bc8f279a30c4f4cb1f5511df555c7 (patch)
tree590e2317bbb0c9a79d49d9f5c5bc860a96f47cf0
parent32d3d12671b0d1bbf76e3759b4da31eddd4bdce9 (diff)
downloadaur-mingw-w64-hidapi.tar.gz
update to 0.11.2
-rw-r--r--.SRCINFO8
-rw-r--r--PKGBUILD10
-rw-r--r--autoconf-2.70.patch11
3 files changed, 5 insertions, 24 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 3e29ec575958..fe08624192e8 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = mingw-w64-hidapi
pkgdesc = Simple library for communicating with USB and Bluetooth HID devices (mingw-w64)
- pkgver = 0.10.1
+ pkgver = 0.11.2
pkgrel = 1
url = https://github.com/libusb/hidapi
arch = any
@@ -12,9 +12,7 @@ pkgbase = mingw-w64-hidapi
options = !strip
options = !buildflags
options = staticlibs
- source = https://github.com/libusb/hidapi/archive/hidapi-0.10.1.tar.gz
- source = autoconf-2.70.patch
- sha256sums = f71dd8a1f46979c17ee521bc2117573872bbf040f8a4750e492271fc141f2644
- sha256sums = a56fd8181d980ae9786000883cb31944d3765088363cfd9c192e475b975cd8c7
+ source = https://github.com/libusb/hidapi/archive/hidapi-0.11.2.tar.gz
+ sha256sums = bc4ac0f32a6b21ef96258a7554c116152e2272dacdec1e4620fc44abeea50c27
pkgname = mingw-w64-hidapi
diff --git a/PKGBUILD b/PKGBUILD
index caffef35a3bd..b20ae11dadd4 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
# Contributor: Niels Martignène <niels.martignene@gmail.com>
pkgname=mingw-w64-hidapi
-pkgver=0.10.1
+pkgver=0.11.2
pkgrel=1
pkgdesc="Simple library for communicating with USB and Bluetooth HID devices (mingw-w64)"
arch=(any)
@@ -13,19 +13,13 @@ makedepends=('mingw-w64-configure')
options=('!strip' '!buildflags' 'staticlibs')
source=(
"https://github.com/libusb/hidapi/archive/hidapi-${pkgver}.tar.gz"
- "autoconf-2.70.patch"
)
sha256sums=(
- 'f71dd8a1f46979c17ee521bc2117573872bbf040f8a4750e492271fc141f2644'
- 'a56fd8181d980ae9786000883cb31944d3765088363cfd9c192e475b975cd8c7'
+ 'bc4ac0f32a6b21ef96258a7554c116152e2272dacdec1e4620fc44abeea50c27'
)
_architectures="i686-w64-mingw32 x86_64-w64-mingw32"
-prepare() {
- patch -d"${srcdir}/hidapi-hidapi-${pkgver}" -p0 -i"${srcdir}"/autoconf-2.70.patch
-}
-
build() {
cd "${srcdir}/hidapi-hidapi-${pkgver}"
diff --git a/autoconf-2.70.patch b/autoconf-2.70.patch
deleted file mode 100644
index 5fd14a1c5c34..000000000000
--- a/autoconf-2.70.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- configure.ac.orig 2021-03-29 12:56:15.896012367 +0800
-+++ configure.ac 2021-03-29 12:55:51.319435429 +0800
-@@ -13,7 +13,7 @@ LTLDFLAGS="-version-info ${lt_current}:$
-
- AC_CONFIG_MACRO_DIR([m4])
- AM_INIT_AUTOMAKE([foreign -Wall -Werror])
--AC_CONFIG_MACRO_DIR([m4])
-+# AC_CONFIG_MACRO_DIR([m4])
-
- m4_ifdef([AM_PROG_AR], [AM_PROG_AR])
- LT_INIT