[meego-commits] 9548: New package devel:devices:n900/gst-plugins-camera-n900

Teemu Tuominen no_reply at build.meego.com
Wed Nov 17 13:09:40 UTC 2010


Hi,
Adding new package gst-plugins-camera-n900 in project devel:devices:n900. Please review and accept ASAP.

Justification for this new package:

This is preliminary packaging of gstreamer  camera source about to be used with N900. Currently this conflicts with gst_v4l2_camsrc project. Both projects are targetted to evolve towards generalization and the packaging is expected to change.

Currently this package is only for N900 and in conjunction with request 9461 and bug 9057, this does nothing more than enables raw viefinder through qt-mobility camera example. This is pre-release, from where the enabling process for camera features will start.  

Thank You,
Teemu Tuominen

[This message was auto-generated]

---

Request #9548:

  submit:   home:teemu.tuominen/gst-plugins-camera-n900(r1)(noupdate) -> devel:devices:n900/gst-plugins-camera-n900


Message:
    This is preliminary packaging of gstreamer  camera source about to be used with N900. Currently this conflicts with gst_v4l2_camsrc project. Both projects are targetted to evolve towards generalization and the packaging is expected to change.

Currently this package is only for N900 and in conjunction with request 9461 and bug 9057, this does nothing more than enables raw viefinder through qt-mobility camera example. This is pre-release, from where the enabling process for camera features will start.  

State:   new          2010-11-17T05:09:39 teemu.tuominen
Comment: None


This is a NEW package in devel:devices:n900 project.
The files in the new package:
gst-plugins-camera-n900/
  |__  0001-Build-option-changes-to-build-subdevsrc-without-OMAP.patch
  |__  0002-subdevsrc-data-pipelines.conf-for-RX-51.patch
  |__  0003-Meego-N900-kernel-headers-hack.patch
  |__  0004-check-for-gst-bad-free.patch
  |__  0005-comment-out-GST_TAG-dependencies.patch
  |__  0006-pkgconfig-prjname-changes.patch
  |__  gst-plugins-camera-n900-0.44.0.tar.bz2
  |__  gst-plugins-camera-n900.spec

The content of the spec file, gst-plugins-camera-n900.spec:
===================================================================
Name: gst-plugins-camera-n900
Version: 0.44.0
Release: 1%{?dist}
License: LGPLv2+
Summary: GStreamer elements for capturing video and hiqh-quality still images
Group: System/Libraries
URL: http://meego.gitorious.org/maemo-multimedia/gst-nokia-videosrc
Source0: %{name}-%{version}.tar.bz2
Patch0: 0001-Build-option-changes-to-build-subdevsrc-without-OMAP.patch
Patch1: 0002-subdevsrc-data-pipelines.conf-for-RX-51.patch
Patch2: 0003-Meego-N900-kernel-headers-hack.patch
Patch3: 0004-check-for-gst-bad-free.patch
Patch4: 0005-comment-out-GST_TAG-dependencies.patch
Patch5: 0006-pkgconfig-prjname-changes.patch
Requires(post): /sbin/ldconfig
Requires(postun): /sbin/ldconfig
BuildRoot: %{_tmppath}/%{name}-0.10.0-%{release}-root-%(%{_id_u} -n)
BuildRequires: pkgconfig(gtk-doc)
BuildRequires: pkgconfig(gstreamer-0.10)
BuildRequires: pkgconfig(gstreamer-plugins-base-0.10)
BuildRequires: gst-plugins-bad-free-devel
BuildRequires: kernel-n900-devel

%description
%{summary}.
(for Nokia N900 only)

%package devel
Summary:    Development files for gst-plugins-camera
Group:      Development/Libraries
Requires:   %{name} = %{version}-%{release}
Requires:   gst-plugins-bad-free-devel

%description devel
Separate sub-package for development based on gst-plugins-camera.
(for Nokia N900 only)

%prep
%setup -q

# 0001-Build-option-changes-to-build-subdevsrc-without-OMAP.patch
%patch0 -p1
# 0002-subdevsrc-data-pipelines.conf-for-RX-51.patch
%patch1 -p1
# 0003-Meego-N900-kernel-headers-hack.patch
%patch2 -p1
# 0004-check-for-gst-bad-free.patch
%patch3 -p1
# 0005-comment-out-GST_TAG-dependencies.patch
%patch4 -p1
# 0006-pkgconfig-prjname-changes.patch
%patch5 -p1

./autogen.sh --prefix=/usr --enable-subdevsrc-no-omap3cam \
	     --disable-maintainer-mode --disable-debug --disable-gtk-doc \
	     --disable-gtk-doc-html
%build	     
make

%install
rm -rf $RPM_BUILD_ROOT
make DESTDIR=$RPM_BUILD_ROOT install 

%clean
rm -rf $RPM_BUILD_ROOT

%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig

%files
%defattr(-,root,root)
%config %attr(644,root,root) /etc/camera/pipelines.conf  
%{_libdir}/libgstcamera-0.10.so.*
%{_libdir}/gstreamer-0.10/libgstsubdevcam.so
%exclude %{_libdir}/gstreamer-0.10/libgstv4l2newcam.so

%files devel
%defattr(-,root,root)
%{_includedir}/gstreamer-0.10/gst/*
%{_libdir}/pkgconfig/*.pc
%{_libdir}/libgstcamera-0.10.so

%exclude %{_libdir}/gstreamer-0.10/*.la
%exclude %{_libdir}/*.la
%exclude %{_libdir}/*.a
%exclude %{_datadir}/gstreamer0.10-nokia-videosrc-tests/*
#%exclude %{_datadir}/gtk-doc/*



===================================================================




More information about the MeeGo-commits mailing list