Skip to content

Commit

Permalink
Fix builds for OpenCV and FFmpeg too
Browse files Browse the repository at this point in the history
  • Loading branch information
saudet committed Jan 3, 2024
1 parent 869a41c commit 6c4770d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion ffmpeg/platform/gpl/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

<groupId>org.bytedeco</groupId>
<artifactId>ffmpeg-platform-gpl</artifactId>
<version>6.0-${project.parent.version}</version>
<version>6.1-${project.parent.version}</version>
<name>JavaCPP Presets Platform for FFmpeg (GPL enabled)</name>

<properties>
Expand Down
3 changes: 2 additions & 1 deletion opencv/src/main/java/org/bytedeco/opencv/opencv_java.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (C) 2018-2022 Samuel Audet
* Copyright (C) 2018-2024 Samuel Audet
*
* Licensed either under the Apache License, Version 2.0, or (at your option)
* under the terms of the GNU General Public License as published by
Expand Down Expand Up @@ -50,6 +50,7 @@
opencv_xphoto.class,
opencv_barcode.class,
opencv_wechat_qrcode.class,
opencv_dnn_superres.class,
},
value = {
@Platform(preload = {"[email protected]", "[email protected]", "[email protected]", "[email protected]", "opencv_java"}),
Expand Down
4 changes: 2 additions & 2 deletions opencv/src/main/java/org/bytedeco/opencv/opencv_python3.java
Original file line number Diff line number Diff line change
Expand Up @@ -67,10 +67,10 @@
value = {
@Platform(preload = {"[email protected]", "[email protected]", "[email protected]", "[email protected]",
"[email protected]", "[email protected]", "[email protected]", "[email protected]",
"[email protected]", "[email protected]", "[email protected]"}),
"[email protected]", "[email protected]", "[email protected]", "[email protected]"}),
@Platform(value = "windows", preload = {"opencv_cuda490", "opencv_cudaarithm490", "opencv_cudafilters490", "opencv_cudaimgproc490",
"opencv_cudacodec490", "opencv_cudaobjdetect490", "opencv_cudabgsegm490", "opencv_cudastereo490",
"opencv_cudaoptflow490", "opencv_cudawarping490", "opencv_cudalegacy490"}),
"opencv_cudafeatures2d490", "opencv_cudaoptflow490", "opencv_cudawarping490", "opencv_cudalegacy490"}),
}
)
public class opencv_python3 {
Expand Down

0 comments on commit 6c4770d

Please sign in to comment.