Skip to content

Commit

Permalink
media-libs/opencv: Bump v.4.8.1+2
Browse files Browse the repository at this point in the history
  • Loading branch information
geaaru committed Oct 23, 2023
1 parent f232985 commit 906fad1
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
6 changes: 3 additions & 3 deletions packages/atoms/desktop2/media-libs/opencv/definition.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: opencv
version: 4.8.1+1
version: 4.8.1+2
category: media-libs
use_flags:
- -cuda
Expand All @@ -9,7 +9,6 @@ use_flags:
- -glog
- -gphoto2
- -ieee1394
- -lapack
- -libav
- -opencl
- -openexr
Expand All @@ -20,20 +19,21 @@ use_flags:
- -tesseract
- -threads
- -vtk
- -webp
- -xine
- contrib
- ffmpeg
- gstreamer
- gtk
- jpeg
- lapack
- opengl
- png
- python
- python_targets_python3_9
- tiff
- v4l
- vaapi
- webp
requires:
- name: python
version: '>=0'
Expand Down
20 changes: 10 additions & 10 deletions packages/atoms/desktop2/media-libs/opencv/opencv-4.8.1.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -243,16 +243,16 @@ src_prepare() {
sed -e '/ocv_install_3rdparty_licenses/d' \
-i cmake/OpenCVDetectOpenCL.cmake || die

- sed -e '/ocv_install_3rdparty_licenses/d' \
- -e '/ocv_add_external_target/d' \
- -e '/set(CUSTOM_STATUS_flatbuffers/d' \
- -e '/flatbuffers_VERSION /d' \
- -i cmake/OpenCVDetectFlatbuffers.cmake || die
-
- # Drop flatbuffers version check
- sed -e 's|FLATBUFFERS_VERSION_MINOR == 5|FLATBUFFERS_VERSION_MINOR == FLATBUFFERS_VERSION_MINOR|g' \
- -e 's|FLATBUFFERS_VERSION_REVISION == 9|FLATBUFFERS_VERSION_REVISION == FLATBUFFERS_VERSION_REVISION|g' \
- -i modules/dnn/misc/tflite/schema_generated.h || die
sed -e '/ocv_install_3rdparty_licenses/d' \
-e '/ocv_add_external_target/d' \
-e '/set(CUSTOM_STATUS_flatbuffers/d' \
-e '/flatbuffers_VERSION /d' \
-i cmake/OpenCVDetectFlatbuffers.cmake || die

# Drop flatbuffers version check
sed -e 's|FLATBUFFERS_VERSION_MINOR == 5|FLATBUFFERS_VERSION_MINOR == FLATBUFFERS_VERSION_MINOR|g' \
-e 's|FLATBUFFERS_VERSION_REVISION == 9|FLATBUFFERS_VERSION_REVISION == FLATBUFFERS_VERSION_REVISION|g' \
-i modules/dnn/misc/tflite/schema_generated.h || die

if use examples; then
sed -i 's/\(opencv_dnn\)/\1\n opencv_gapi/' samples/cpp/CMakeLists.txt || die
Expand Down

0 comments on commit 906fad1

Please sign in to comment.