package init

This commit is contained in:
small_leek 2020-07-22 14:47:22 +08:00
parent b0028feb39
commit a5bca653bf
4 changed files with 69 additions and 0 deletions

BIN
libyami-fb48083.tar.gz Normal file

Binary file not shown.

View File

@ -0,0 +1,13 @@
diff -up libyami-40fa32e79f12c3c85c360532be00b7e4f9a35920/configure.ac.obs libyami-40fa32e79f12c3c85c360532be00b7e4f9a35920/configure.ac
--- libyami-40fa32e79f12c3c85c360532be00b7e4f9a35920/configure.ac.obs 2018-03-08 12:46:30.000000000 +0100
+++ libyami-40fa32e79f12c3c85c360532be00b7e4f9a35920/configure.ac 2018-03-09 17:30:04.515833627 +0100
@@ -417,8 +417,7 @@ AC_PROG_CPP
AC_PROG_INSTALL
AC_PROG_LN_S
AC_PROG_MAKE_SET
-AC_PROG_LIBTOOL
-#LT_INIT
+LT_INIT
# Checks for libraries.
# Checks for header files.

51
libyami.spec Normal file
View File

@ -0,0 +1,51 @@
Name: libyami
Version: 1.3.1
Release: 3
Summary: Another Media Infrastructure
License: ASL 2.0 and BSD
URL: https://github.com/intel/libyami
Source0: https://github.com/intel/libyami/archive/fb48083de91f837ddbf599dd4b5ad1eb1239e1cf/libyami-fb48083.tar.gz
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
%autosetup -n libyami-fb48083de91f837ddbf599dd4b5ad1eb1239e1cf -p1
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
* Thu Jun 11 2020 wangchong <wangchong56@huawei.com> - 1.3.1-3
- package init

5
libyami.yaml Normal file
View File

@ -0,0 +1,5 @@
git_url: https://github.com/intel/libyami.git
version_control: github
src_repo: intel/libyami
tag_prefix: "libyami-"
seperator: "."