Accepting request 830070 from X11:XOrg
- Update to version 20.2.1 * Samples: Fixed #2190. rotate_opencl plugin switched to recent version of OpenCL C++ headers, validated with OpenCL-CLHPP v2.0.12 and OpenCL-Headers v2020.06.16 / Intel® SDK for OpenCL™ Applications for Windows* 2020.2.487. - Update to version 20.2.0 * bugfixes and improvements * includes: Build system does not enforce specific instruction set (issue#2047, boo#1167346) - supersedes u_buildfix-for-gcc10.patch - Move samples into a new subpackage - The library does not depend on the tools, drop Requires - Apply patch unconditionally, use %autosetup - Move LICENSE to library package - Make the sover part of %files - Don't bother building tests, they're not run anyway OBS-URL: https://build.opensuse.org/request/show/830070 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libmfx?expand=0&rev=7
This commit is contained in:
commit
67d57cd339
@ -1,16 +1,7 @@
|
||||
--- MediaSDK-intel-mediasdk-19.1.0/CMakeLists.txt.orig 2019-06-07 14:12:27.554638245 +0000
|
||||
+++ MediaSDK-intel-mediasdk-19.1.0/CMakeLists.txt 2019-06-07 14:08:03.833212595 +0000
|
||||
@@ -18,7 +18,7 @@
|
||||
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
# SOFTWARE.
|
||||
|
||||
-cmake_minimum_required( VERSION 3.6 )
|
||||
+cmake_minimum_required( VERSION 3.5.2 )
|
||||
project( mediasdk )
|
||||
|
||||
include(CMakeDependentOption)
|
||||
--- MediaSDK-intel-mediasdk-19.1.0/api/mfx_dispatch/linux/CMakeLists.txt.orig 2019-06-07 14:12:10.042277959 +0000
|
||||
+++ MediaSDK-intel-mediasdk-19.1.0/api/mfx_dispatch/linux/CMakeLists.txt 2019-06-07 14:09:37.611141937 +0000
|
||||
Index: MediaSDK-intel-mediasdk-20.2.0/api/mfx_dispatch/linux/CMakeLists.txt
|
||||
===================================================================
|
||||
--- MediaSDK-intel-mediasdk-20.2.0.orig/api/mfx_dispatch/linux/CMakeLists.txt
|
||||
+++ MediaSDK-intel-mediasdk-20.2.0/api/mfx_dispatch/linux/CMakeLists.txt
|
||||
@@ -18,7 +18,7 @@
|
||||
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
# SOFTWARE.
|
||||
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:289a40ffe73dc291461d97edf452bdc622f76e52666483fd1eb4f131d2921cd1
|
||||
size 10540514
|
3
intel-mediasdk-20.2.1.tar.gz
Normal file
3
intel-mediasdk-20.2.1.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:e13d7d0cf8a4e455ef4032e0cacff63bbbe934a13652ee236ff95d3b9bbb7154
|
||||
size 10898687
|
@ -1,3 +1,31 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Aug 27 18:32:40 UTC 2020 - Stefan Dirsch <sndirsch@suse.com>
|
||||
|
||||
- Update to version 20.2.1
|
||||
* Samples: Fixed #2190. rotate_opencl plugin switched to recent
|
||||
version of OpenCL C++ headers, validated with OpenCL-CLHPP
|
||||
v2.0.12 and OpenCL-Headers v2020.06.16 / Intel® SDK for OpenCL™
|
||||
Applications for Windows* 2020.2.487.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Aug 27 18:04:40 UTC 2020 - Stefan Dirsch <sndirsch@suse.com>
|
||||
|
||||
- Update to version 20.2.0
|
||||
* bugfixes and improvements
|
||||
* includes: Build system does not enforce specific instruction
|
||||
set (issue#2047, boo#1167346)
|
||||
- supersedes u_buildfix-for-gcc10.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Aug 3 09:03:23 UTC 2020 - Fabian Vogt <fvogt@suse.com>
|
||||
|
||||
- Move samples into a new subpackage
|
||||
- The library does not depend on the tools, drop Requires
|
||||
- Apply patch unconditionally, use %autosetup
|
||||
- Move LICENSE to library package
|
||||
- Make the sover part of %files
|
||||
- Don't bother building tests, they're not run anyway
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 16 12:40:37 UTC 2020 - Stefan Dirsch <sndirsch@suse.com>
|
||||
|
||||
|
41
libmfx.spec
41
libmfx.spec
@ -16,9 +16,10 @@
|
||||
#
|
||||
|
||||
|
||||
%global sover 1
|
||||
Name: libmfx
|
||||
%define lname libmfx1
|
||||
Version: 19.4.0
|
||||
%define lname libmfx%{sover}
|
||||
Version: 20.2.1
|
||||
Release: 0
|
||||
Summary: The Intel Media SDK
|
||||
License: MIT
|
||||
@ -26,7 +27,6 @@ Group: Development/Languages/C and C++
|
||||
URL: https://github.com/Intel-Media-SDK/MediaSDK
|
||||
Source0: https://github.com/Intel-Media-SDK/MediaSDK/archive/intel-mediasdk-%{version}.tar.gz
|
||||
Patch0: cmake-sle12.patch
|
||||
Patch1: u_buildfix-for-gcc10.patch
|
||||
BuildRequires: cmake
|
||||
%if 0%{?suse_version} < 1500
|
||||
BuildRequires: gcc7-c++
|
||||
@ -47,7 +47,6 @@ platforms. The implementation is written in C++11, with parts in C-for-Media
|
||||
%package -n %lname
|
||||
Summary: The Intel Media SDK
|
||||
Group: System/Libraries
|
||||
Requires: %{name}
|
||||
|
||||
%description -n %lname
|
||||
The Intel Media SDK provides a plain C API to access hardware-accelerated
|
||||
@ -64,12 +63,15 @@ Requires: %lname = %version
|
||||
This package contains the development headers and pkgconfig files for
|
||||
the Intel Media SDK.
|
||||
|
||||
%package samples
|
||||
Summary: Examples for the Intel Media SDK
|
||||
Group: Development/Languages/C and C++
|
||||
|
||||
%description samples
|
||||
This package contains example applications for the Intel Media SDK.
|
||||
|
||||
%prep
|
||||
%setup -q -n MediaSDK-intel-mediasdk-%{version}
|
||||
%if 0%{?suse_version} < 1500
|
||||
%patch0 -p1
|
||||
%endif
|
||||
%patch1 -p1
|
||||
%autosetup -p1 -n MediaSDK-intel-mediasdk-%{version}
|
||||
|
||||
%build
|
||||
mkdir -p build
|
||||
@ -84,7 +86,7 @@ cmake \
|
||||
-DENABLE_WAYLAND:BOOL=ON \
|
||||
-DENABLE_TEXTLOG:BOOL=ON \
|
||||
-DENABLE_STAT:BOOL=ON \
|
||||
-DBUILD_TESTS:BOOL=ON \
|
||||
-DBUILD_TESTS:BOOL=OFF \
|
||||
-DBUILD_TOOLS:BOOL=ON \
|
||||
-DENABLE_ITT:BOOL=OFF \
|
||||
-DBUILD_KERNELS:BOOL=OFF \
|
||||
@ -107,26 +109,31 @@ rmdir %{buildroot}/%{_datadir}/mfx/samples
|
||||
|
||||
%files
|
||||
%doc CHANGELOG.md CODEOWNERS README.md
|
||||
%license LICENSE
|
||||
%{_bindir}/asg-hevc
|
||||
%{_bindir}/hevc_fei_extractor
|
||||
%{_bindir}/mfx-tracer-config
|
||||
|
||||
%files -n %lname
|
||||
%{_libdir}/libmfx.so.*
|
||||
%{_libdir}/libmfxhw64.so.*
|
||||
%license LICENSE
|
||||
%{_libdir}/libmfx.so.%{sover}
|
||||
%{_libdir}/libmfx.so.%{sover}.*
|
||||
%{_libdir}/libmfxhw64.so.%{sover}
|
||||
%{_libdir}/libmfxhw64.so.%{sover}.*
|
||||
%{_libdir}/libmfx-tracer.so.%{sover}
|
||||
%{_libdir}/libmfx-tracer.so.%{sover}.*
|
||||
%dir %{_libdir}/mfx
|
||||
%{_libdir}/mfx/libmfx_*_hw64.so
|
||||
%dir %{_libdir}/mfx/samples/
|
||||
%{_libdir}/mfx/samples/*
|
||||
%exclude %{_libdir}/mfx/samples/libvpp_plugin.a
|
||||
%dir %{_datadir}/mfx
|
||||
%{_datadir}/mfx/plugins.cfg
|
||||
|
||||
%files samples
|
||||
%{_libdir}/mfx/samples/
|
||||
|
||||
%files devel
|
||||
%{_includedir}/mfx/
|
||||
%{_libdir}/libmfx.so
|
||||
%{_libdir}/libmfxhw64.so
|
||||
%{_libdir}/libmfx-tracer.so
|
||||
%{_libdir}/pkgconfig/*.pc
|
||||
%{_libdir}/mfx/samples/libvpp_plugin.a
|
||||
|
||||
%changelog
|
||||
|
@ -1,10 +0,0 @@
|
||||
--- MediaSDK-intel-mediasdk-19.4.0/tutorials/common/common_vaapi.cpp.old 2020-03-16 12:19:15.596797932 +0000
|
||||
+++ MediaSDK-intel-mediasdk-19.4.0/tutorials/common/common_vaapi.cpp 2020-03-16 12:19:43.133334634 +0000
|
||||
@@ -24,6 +24,7 @@
|
||||
#include <map>
|
||||
|
||||
#include "common_vaapi.h"
|
||||
+#include <string>
|
||||
|
||||
struct sharedResponse {
|
||||
mfxFrameAllocResponse mfxResponse;
|
Loading…
Reference in New Issue
Block a user