- created package for Intel Media SDK
OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/libmfx?expand=0&rev=1
This commit is contained in:
commit
e45ff19c9a
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
3
MediaSDK-intel-mediasdk-19.1.0.tar.gz
Normal file
3
MediaSDK-intel-mediasdk-19.1.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:fbb617112bfdc6602a621f97a480c71dc272a4a433c66a3ce3f5c3695e7e91be
|
||||
size 7623203
|
5
libmfx.changes
Normal file
5
libmfx.changes
Normal file
@ -0,0 +1,5 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Jun 6 12:22:00 UTC 2019 - Stefan Dirsch <sndirsch@suse.com>
|
||||
|
||||
- created package for Intel Media SDK
|
||||
|
103
libmfx.spec
Normal file
103
libmfx.spec
Normal file
@ -0,0 +1,103 @@
|
||||
#
|
||||
# spec file for package MediaSDK
|
||||
#
|
||||
# Copyright (c) 2019 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
Name: libmfx
|
||||
%define lname libmfx1
|
||||
Version: 19.1.0
|
||||
Release: 0
|
||||
Summary: The Intel® Media SDK
|
||||
License: MIT
|
||||
Group: Development/Languages/C and C++
|
||||
Url: https://github.com/Intel-Media-SDK/MediaSDK
|
||||
Source0: MediaSDK-intel-mediasdk-%{version}.tar.gz
|
||||
BuildRequires: cmake
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: libva-devel
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: pkgconfig(libva)
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%description
|
||||
Intel® Media SDK provides a plain C API to access hardware-accelerated
|
||||
video decode, encode and filtering on Intel® Gen graphics hardware
|
||||
platforms. Implementation written in C++ 11 with parts in C-for-Media
|
||||
(CM).
|
||||
|
||||
%package -n %lname
|
||||
Summary: The Intel® Media SDK
|
||||
Group: System/Libraries
|
||||
|
||||
%description -n %lname
|
||||
Intel® Media SDK provides a plain C API to access hardware-accelerated
|
||||
video decode, encode and filtering on Intel® Gen graphics hardware
|
||||
platforms. Implementation written in C++ 11 with parts in C-for-Media
|
||||
(CM).
|
||||
|
||||
%package devel
|
||||
Summary: Development files Intel® Media SDK
|
||||
Group: Development/Languages/C and C++
|
||||
Requires: %name = %version
|
||||
|
||||
%description devel
|
||||
This package contains the development headers and pkgconfig files for
|
||||
the Intel® Media SDK.
|
||||
|
||||
%prep
|
||||
%setup -q -n MediaSDK-intel-mediasdk-%{version}
|
||||
|
||||
%build
|
||||
mkdir -p build
|
||||
pushd build
|
||||
cmake -DCMAKE_INSTALL_PREFIX=/usr ..
|
||||
make %{?_smp_mflags}
|
||||
popd
|
||||
|
||||
%install
|
||||
pushd build
|
||||
%make_install
|
||||
popd
|
||||
mkdir -p $RPM_BUILD_ROOT/%{_libdir}/mfx/samples
|
||||
mv $RPM_BUILD_ROOT/usr/share/mfx/samples/* \
|
||||
$RPM_BUILD_ROOT/%{_libdir}/mfx/samples
|
||||
rmdir $RPM_BUILD_ROOT/usr/share/mfx/samples
|
||||
|
||||
%post -n %lname -p /sbin/ldconfig
|
||||
|
||||
%postun -n %lname -p /sbin/ldconfig
|
||||
|
||||
%files -n %lname
|
||||
%defattr(-,root,root)
|
||||
%doc CHANGELOG.md CODEOWNERS README.md
|
||||
%license LICENSE
|
||||
%{_libdir}/libmfx.so.*
|
||||
%{_libdir}/libmfxhw64.so.*
|
||||
%dir %{_libdir}/mfx
|
||||
%{_libdir}/mfx/libmfx_*_hw64.so
|
||||
%dir %{_libdir}/mfx/samples/
|
||||
%{_libdir}/mfx/samples/*
|
||||
%exclude %{_libdir}/mfx/samples/libvpp_plugin.a
|
||||
%dir /usr/share/mfx
|
||||
/usr/share/mfx/plugins.cfg
|
||||
|
||||
%files devel
|
||||
/usr/include/mfx/
|
||||
%{_libdir}/libmfx.so
|
||||
%{_libdir}/libmfxhw64.so
|
||||
%{_libdir}/pkgconfig/*.pc
|
||||
%{_libdir}/mfx/samples/libvpp_plugin.a
|
||||
|
||||
%changelog
|
Loading…
Reference in New Issue
Block a user