packaging: add packaging folder and update submodule pkgs
authorZhao, Halley <halley.zhao@intel.com>
Sun, 16 Feb 2014 19:07:14 +0000 (03:07 +0800)
committerPhilippe Coval <philippe.coval@open.eurogiciel.org>
Mon, 4 Aug 2014 09:01:41 +0000 (11:01 +0200)
Change-Id: Ic9c64afc8769df0d4166c2224e7a69d00fcb0f49

packaging/codecparsers.tar.bz2 [new file with mode: 0644]
packaging/gitmodules.sh [new file with mode: 0755]
packaging/gstreamer-vaapi.changes [new file with mode: 0644]
packaging/gstreamer-vaapi.manifest [new file with mode: 0644]
packaging/gstreamer-vaapi.spec [new file with mode: 0644]
packaging/videoutils.tar.bz2 [new file with mode: 0644]

diff --git a/packaging/codecparsers.tar.bz2 b/packaging/codecparsers.tar.bz2
new file mode 100644 (file)
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 (executable)
index 0000000..1de5a67
--- /dev/null
@@ -0,0 +1,25 @@
+#! /bin/sh
+# @author: Philippe Coval <mailto:philippe.coval@eurogiciel.com>
+# @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<<EOF
+# Please add "SourceN: $name.tar.bz2" and "%setup -q -T -D -a N" to "packaging/*.spec"
+EOF
+
+done
+
diff --git a/packaging/gstreamer-vaapi.changes b/packaging/gstreamer-vaapi.changes
new file mode 100644 (file)
index 0000000..c70765e
--- /dev/null
@@ -0,0 +1,25 @@
+* Thu Sep 12 2013 Zhao Halley <halley.zhao@intel.com> 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 <halley.zhao@intel.com> 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 <halley.zhao@intel.com> 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 <halley.zhao@intel.com> 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 <halley.zhao@intel.com> 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 (file)
index 0000000..017d22d
--- /dev/null
@@ -0,0 +1,5 @@
+<manifest>
+ <request>
+    <domain name="_"/>
+ </request>
+</manifest>
diff --git a/packaging/gstreamer-vaapi.spec b/packaging/gstreamer-vaapi.spec
new file mode 100644 (file)
index 0000000..8ac3ad5
--- /dev/null
@@ -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 (file)
index 0000000..5bb0e13
Binary files /dev/null and b/packaging/videoutils.tar.bz2 differ