libyami/libyami.spec

55 lines
1.6 KiB
RPMSpec
Raw Normal View History

2020-07-22 14:47:22 +08:00
Name: libyami
2021-06-29 09:32:35 +08:00
Version: 1.3.2
Release: 1
2020-07-22 14:47:22 +08:00
Summary: Another Media Infrastructure
License: ASL 2.0 and BSD
URL: https://github.com/intel/libyami
2021-06-29 09:32:35 +08:00
Source0: https://github.com/intel/libyami/archive/%{version}/%{name}-%{version}.tar.gz
2020-07-22 14:47:22 +08:00
Patch0000: libyami-libtool-macro.patch
BuildRequires: libtool gcc-c++ libva-devel pkgconfig(libdrm) pkgconfig(x11)
%description
Yami is the core building block of a media solution. It uses hardware acceleration to parses and decode video streams.
%package devel
Summary: Development files for libyami
Requires: libyami = %{version}-%{release}
%description devel
Libyami-devel package contains libraries and header files used
for developing applications using libyami.
%prep
2021-06-29 09:32:35 +08:00
%autosetup -n %{name}-%{version} -p1
2020-07-22 14:47:22 +08:00
autoreconf -vif
%build
%configure --disable-static --enable-dmabuf --enable-wayland \
--enable-mpeg2dec --enable-vp9dec --enable-vc1dec \
--enable-fakedec --enable-jpegenc --enable-vp8svct \
--enable-vp9enc --enable-h265enc
%make_build V=1
%install
%make_install
%delete_la
%post
/sbin/ldconfig
%postun
/sbin/ldconfig
%files
%doc NEWS README.md codecparsers/{dboolhuff.LICENSE,vp9quant.LICENSE} LICENSE.md
%{_libdir}/*.so.*
%files devel
%{_includedir}/*
%{_libdir}/*.so
%{_libdir}/pkgconfig/libyami.pc
%changelog
2021-06-29 09:32:35 +08:00
* Tue Jun 29 2021 lingsheng <lingsheng@huawei.com> - 1.3.2-1
- Update to 1.3.2
2020-07-22 14:47:22 +08:00
* Thu Jun 11 2020 wangchong <wangchong56@huawei.com> - 1.3.1-3
- package init