git: 17e834af3141 - main - comms/hidapi: Update to 0.11.1

From: Emanuel Haupt <ehaupt_at_FreeBSD.org>
Date: Wed, 06 Oct 2021 18:39:48 UTC
The branch main has been updated by ehaupt:

URL: https://cgit.FreeBSD.org/ports/commit/?id=17e834af3141675728b00ecff9de22e463a8da27

commit 17e834af3141675728b00ecff9de22e463a8da27
Author:     Emanuel Haupt <ehaupt@FreeBSD.org>
AuthorDate: 2021-10-06 18:39:34 +0000
Commit:     Emanuel Haupt <ehaupt@FreeBSD.org>
CommitDate: 2021-10-06 18:39:44 +0000

    comms/hidapi: Update to 0.11.1
    
    Switch to cmake due to upstream deprecation warning
    
    Release notes:  https://github.com/libusb/hidapi/releases/tag/hidapi-0.11.0
---
 comms/hidapi/Makefile  |  7 ++-----
 comms/hidapi/distinfo  |  6 +++---
 comms/hidapi/pkg-plist | 20 +++++++++-----------
 3 files changed, 14 insertions(+), 19 deletions(-)

diff --git a/comms/hidapi/Makefile b/comms/hidapi/Makefile
index 86008f66cd21..aefe928eabd9 100644
--- a/comms/hidapi/Makefile
+++ b/comms/hidapi/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	hidapi
 DISTVERSIONPREFIX=	${PORTNAME}-
-DISTVERSION=	0.10.1
+DISTVERSION=	0.11.0
 CATEGORIES=	comms
 
 MAINTAINER=	ehaupt@FreeBSD.org
@@ -9,14 +9,11 @@ COMMENT=	Library to access USB HID-class devices
 LICENSE=	BSD3CLAUSE GPLv3
 LICENSE_COMB=	dual
 
-USES=		autoreconf gettext-tools iconv:wchar_t libtool localbase \
-		pkgconfig
+USES=		cmake gettext-tools iconv:wchar_t libtool localbase pkgconfig
 
 USE_GITHUB=	yes
 GH_ACCOUNT=	libusb
 
-GNU_CONFIGURE=	yes
-INSTALL_TARGET=	install-strip
 USE_LDCONFIG=	yes
 
 OPTIONS_DEFINE=	DOCS
diff --git a/comms/hidapi/distinfo b/comms/hidapi/distinfo
index 31cdd9f227f2..43c245433425 100644
--- a/comms/hidapi/distinfo
+++ b/comms/hidapi/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1615890404
-SHA256 (libusb-hidapi-hidapi-0.10.1_GH0.tar.gz) = f71dd8a1f46979c17ee521bc2117573872bbf040f8a4750e492271fc141f2644
-SIZE (libusb-hidapi-hidapi-0.10.1_GH0.tar.gz) = 119581
+TIMESTAMP = 1633542930
+SHA256 (libusb-hidapi-hidapi-0.11.0_GH0.tar.gz) = 391d8e52f2d6a5cf76e2b0c079cfefe25497ba1d4659131297081fc0cd744632
+SIZE (libusb-hidapi-hidapi-0.11.0_GH0.tar.gz) = 232631
diff --git a/comms/hidapi/pkg-plist b/comms/hidapi/pkg-plist
index 1fda461121c1..e835d67b0d96 100644
--- a/comms/hidapi/pkg-plist
+++ b/comms/hidapi/pkg-plist
@@ -1,12 +1,10 @@
 include/hidapi/hidapi.h
-lib/libhidapi.a
-lib/libhidapi.so
-lib/libhidapi.so.0
-lib/libhidapi.so.0.0.0
-libdata/pkgconfig/hidapi.pc
-%%PORTDOCS%%%%DOCSDIR%%/AUTHORS.txt
-%%PORTDOCS%%%%DOCSDIR%%/LICENSE-bsd.txt
-%%PORTDOCS%%%%DOCSDIR%%/LICENSE-gpl3.txt
-%%PORTDOCS%%%%DOCSDIR%%/LICENSE-orig.txt
-%%PORTDOCS%%%%DOCSDIR%%/LICENSE.txt
-%%PORTDOCS%%%%DOCSDIR%%/README.md
+include/hidapi/hidapi_libusb.h
+lib/cmake/hidapi/hidapi-config-version.cmake
+lib/cmake/hidapi/hidapi-config.cmake
+lib/cmake/hidapi/hidapi-%%CMAKE_BUILD_TYPE%%.cmake
+lib/cmake/hidapi/hidapi.cmake
+lib/libhidapi-libusb.so
+lib/libhidapi-libusb.so.0
+lib/libhidapi-libusb.so.0.11.0
+libdata/pkgconfig/hidapi-libusb.pc