aboutsummaryrefslogtreecommitdiff
path: root/ports/zxing-cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ports/zxing-cpp')
-rw-r--r--ports/zxing-cpp/CONTROL14
-rw-r--r--ports/zxing-cpp/vcpkg.json28
2 files changed, 28 insertions, 14 deletions
diff --git a/ports/zxing-cpp/CONTROL b/ports/zxing-cpp/CONTROL
deleted file mode 100644
index 73507fea1..000000000
--- a/ports/zxing-cpp/CONTROL
+++ /dev/null
@@ -1,14 +0,0 @@
-Source: zxing-cpp
-Version: 2020-12-2
-Homepage: https://github.com/glassechidna/zxing-cpp
-Description: Barcode detection and decoding library.
-Build-Depends: bigint
-Default-Features: opencv, iconv
-
-Feature: opencv
-Build-Depends: opencv
-Description: Build with opencv
-
-Feature: iconv
-Build-Depends: libiconv
-Description: Build with libiconv \ No newline at end of file
diff --git a/ports/zxing-cpp/vcpkg.json b/ports/zxing-cpp/vcpkg.json
new file mode 100644
index 000000000..feb43da34
--- /dev/null
+++ b/ports/zxing-cpp/vcpkg.json
@@ -0,0 +1,28 @@
+{
+ "name": "zxing-cpp",
+ "version-string": "2020-12",
+ "port-version": 3,
+ "description": "Barcode detection and decoding library.",
+ "homepage": "https://github.com/glassechidna/zxing-cpp",
+ "dependencies": [
+ "bigint"
+ ],
+ "default-features": [
+ "iconv",
+ "opencv"
+ ],
+ "features": {
+ "iconv": {
+ "description": "Build with libiconv",
+ "dependencies": [
+ "libiconv"
+ ]
+ },
+ "opencv": {
+ "description": "Build with opencv",
+ "dependencies": [
+ "opencv"
+ ]
+ }
+ }
+}