git: 0fdf94682826 - 2022Q2 - deskutils/ausweisapp2: update to 1.22.5

From: Christoph Moench-Tegeder <cmt_at_FreeBSD.org>
Date: Mon, 25 Apr 2022 13:41:34 UTC
The branch 2022Q2 has been updated by cmt:

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

commit 0fdf9468282651042d24779cb5520c1af76760fc
Author:     Christoph Moench-Tegeder <cmt@FreeBSD.org>
AuthorDate: 2022-04-25 13:39:48 +0000
Commit:     Christoph Moench-Tegeder <cmt@FreeBSD.org>
CommitDate: 2022-04-25 13:41:23 +0000

    deskutils/ausweisapp2: update to 1.22.5
    
    https://github.com/Governikus/AusweisApp2/releases
    
    Also add dependency on qt5-graphicaleffects, as without that
    package the GUI will not be shown.
    
    (cherry picked from commit 12c7092e4efefd377401b65f6b2c0ecf6a652e5b)
---
 deskutils/ausweisapp2/Makefile                         |  7 ++++---
 deskutils/ausweisapp2/distinfo                         |  6 +++---
 .../ausweisapp2/files/patch-cmake_Libraries.cmake      | 18 +++++++++---------
 3 files changed, 16 insertions(+), 15 deletions(-)

diff --git a/deskutils/ausweisapp2/Makefile b/deskutils/ausweisapp2/Makefile
index c79e388d95a8..b18945da15a1 100644
--- a/deskutils/ausweisapp2/Makefile
+++ b/deskutils/ausweisapp2/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	ausweisapp2
-DISTVERSION=	1.22.2
+DISTVERSION=	1.22.5
 CATEGORIES=	deskutils security
 
 MAINTAINER=	freebsd@sysctl.cz
@@ -19,8 +19,9 @@ USES=		cmake compiler:c++17-lang pkgconfig qmake qt:5 ssl
 USE_GITHUB=	yes
 GH_ACCOUNT=	Governikus
 GH_PROJECT=	AusweisApp2
-USE_QT=		concurrent core declarative gui network quickcontrols2 svg \
-		websockets widgets buildtools_build linguisttools_build
+USE_QT=		concurrent core declarative graphicaleffects gui network \
+		quickcontrols2 svg websockets widgets \
+		buildtools_build linguisttools_build
 
 # The VENDOR variable controls the name of the directory in ${PREFIX}/share.
 CMAKE_ARGS=	-DVENDOR=${PORTNAME}
diff --git a/deskutils/ausweisapp2/distinfo b/deskutils/ausweisapp2/distinfo
index f09465ab203e..fa33339f99eb 100644
--- a/deskutils/ausweisapp2/distinfo
+++ b/deskutils/ausweisapp2/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1640361535
-SHA256 (Governikus-AusweisApp2-1.22.2_GH0.tar.gz) = 79d637a976dc1dc5445757a43324f4fe609d844bf90f11c0f62a46c39dc4fea6
-SIZE (Governikus-AusweisApp2-1.22.2_GH0.tar.gz) = 10886670
+TIMESTAMP = 1650884872
+SHA256 (Governikus-AusweisApp2-1.22.5_GH0.tar.gz) = 09787d23663861673a3f7e604a5212ebc9575d149d6b5bd24519417de6d22ccf
+SIZE (Governikus-AusweisApp2-1.22.5_GH0.tar.gz) = 11251263
diff --git a/deskutils/ausweisapp2/files/patch-cmake_Libraries.cmake b/deskutils/ausweisapp2/files/patch-cmake_Libraries.cmake
index 46bd9ab45578..d162f28f2a7b 100644
--- a/deskutils/ausweisapp2/files/patch-cmake_Libraries.cmake
+++ b/deskutils/ausweisapp2/files/patch-cmake_Libraries.cmake
@@ -1,17 +1,17 @@
---- cmake/Libraries.cmake.orig	2021-12-24 17:02:28 UTC
+--- cmake/Libraries.cmake.orig	2022-04-25 13:11:06 +0200
 +++ cmake/Libraries.cmake
-@@ -122,11 +122,9 @@ elseif(MAC)
- 	find_library(OSX_FOUNDATION Foundation)
- 	find_library(OSX_SERVICEMANAGEMENT ServiceManagement)
+@@ -124,11 +124,9 @@
  elseif(UNIX)
+ 	find_package(PkgConfig REQUIRED)
+ 
 -	if(LINUX)
--		find_library(LIBUDEV NAMES udev ludev libudev)
--		if(NOT LIBUDEV)
+-		pkg_check_modules(UDEV IMPORTED_TARGET libudev)
+-		if(NOT TARGET PkgConfig::UDEV)
 -			message(STATUS "Hardware detection disabled - Missing libudev")
 -		endif()
-+	find_library(LIBUDEV NAMES udev ludev libudev)
-+	if(NOT LIBUDEV)
++	pkg_check_modules(UDEV IMPORTED_TARGET libudev)
++	if(NOT TARGET PkgConfig::UDEV)
 +		message(STATUS "Hardware detection disabled - Missing libudev")
  	endif()
  
- 	find_package(PkgConfig REQUIRED)
+ 	pkg_check_modules(PCSC REQUIRED libpcsclite)