File libyami-utils.spec of Package libyami-utils

#
# spec file for package libyami-utils
#
# Copyright (c) 2018 SUSE LINUX 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:           libyami-utils
Version:        1.3.0
Release:        0
Summary:        Collection of tools for development and testing of Libyami
License:        Apache-2.0
Group:          Development/Tools/Other
Url:            https://github.com/01org/libyami-utils
Source0:        https://github.com/01org/libyami-utils/archive/%{version}.tar.gz#/%name-%{version}.tar.gz
Source99:       libyami-utils-rpmlintrc

BuildRequires:  gcc-c++
BuildRequires:  libtool
BuildRequires:  pkgconfig
BuildRequires:  pkgconfig(egl)
BuildRequires:  pkgconfig(glesv2)
BuildRequires:  pkgconfig(libavformat) = 57.83.100
BuildRequires:  pkgconfig(libbsd)
BuildRequires:  pkgconfig(libdrm)
BuildRequires:  pkgconfig(libdrm_intel)
BuildRequires:  pkgconfig(libv4l2)
BuildRequires:  pkgconfig(libva-drm)
BuildRequires:  pkgconfig(libva-x11)
BuildRequires:  pkgconfig(libyami) >= 0.5.2
# Intel graphics hardware only available on these platforms
ExclusiveArch:  %{ix86} x86_64

%description
This package provides decoder/encoder/vpp programs using libyami.
The associated programs provides access to the following hardware
functions when used with libva and intel-vaapi-driver on supported
Intel hardware:

Decoders:
MPEG-2, VC-1, WMV 9 (WMV3), H.264, HEVC (H.265), VP8, VP9,
and JPEG

Encoders:
H.264, HEVC (H.265), VP8, VP9, and JPEG

Video Processing:
Sharpening, Denoise, Deinterlace, Hue, Saturation, Brightness,
Contrast, CSC and scaling

Hardware requirements:
Intel Sandybridge, Ivybridge, Haswell, Broadwell, Skylake,
Kaby Lake
Intel Baytrail, Braswell, Apollo Lake

%prep
%setup -q

%build
autoreconf -fiv
%configure \
        --disable-static \
        --enable-avformat \
        --enable-dmabuf \
        %{nil}
make %{?_smp_mflags} V=1

%install
%make_install

%files
%defattr(-,root,root)
%doc LICENSE README.md
%{_bindir}/*
%{_mandir}/man*/*

%changelog
openSUSE Build Service is sponsored by