Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| cdf4b72457 | |||
| 1ee27fcfad |
@@ -38,7 +38,7 @@
|
||||
|
||||
Name: %{rocdecode_name}
|
||||
Version: %{rocm_version}
|
||||
Release: 5%{?dist}
|
||||
Release: 6%{?dist}
|
||||
Summary: High-performance video decode SDK for AMD GPUs
|
||||
|
||||
Url: https://github.com/ROCm/rocDecode
|
||||
@@ -58,12 +58,20 @@ BuildRequires: rocm-runtime-devel
|
||||
BuildRequires: rocm-rpm-macros
|
||||
|
||||
%if %{with check}
|
||||
%if 0%{?suse_version}
|
||||
BuildRequires: ffmpeg
|
||||
BuildRequires: libavcodec-devel
|
||||
BuildRequires: libavformat-devel
|
||||
BuildRequires: libavutil-devel
|
||||
BuildRequires: Mesa-libva
|
||||
%else
|
||||
BuildRequires: ffmpeg-free
|
||||
BuildRequires: libavcodec-free-devel
|
||||
BuildRequires: libavformat-free-devel
|
||||
BuildRequires: libavutil-free-devel
|
||||
BuildRequires: mesa-va-drivers
|
||||
%endif
|
||||
%endif
|
||||
|
||||
%if %{with ninja}
|
||||
%if 0%{?fedora}
|
||||
@@ -120,7 +128,8 @@ sed -i -e 's@${LINK_LIBRARY_LIST} ${LIBVA_DRM_LIBRARY}@${LINK_LIBRARY_LIST} ${LI
|
||||
%build
|
||||
%cmake %{cmake_generator} \
|
||||
-DCMAKE_CXX_COMPILER=hipcc \
|
||||
-DCMAKE_INSTALL_LIBDIR=%{_lib}
|
||||
-DCMAKE_INSTALL_LIBDIR=%{_lib} \
|
||||
-DROCM_PATH=%{_prefix}
|
||||
%cmake_build
|
||||
|
||||
%install
|
||||
@@ -155,6 +164,10 @@ fi
|
||||
%exclude %{_datadir}/rocdecode/samples
|
||||
|
||||
%changelog
|
||||
* Sat Aug 16 2025 Egbert Eich <eich@suse.com> - 6.4.0-6
|
||||
- Fix dependencies on SUSE when 'check' is enabled.
|
||||
- Set ROCM_PATH.
|
||||
|
||||
* Thu Aug 14 2025 Tom Rix <Tom.Rix@amd.com> - 6.4.0-5
|
||||
- change --with test to --with check
|
||||
|
||||
|
||||
Reference in New Issue
Block a user