From: Zhao, Halley Date: Sun, 16 Feb 2014 19:07:14 +0000 (+0800) Subject: packaging: add packaging folder and update submodule pkgs X-Git-Tag: accepted/tizen/common/20140806.102058~6 X-Git-Url: http://review.tizen.org/git/?p=platform%2Fupstream%2Fgstreamer-vaapi.git;a=commitdiff_plain;h=9852f40308b1370e9e9a169ce8a2550babd44c58 packaging: add packaging folder and update submodule pkgs Change-Id: Ic9c64afc8769df0d4166c2224e7a69d00fcb0f49 --- diff --git a/packaging/codecparsers.tar.bz2 b/packaging/codecparsers.tar.bz2 new file mode 100644 index 0000000..5e9d6db Binary files /dev/null and b/packaging/codecparsers.tar.bz2 differ diff --git a/packaging/gitmodules.sh b/packaging/gitmodules.sh new file mode 100755 index 0000000..1de5a67 --- /dev/null +++ b/packaging/gitmodules.sh @@ -0,0 +1,25 @@ +#! /bin/sh +# @author: Philippe Coval +# @description: manage git submodules with git-build-package-rpm + +set -x +set -e + +cat .gitmodules || return 1 + + +git submodule status | awk '{ print $2 }' | while read dir ; do + name=$(basename "$dir" ) + echo "name=" + echo "dir=$dir" + git submodule init + git submodule update + + tar cjvf "./packaging/${name}.tar.bz2" "${dir}" + + cat< 0.2.6@1392323 + Rebase to upstream 0.5.6 release with hw encoder support + Fix TIVI-1478 JPEG issue + +* Thu Sep 4 2013 Zhao Halley submit/tizen/20130807.090602@d6cb0a6 +- wayland: retain additional 3 gst buffer after video rendering +- destroy wl_buffer by register to wl_buffer_listener + +* Thu Aug 15 2013 Zhao Halley submit/tizen/20130807.090602@d6cb0a6 +- add 'frame-rendered' signal for wayland platform +- fixes when vappsink renders to simple wayland compositor +- seems wl_buffer_destroy is not required +- add foreign wl_display/wl_surface support +- Fix issue of mem map +- add gitmodules.sh scipt to help maintain submodule + +* Wed Aug 07 2013 Zhao Halley 0.5.5@3ecb26e +- sync to recent upstream git repo +- add codecparsers/videoutils as tar ball +- update spec for codecparsers/videoutils + +* Wed Jul 03 2013 Zhao Halley 0.5.4@14489ad +- calculate decoder caps from driver capability +- set higher rank for vaapidecode + diff --git a/packaging/gstreamer-vaapi.manifest b/packaging/gstreamer-vaapi.manifest new file mode 100644 index 0000000..017d22d --- /dev/null +++ b/packaging/gstreamer-vaapi.manifest @@ -0,0 +1,5 @@ + + + + + diff --git a/packaging/gstreamer-vaapi.spec b/packaging/gstreamer-vaapi.spec new file mode 100644 index 0000000..8ac3ad5 --- /dev/null +++ b/packaging/gstreamer-vaapi.spec @@ -0,0 +1,76 @@ +%bcond_with x + +Name: gstreamer-vaapi +Version: 0.5.6 +Release: 0 +Summary: VA-API based plugins for GStreamer and helper libraries +Group: Multimedia/Multimedia Framework +License: LGPL-2.1+ and GPL-2.0+ +URL: http://gitorious.org/vaapi/gstreamer-vaapi +Source0: %{name}-%{version}.tar.bz2 +Source1001: gstreamer-vaapi.manifest +Source2001: codecparsers.tar.bz2 +Source2002: videoutils.tar.bz2 +%if %{with x} +BuildRequires: pkgconfig(x11) +%endif + +BuildRequires: pkgconfig(libva) +BuildRequires: pkgconfig(gstreamer-1.0) +BuildRequires: pkgconfig(gstreamer-basevideo-1.0) +BuildRequires: pkgconfig(gstreamer-plugins-base-1.0) +BuildRequires: pkgconfig(libdrm) +BuildRequires: which +BuildRequires: git +ExclusiveArch: %{ix86} x86_64 + +%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 devel +Summary: Development files for gstreamer-vaapi +Group: Development/Libraries +Requires: %{name} = %{version} +Requires: pkgconfig + +%description devel +The %{name}-devel package contains libraries and header files for +developing applications that use %{name}. + +%prep +%setup -q +%setup -q -T -D -a 2001 +%setup -q -T -D -a 2002 + + +%build +cp %{SOURCE1001} . + +%autogen --with-gstreamer-api=1.0 --enable-encoders +make %{?_smp_mflags} + +%install +%make_install + +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig + +%files +%manifest %{name}.manifest +%license COPYING.LIB +%{_libdir}/*.so.* +%{_libdir}/gstreamer-1.0/*.so + +%files devel +%manifest %{name}.manifest +%license COPYING.LIB +%dir %{_includedir}/gstreamer-1.0/gst/vaapi +%{_includedir}/gstreamer-1.0/gst/vaapi/*.h +%{_libdir}/*.so +%{_libdir}/pkgconfig/%{name}*.pc diff --git a/packaging/videoutils.tar.bz2 b/packaging/videoutils.tar.bz2 new file mode 100644 index 0000000..5bb0e13 Binary files /dev/null and b/packaging/videoutils.tar.bz2 differ