%define libname %mklibname gstreamer-vaapi 0 %define devellibname %mklibname -d gstreamer-vaapi Name: gstreamer-vaapi Version: 0.5.9 Release: %mkrel 6 Summary: A collection of VA-API based plugins for GStreamer and helper libraries Group: System/Libraries License: LGPLv2+ and GPLv2+ URL: http://www.splitted-desktop.com/~gbeauchesne/gstreamer-vaapi/ Source0: http://www.splitted-desktop.com/~gbeauchesne/gstreamer-vaapi/%{name}-%{version}.tar.bz2 Patch0: gstreamer-vaapi-0.4.0-buildfix.diff BuildRequires: nasm, yasm BuildRequires: gtk-doc BuildRequires: pkgconfig(gl) BuildRequires: gstreamer1.0-devel BuildRequires: pkgconfig(gstreamer-plugins-base-1.0) #BuildRequires: pkgconfig(gstreamer-app-1.0) BuildRequires: pkgconfig(gstreamer-base-1.0) #BuildRequires: pkgconfig(gstreamer-basevideo-1.0) #BuildRequires: pkgconfig(gstreamer-codecparsers-1.0) BuildRequires: pkgconfig(libavcodec) BuildRequires: pkgconfig(libva) BuildRequires: pkgconfig(x11) %description Gstreamer-vaapi is a collection of VA-API based plugins for GStreamer and helper libraries. vaapidecode is used to decode MPEG-2, MPEG-4, H.264, VC-1, WMV3 videos to video/x-vaapi-surface surfaces, depending on the underlying HW capabilities. vaapiconvert is used to convert from video/x-raw-yuv pixels to video/x-vaapi-surface surfaces. vaapisink is used to display video/x-vaapi-surface surfaces to the screen. %package -n %{libname} Summary: Development files for %{name} Group: Development/C Obsoletes: gstreamer0.10-vaapi Obsoletes: %mklibname gstvaapi 0.10 0 %description -n %{libname} Gstreamer-vaapi is a collection of VA-API based plugins for GStreamer and helper libraries. vaapidecode is used to decode MPEG-2, MPEG-4, H.264, VC-1, WMV3 videos to video/x-vaapi-surface surfaces, depending on the underlying HW capabilities. vaapiconvert is used to convert from video/x-raw-yuv pixels to video/x-vaapi-surface surfaces. vaapisink is used to display video/x-vaapi-surface surfaces to the screen. %package -n %{devellibname} Summary: Development files for %{name} Group: Development/C Requires: %{libname} = %{version} Obsoletes: %mklibname -d gstvaapi 0.10 %description -n %{devellibname} The %{name}-devel package contains libraries and header files for developing applications that use %{name}. %prep %setup -q %apply_patches %build %configure make V=1 %install %makeinstall_std %files -n %{libname} %doc NEWS README %{_libdir}/*.so.* %{_libdir}/gstreamer-1.0/*.so %exclude %{_libdir}/gstreamer-1.0/*.a %exclude %{_libdir}/gstreamer-1.0/*.la %exclude %{_libdir}/*.a %exclude %{_libdir}/*.la %files -n %{devellibname} %{_includedir}/gstreamer-1.0/gst/vaapi %{_libdir}/*.so %{_libdir}/pkgconfig/%{name}*.pc %changelog * Wed Oct 15 2014 umeabot <umeabot> 0.5.9-6.mga5 + Revision: 742608 - Second Mageia 5 Mass Rebuild * Tue Sep 16 2014 umeabot <umeabot> 0.5.9-5.mga5 + Revision: 679970 - Mageia 5 Mass Rebuild * Sun Sep 07 2014 luigiwalser <luigiwalser> 0.5.9-4.mga5 + Revision: 673208 - fix gstreamer0.10-vaapi obsoletes due to strange packaging in former package * Sat Sep 06 2014 luigiwalser <luigiwalser> 0.5.9-3.mga5 + Revision: 672694 - obsolete gstreamer0.10-vaapi * Wed Sep 03 2014 zezinho <zezinho> 0.5.9-2.mga5 + Revision: 671486 - build against gstreamer1.0, as 0.10 is deprecated * Fri Aug 01 2014 tv <tv> 0.5.9-1.mga5 + Revision: 659002 - BR nasm+yasm - convert other BRs to pkgconfig style - fix unsatisfied X11 BR: 'X11-devel' => 'pkgconfig(x11)' - new release - disable parallel build - verbose build - imported package gstreamer-vaapi * Thu Oct 11 2012 Thierry Vignaud <tv@mageia.org> 0.4.0-1.mga3 - initial release