gstreamer1-vaapi/gstreamer1-vaapi.spec
2018-10-03 12:52:10 +02:00

241 lines
7.8 KiB
RPMSpec

Name: gstreamer1-vaapi
Version: 1.14.4
Release: 1%{?dist}
Summary: GStreamer plugins to use VA API video acceleration
License: LGPLv2+
URL: https://cgit.freedesktop.org/gstreamer/gstreamer-vaapi
Source0: https://gstreamer.freedesktop.org/src/gstreamer-vaapi/gstreamer-vaapi-%{version}.tar.xz
BuildRequires: gcc
BuildRequires: glib2-devel >= 2.32
BuildRequires: gstreamer1-devel >= 1.4.0
BuildRequires: gstreamer1-plugins-base-devel >= 1.4.0
BuildRequires: gstreamer1-plugins-bad-free-devel >= 1.4.0
BuildRequires: libva-devel >= 1.1.0
BuildRequires: libdrm-devel
BuildRequires: libudev-devel
BuildRequires: libGL-devel
BuildRequires: pkgconfig(egl)
BuildRequires: libvpx-devel
BuildRequires: pkgconfig(xrandr)
BuildRequires: pkgconfig(xrender)
%if 0%{?fedora} || 0%{?rhel} >= 8
BuildRequires: wayland-devel
BuildRequires: pkgconfig(wayland-client) >= 1
BuildRequires: pkgconfig(wayland-scanner) >= 1
BuildRequires: pkgconfig(wayland-cursor) >= 1
BuildRequires: pkgconfig(wayland-egl) >= 1
BuildRequires: pkgconfig(wayland-server) >= 1
%endif
# We can't provide encoders or decoders unless we know what VA-API drivers
# are on the system. Just filter them out, so they're not suggested by
# PackageKit et al.
%global __provides_exclude gstreamer1\\(decoder|gstreamer1\\(encoder
%description
A collection of GStreamer plugins to let you make use of VA API video
acceleration from GStreamer applications.
Includes elements for video decoding, display, encoding and post-processing
using VA API (subject to hardware limitations).
%package devel-docs
Summary: Developer documentation for GStreamer VA API video acceleration plugins
Requires: %{name} = %{version}-%{release}
BuildArch: noarch
Provides: gstreamer1-vaapi-devel = %{version}-%{release}
Obsoletes: gstreamer1-vaapi-devel < 0.6.1-3
%description devel-docs
The %{name}-devel-docs package contains developer documentation
for the GStreamer VA API video acceleration plugins
%prep
%setup -q -n gstreamer-vaapi-%{version}
%build
# Wayland support in libva isn't present - gstreamer-vaapi can't support Wayland without it
# https://bugzilla.redhat.com/show_bug.cgi?id=1051862
%configure --disable-silent-rules --disable-fatal-warnings \
--enable-static=no \
%{?_without_wayland:--disable-wayland} \
--disable-builtin-libvpx
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
%make_build
%install
%make_install
find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
%check
%__make check
%ldconfig_scriptlets
%files
%doc AUTHORS NEWS README
%license COPYING.LIB
%{_libdir}/gstreamer-1.0/*.so
%files devel-docs
%doc AUTHORS NEWS README
%doc %{_datadir}/gtk-doc
%changelog
* Wed Oct 03 2018 Taymans <wtaymans@redhat.com> - 1.14.4-1
- Update to 1.14.4
* Tue Sep 18 2018 Taymans <wtaymans@redhat.com> - 1.14.3-1
- Update to 1.14.3
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.14.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Tue May 22 2018 Rex Dieter <rdieter@fedoraproject.org> - 1.14.1-2
- .spec cosmetics, use %%make_build, %%ldconfig_scriptlets, %%license, drop Group:
- --disable-silent-rules
* Mon May 21 2018 Taymans <wtaymans@redhat.com> - 1.14.1-1
- Update to 1.14.1
* Tue Mar 20 2018 Taymans <wtaymans@redhat.com> - 1.14.0-1
- Update to 1.14.0
* Wed Mar 14 2018 Taymans <wtaymans@redhat.com> - 1.13.91-1
- Update to 1.13.91
* Mon Mar 05 2018 Taymans <wtaymans@redhat.com> - 1.13.90-1
- Update to 1.13.90
* Thu Feb 22 2018 Taymans <wtaymans@redhat.com> - 1.13.1-1
- Update to 1.13.1
- Disable warnings
* Fri Feb 09 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.12.4-4
- Escape macros in %%changelog
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.12.4-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
* Mon Jan 15 2018 Nicolas Chauvet <kwizart@gmail.com> - 1.12.4-2
- Rebuilt for libva-2.0.0
* Mon Dec 11 2017 Taymans <wtaymans@redhat.com> - 1.12.4-1
- Update to 1.12.4
* Tue Sep 19 2017 Taymans <wtaymans@redhat.com> - 1.12.3-1
- Update to 1.12.3
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.12.2-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.12.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
* Mon Jul 17 2017 Taymans <wtaymans@redhat.com> - 1.12.2-1
- Update to 1.12.2
* Tue Jun 20 2017 Taymans <wtaymans@redhat.com> - 1.12.1-1
- Update to 1.12.1
* Wed May 10 2017 Taymans <wtaymans@redhat.com> - 1.12.0-1
- Update to 1.12.0
* Tue Apr 28 2017 Taymans <wtaymans@redhat.com> - 1.11.91-1
- Update to 1.11.91
* Tue Apr 11 2017 Taymans <wtaymans@redhat.com> - 1.11.90-1
- Update to 1.11.90
* Fri Feb 24 2017 Taymans <wtaymans@redhat.com> - 1.11.2-1
- Update to 1.11.2
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.11.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
* Fri Jan 13 2017 Taymans <wtaymans@redhat.com> - 1.11.1-1
- Update to 1.11.1
* Mon Dec 05 2016 Taymans <wtaymans@redhat.com> - 1.10.2-1
- Update to 1.10.2
* Mon Nov 28 2016 Taymans <wtaymans@redhat.com> - 1.10.1-1
- Update to 1.10.1
* Thu Nov 03 2016 Wim Taymans <wtaymans@redhat.com> - 1.10.0-1
- Update to 1.10.0
* Sat Oct 01 2016 Wim Taymans <wtaymans@redhat.com> - 1.9.90-1
- Update to 1.9.90
* Thu Sep 01 2016 Wim Taymans <wtaymans@redhat.com> - 1.9.2-1
- Update to 1.9.2
* Thu Jul 07 2016 Wim Taymans <wtaymans@redhat.com> - 1.9.1-1
- Update to 1.9.1
* Thu Jun 09 2016 Wim Taymans <wtaymans@redhat.com> - 1.8.2-1
- Update to 1.8.2
* Mon Apr 25 2016 Wim Taymans <wtaymans@redhat.com> - 1.8.1-1
- Update to 1.8.1
* Fri Apr 08 2016 Egor Zaharov <nexfwall@gmail.com> - 1.8.0-1
- Updated to 1.8.0
- Update URL to follow project, because they moved to freedesktop
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
* Wed Sep 30 2015 Nicolas Chauvet <kwizart@gmail.com> - 0.6.1-1
- Update to 0.6.1
* Sat Jul 18 2015 Francesco Frassinelli <fraph24@gmail.com> - 0.6.0-1
- Update to 0.6.0
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.10-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
* Tue Apr 7 2015 Simon Farnsworth <simon.farnsworth@onelan.co.uk> - 0.5.10-3
- Update URL to follow project after gitorious shutdown
* Sun Feb 15 2015 Simon Farnsworth <simon.farnsworth@onelan.co.uk> - 0.5.10-2
- Fix FTBFS on s390x due to header file not matching implementation
* Tue Feb 3 2015 Simon Farnsworth <simon@farnz.org.uk> - 0.5.10-1
- Update to 0.5.10 release
- Filter out encoder and decoder Provides
* Tue Nov 04 2014 Nicolas Chauvet <kwizart@gmail.com> - 0.5.9-3
- Rebuilt for vaapi 0.36
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.9-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
* Fri Aug 1 2014 Simon Farnsworth <simon.farnsworth@onelan.co.uk> - 0.5.9-1
- Update to 0.5.9 release
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.8-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
* Wed Apr 9 2014 Simon Farnsworth <simon.farnsworth@onelan.co.uk> - 0.5.8-4
- Provide Wayland support now that libva includes it
* Fri Feb 7 2014 Simon Farnsworth <simon@farnz.org.uk> - 0.5.8-3
- Fix typo in spec file - Patch1 and %%patch0 don't go together
* Fri Feb 7 2014 Simon Farnsworth <simon@farnz.org.uk> - 0.5.8-2
- Fix vaapipostproc crash in live pipelines
* Wed Feb 5 2014 Simon Farnsworth <simon@farnz.org.uk> - 0.5.8-1
- initial release