forked from NetBSD/pkgsrc
-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
21 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
$NetBSD: distinfo,v 1.13 2022/09/29 00:52:15 markd Exp $ | ||
$NetBSD: distinfo,v 1.14 2023/04/29 14:37:07 wiz Exp $ | ||
|
||
BLAKE2s (prison-5.98.0.tar.xz) = d9cac3651c2250de09ccb06977d58deae38a0af23dac824be9998ad4a6fb314a | ||
SHA512 (prison-5.98.0.tar.xz) = 71c800693292a98888f8dad3317613464bd7c07c20ea882e871f1103270619a0a59021405207f30bad4360c81649ae2701d7237c9e9d5948a4d37b4d148b067b | ||
Size (prison-5.98.0.tar.xz) = 55752 bytes | ||
SHA1 (patch-CMakeLists.txt) = 8337d6c7018f99ee418c0c7f2c79661cb8a10fbf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
$NetBSD: patch-CMakeLists.txt,v 1.1 2023/04/29 14:37:08 wiz Exp $ | ||
|
||
ZXing 2.0 support | ||
https://github.com/KDE/prison/commit/14fb6f0a31373b242bdeb18cf9f3a36441bf86b5 | ||
|
||
--- CMakeLists.txt.orig 2022-09-05 09:32:45.000000000 +0000 | ||
+++ CMakeLists.txt | ||
@@ -44,7 +44,10 @@ find_package(Dmtx) | ||
set_package_properties(Dmtx PROPERTIES | ||
PURPOSE "Required for generation of Data Matrix barcodes." | ||
TYPE RECOMMENDED) | ||
-find_package(ZXing 1.2.0) | ||
+find_package(ZXing 2.0) | ||
+if (NOT TARGET ZXing::ZXing) | ||
+ find_package(ZXing 1.2.0) | ||
+endif() | ||
set_package_properties(ZXing PROPERTIES | ||
PURPOSE "Required for generation of PDF417 barcodes and for scanning of barcodes from live video feed." | ||
TYPE RECOMMENDED) |