public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
To: git-commits@fedoraproject.org
Subject: [rpms/opencv] opencv5: Disable openexr on epel 9
Date: Fri, 28 Aug 2026 13:32:40 GMT [thread overview]
Message-ID: <178792396040.1.2249665524179199739.rpms-opencv-7cdfc99aae8f@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/opencv
Branch : opencv5
Commit : 7cdfc99aae8f0c5a45545ede84de8cedbb410ce7
Author : Sérgio M. Basto <sergio@serjux.com>
Date : 2024-02-05T11:38:21+00:00
Stats : +12/-1 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/opencv/c/7cdfc99aae8f0c5a45545ede84de8cedbb410ce7?branch=opencv5
Log:
Disable openexr on epel 9
---
diff --git a/opencv.spec b/opencv.spec
index 29ba800..88e703c 100644
--- a/opencv.spec
+++ b/opencv.spec
@@ -51,6 +51,12 @@
%bcond_with java
%endif
+%if 0%{?fedora}
+%bcond_without openexr
+%else
+%bcond_with openexr
+%endif
+
%bcond_without va
%bcond_without vulkan
@@ -125,10 +131,14 @@ BuildRequires: libpng-devel
BuildRequires: libtiff-devel
BuildRequires: libGL-devel
BuildRequires: libv4l-devel
+%{?with_openexr:
BuildRequires: OpenEXR-devel
+}
%{?with_openni:
BuildRequires: openni-devel
+%if 0%{?fedora}
BuildRequires: openni-primesense
+%endif
}
%{?with_tbb:
BuildRequires: tbb-devel
@@ -434,7 +444,8 @@ install -pm 0644 %{S:4} .cache/ade/
%endif
-DOpenGL_GL_PREFERENCE=GLVND \
-DWITH_GDAL=ON \
- -DWITH_OPENEXR=ON \
+%{?with_openexr: -DWITH_OPENEXR=ON} \
+%{!?with_openexr: -DWITH_OPENEXR=OFF} \
-DCMAKE_SKIP_RPATH=ON \
-DWITH_CAROTENE=OFF \
%ifarch x86_64 %{ix86}
reply other threads:[~2026-08-28 13:32 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=178792396040.1.2249665524179199739.rpms-opencv-7cdfc99aae8f@fedoraproject.org \
--to=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox