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