git: a2107f6909bf - main - multimedia/libuvc: Update 0.0.6-32 → 0.0.7

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Sun, 02 Apr 2023 07:40:23 UTC
The branch main has been updated by yuri:

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

commit a2107f6909bf667d63c1360037e5fbee447619b8
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2023-04-02 05:54:48 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2023-04-02 07:40:17 +0000

    multimedia/libuvc: Update 0.0.6-32 → 0.0.7
    
    Reported by:    portscout
---
 multimedia/libuvc/Makefile  | 14 +++++++-------
 multimedia/libuvc/distinfo  |  8 +++-----
 multimedia/libuvc/pkg-plist |  2 +-
 3 files changed, 11 insertions(+), 13 deletions(-)

diff --git a/multimedia/libuvc/Makefile b/multimedia/libuvc/Makefile
index 1c3007c589d5..4ce9275457ea 100644
--- a/multimedia/libuvc/Makefile
+++ b/multimedia/libuvc/Makefile
@@ -1,20 +1,20 @@
 PORTNAME=	libuvc
 DISTVERSIONPREFIX=	v
-DISTVERSION=	0.0.6-32
-DISTVERSIONSUFFIX=	-gc612d45
+DISTVERSION=	0.0.7
 CATEGORIES=	multimedia
 
-PATCH_SITES=	https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/
-PATCHFILES+=	c765bb30b5f5.patch:-p1 # https://github.com/libuvc/libuvc/pull/163
-
 MAINTAINER=	yuri@FreeBSD.org
 COMMENT=	Cross-platform library for USB video devices
-WWW=		https://int80k.com/libuvc
+WWW=		https://libuvc.github.io/libuvc/
 
 LICENSE=	BSD3CLAUSE
 LICENSE_FILE=	${WRKSRC}/LICENSE.txt
 
-USES=		cmake jpeg pkgconfig
+USES=		cmake:testing jpeg pkgconfig
 USE_GITHUB=	yes
+USE_LDCONFIG=	yes
+
+CMAKE_OFF=	BUILD_EXAMPLE
+CMAKE_TESTING_ON=	BUILD_TEST # tests fail to compile, see https://github.com/libuvc/libuvc/issues/254
 
 .include <bsd.port.mk>
diff --git a/multimedia/libuvc/distinfo b/multimedia/libuvc/distinfo
index f436cb59cdcd..5612bec22d54 100644
--- a/multimedia/libuvc/distinfo
+++ b/multimedia/libuvc/distinfo
@@ -1,5 +1,3 @@
-TIMESTAMP = 1605975516
-SHA256 (libuvc-libuvc-v0.0.6-32-gc612d45_GH0.tar.gz) = 629c3021bd38596b8be33fa678e1dceca9a085ebd56933424d1a544f53a2ca42
-SIZE (libuvc-libuvc-v0.0.6-32-gc612d45_GH0.tar.gz) = 103317
-SHA256 (c765bb30b5f5.patch) = 4f6c3423adba1ea8be54f40418a3f8deb54942725a76ce1cfd8ba45856d4c3f4
-SIZE (c765bb30b5f5.patch) = 1232
+TIMESTAMP = 1680414479
+SHA256 (libuvc-libuvc-v0.0.7_GH0.tar.gz) = 7c6ba79723ad5d0ccdfbe6cadcfbd03f9f75b701d7ba96631eb1fd929a86ee72
+SIZE (libuvc-libuvc-v0.0.7_GH0.tar.gz) = 104376
diff --git a/multimedia/libuvc/pkg-plist b/multimedia/libuvc/pkg-plist
index 219b073d3c58..625d6593155b 100644
--- a/multimedia/libuvc/pkg-plist
+++ b/multimedia/libuvc/pkg-plist
@@ -9,5 +9,5 @@ lib/cmake/libuvc/libuvcTargets.cmake
 lib/libuvc.a
 lib/libuvc.so
 lib/libuvc.so.0
-lib/libuvc.so.0.0.6
+lib/libuvc.so.0.0.7
 libdata/pkgconfig/libuvc.pc