public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Luya Tshimbalanga <luya@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/blender] rawhide: Fix OIDN HIP backend dependency and modernize CMake requirements
Date: Thu, 26 Nov 2026 05:25:44 GMT	[thread overview]
Message-ID: <179567074467.1.746763076906609931.rpms-blender-477a73f0538b@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/blender
            Branch : rawhide
            Commit : 477a73f0538b9b91955774499b01fe4dee465608
            Author : Luya Tshimbalanga <luya@fedoraproject.org>
            Date   : 2026-11-25T22:25:31-07:00
            Stats  : +3/-6 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/blender/c/477a73f0538b9b91955774499b01fe4dee465608?branch=rawhide

            Log:
            Fix OIDN HIP backend dependency and modernize CMake requirements

Recommend the optional OIDN HIP backend when both OIDN and HIP
support are enabled.

Use default CMake generator through cmake-rpm-macros.

---
diff --git a/blender.spec b/blender.spec
index b2ce5ea..8b2e77f 100644
--- a/blender.spec
+++ b/blender.spec
@@ -127,6 +127,7 @@ BuildRequires:  cmake(Jolt)
 BuildRequires:  cmake(Ktx) >= 4.4.2
 %endif
 BuildRequires:  cmake >= 3.21
+BuildRequires:  cmake-rpm-macros
 BuildRequires:  desktop-file-utils
 BuildRequires:  fdupes
 BuildRequires:  gcc-c++ >= 14
@@ -141,7 +142,6 @@ BuildRequires:  clang%{?llvm_compat}-devel >= 17
 %if %{with llvm}
 BuildRequires:  llvm%{?llvm_compat}-devel
 %endif
-BuildRequires:  ninja-build
 
 # System libraries
 BuildRequires:  mold
@@ -306,9 +306,6 @@ BuildRequires:  pkgconfig(oslcomp) >= 1.13.4
 %endif
 %if %{with oidn}
 BuildRequires:  cmake(OpenImageDenoise) >= 2.5.1
-%if %{with hip}
-BuildRequires:  oidn-libs-hip
-%endif
 %endif
 %if %{with opgl}
 BuildRequires:  openpgl-devel
@@ -411,9 +408,9 @@ BuildRequires:  pkgconfig(vpl)
 %endif
 
 Requires:       hicolor-icon-theme
-# HIP backend of OIDN
+# Optional HIP denoising backend, loaded at runtime by OIDN.
 %if %{with oidn} && %{with hip}
-Requires:       oidn-libs-hip%{?_isa}
+Recommends:     (oidn-libs-hip%{?_isa} if rocm-hip%{?_isa})
 %endif
 %if %{with hip} && %{with hiprt}
 # Cycles' Linux HIPRT availability check loads libamdhip64.so.

                 reply	other threads:[~2026-11-26  5:25 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=179567074467.1.746763076906609931.rpms-blender-477a73f0538b@fedoraproject.org \
    --to=luya@fedoraproject.org \
    --cc=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