git: 301ebd7c33a2 - main - deskutils/ausweisapp2: Update to 1.24.2

From: Fernando Apesteguía <fernape_at_FreeBSD.org>
Date: Wed, 05 Oct 2022 12:43:54 UTC
The branch main has been updated by fernape:

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

commit 301ebd7c33a29d76302ca01f4528797c47cd229d
Author:     Martin Filla <freebsd@sysctl.cz>
AuthorDate: 2022-10-05 05:26:06 +0000
Commit:     Fernando Apesteguía <fernape@FreeBSD.org>
CommitDate: 2022-10-05 12:40:16 +0000

    deskutils/ausweisapp2: Update to 1.24.2
    
    PR:             266824
    Reported by:    freebsd@sysctl.cz (maintainer)
---
 deskutils/ausweisapp2/Makefile                     |  7 ++++---
 deskutils/ausweisapp2/distinfo                     |  6 +++---
 .../ausweisapp2/files/patch-cmake_Libraries.cmake  | 22 ++++++++--------------
 deskutils/ausweisapp2/pkg-plist                    |  4 +---
 4 files changed, 16 insertions(+), 23 deletions(-)

diff --git a/deskutils/ausweisapp2/Makefile b/deskutils/ausweisapp2/Makefile
index 6f51eaa46a92..6902b286439c 100644
--- a/deskutils/ausweisapp2/Makefile
+++ b/deskutils/ausweisapp2/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	ausweisapp2
-DISTVERSION=	1.22.5
+DISTVERSION=	1.24.2
 CATEGORIES=	deskutils security
 
 MAINTAINER=	freebsd@sysctl.cz
@@ -11,7 +11,8 @@ LICENSE_NAME=	European Union Public Licence V. 1.2
 LICENSE_FILE=	${WRKSRC}/LICENSE.txt
 LICENSE_PERMS=	dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
 
-BUILD_DEPENDS=	pcsc-lite>0:devel/pcsc-lite
+BUILD_DEPENDS=	pcsc-lite>0:devel/pcsc-lite \
+		qt5-declarative-test>0:x11-toolkits/qt5-declarative-test
 LIB_DEPENDS=	libhttp_parser.so:www/http-parser \
 		libpcsclite.so:devel/pcsc-lite \
 		libudev.so:devel/libudev-devd
@@ -22,7 +23,7 @@ GH_ACCOUNT=	Governikus
 GH_PROJECT=	AusweisApp2
 USE_QT=		concurrent core declarative graphicaleffects gui network \
 		quickcontrols2 svg websockets widgets \
-		buildtools:build linguisttools:build
+		buildtools linguisttools
 
 # 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 fa33339f99eb..ad087c34a26e 100644
--- a/deskutils/ausweisapp2/distinfo
+++ b/deskutils/ausweisapp2/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1650884872
-SHA256 (Governikus-AusweisApp2-1.22.5_GH0.tar.gz) = 09787d23663861673a3f7e604a5212ebc9575d149d6b5bd24519417de6d22ccf
-SIZE (Governikus-AusweisApp2-1.22.5_GH0.tar.gz) = 11251263
+TIMESTAMP = 1664903413
+SHA256 (Governikus-AusweisApp2-1.24.2_GH0.tar.gz) = bb92f2e73e352921878000cd5ec81fcd8924c8d360059bf09b70707e06d35f05
+SIZE (Governikus-AusweisApp2-1.24.2_GH0.tar.gz) = 11478273
diff --git a/deskutils/ausweisapp2/files/patch-cmake_Libraries.cmake b/deskutils/ausweisapp2/files/patch-cmake_Libraries.cmake
index d162f28f2a7b..2cfe616a9e1b 100644
--- a/deskutils/ausweisapp2/files/patch-cmake_Libraries.cmake
+++ b/deskutils/ausweisapp2/files/patch-cmake_Libraries.cmake
@@ -1,17 +1,11 @@
---- cmake/Libraries.cmake.orig	2022-04-25 13:11:06 +0200
+--- cmake/Libraries.cmake.orig	2022-09-06 11:32:26 UTC
 +++ cmake/Libraries.cmake
-@@ -124,11 +124,9 @@
+@@ -144,7 +144,7 @@ elseif(MAC)
+ 	find_library(OSX_FOUNDATION Foundation)
+ 	find_library(OSX_SERVICEMANAGEMENT ServiceManagement)
  elseif(UNIX)
- 	find_package(PkgConfig REQUIRED)
- 
 -	if(LINUX)
--		pkg_check_modules(UDEV IMPORTED_TARGET libudev)
--		if(NOT TARGET PkgConfig::UDEV)
--			message(STATUS "Hardware detection disabled - Missing libudev")
--		endif()
-+	pkg_check_modules(UDEV IMPORTED_TARGET libudev)
-+	if(NOT TARGET PkgConfig::UDEV)
-+		message(STATUS "Hardware detection disabled - Missing libudev")
- 	endif()
- 
- 	pkg_check_modules(PCSC REQUIRED libpcsclite)
++	if(LINUX OR BSD)
+ 		find_package(PkgConfig REQUIRED)
+ 		pkg_check_modules(UDEV IMPORTED_TARGET libudev)
+ 		if(NOT TARGET PkgConfig::UDEV)
diff --git a/deskutils/ausweisapp2/pkg-plist b/deskutils/ausweisapp2/pkg-plist
index 359e43566507..546fcb6b7d13 100644
--- a/deskutils/ausweisapp2/pkg-plist
+++ b/deskutils/ausweisapp2/pkg-plist
@@ -1,9 +1,7 @@
 bin/AusweisApp2
 share/man/man1/AusweisApp2.1.gz
 share/applications/com.governikus.ausweisapp2.desktop
-%%DATADIR%%/AusweisApp2/AusweisApp2.rcc
-%%DATADIR%%/AusweisApp2/config.json
-%%DATADIR%%/AusweisApp2/translations/ausweisapp2_de.qm
 share/icons/hicolor/96x96/apps/AusweisApp2.png
 share/icons/hicolor/scalable/apps/AusweisApp2.svg
 share/metainfo/com.governikus.ausweisapp2.metainfo.xml
+%%DATADIR%%/AusweisApp2/AusweisApp2.rcc