[meego-commits] 6823: New package Trunk:Handset/meego-handset-video

zbt huan.zheng at intel.com
Thu Aug 19 01:48:28 UTC 2010


Hi,
Adding new package meego-handset-video in project Trunk:Handset. Please review and accept ASAP.

Justification for this new package:

submit meego-handset-video developed by ICS; remove all svg files copied from common theme; change package name from videoplayer2 to meego-handset-video

Thank You,
zbt

[This message was auto-generated]

---

Request #6823:

  submit:   devel:ux:handset/meego-handset-video(r2) -> Trunk:Handset/meego-handset-video


Message:
    submit meego-handset-video developed by ICS; remove all svg files copied from common theme; change package name from videoplayer2 to meego-handset-video

State:   new          2010-08-18T13:39:00 zbt
Comment: None


This is a NEW package in Trunk:Handset project.
The files in the new package:
meego-handset-video/
  |__  meego-handset-video-0.1.6.tar.bz2
  |__  meego-handset-video.changes
  |__  meego-handset-video.spec
  |__  meego-handset-video.yaml

The content of the YAML file, meego-handset-video.yaml:
===================================================================
Name: meego-handset-video
Summary: MeeGo Video Player
Version: 0.1.6
Release: 1
Group: Applications/Multimedia

License: Apache License, Version 2.0
URL: http://www.meego.com/
Description: |
    This is a video player for the MeeGo platform.    

Sources:
    - "%{name}-%{version}.tar.bz2"

Requires:
    - maemo-video-thumbnailer

PkgBR:
    - qt-mobility-devel
    - libqttracker-devel

PkgConfigBR:
    - QtCore >= 4.6.0
    - QtDBus
    - QtOpenGL
    - QtNetwork
    - QtGui
    - meegotouch
    - gstreamer-0.10
    - gstreamer-base-0.10
    - gstreamer-plugins-base-0.10
Configure: none
Builder: make
Files:
- "%{_bindir}/meegovideo"
- "%{_datadir}/applications/*.desktop"

SubPackages:
     - Name: branding-upstream
       Summary: MeeGo Video default theme files
       Description: Theme assets for the MeeGo Video
       Group: System/GUI/Other
       License: Restricted
       Provides:
           - meego-handset-video-branding
       Files:
           - "%{_datadir}/themes/base/meegotouch/meegovideo"


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


The content of the spec file, meego-handset-video.spec:
===================================================================
# 
# Do not Edit! Generated by:
# spectacle version 0.18
# 
# >> macros
# << macros

Name:       meego-handset-video
Summary:    MeeGo Video Player
Version:    0.1.6
Release:    1
Group:      Applications/Multimedia
License:    Apache License, Version 2.0
URL:        http://www.meego.com/
Source0:    %{name}-%{version}.tar.bz2
Source100:  meego-handset-video.yaml
Requires:   maemo-video-thumbnailer
BuildRequires:  pkgconfig(QtCore) >= 4.6.0
BuildRequires:  pkgconfig(QtDBus)
BuildRequires:  pkgconfig(QtOpenGL)
BuildRequires:  pkgconfig(QtNetwork)
BuildRequires:  pkgconfig(QtGui)
BuildRequires:  pkgconfig(meegotouch)
BuildRequires:  pkgconfig(gstreamer-0.10)
BuildRequires:  pkgconfig(gstreamer-base-0.10)
BuildRequires:  pkgconfig(gstreamer-plugins-base-0.10)
BuildRequires:  qt-mobility-devel
BuildRequires:  libqttracker-devel
BuildRequires:  desktop-file-utils


%description
This is a video player for the MeeGo platform.    



%package branding-upstream
Summary:    MeeGo Video default theme files
License:    Restricted
Group:      System/GUI/Other
Requires:   %{name} = %{version}-%{release}
Provides:   meego-handset-video-branding

%description branding-upstream
Theme assets for the MeeGo Video


%prep
%setup -q -n %{name}-%{version}

# >> setup
# << setup

%build
# >> build pre
export PATH=$PATH:/usr/lib/qt4/bin
unset LD_AS_NEEDED
qmake install_prefix=/usr
# << build pre


make %{?jobs:-j%jobs}

# >> build post
# << build post
%install
rm -rf %{buildroot}
# >> install pre
# << install pre
%make_install 

# >> install post
# << install post
desktop-file-install --delete-original       \
  --dir %{buildroot}%{_datadir}/applications             \
   %{buildroot}%{_datadir}/applications/*.desktop









%files
%defattr(-,root,root,-)
%{_bindir}/meegovideo
%{_datadir}/applications/*.desktop
# >> files
# << files


%files branding-upstream
%defattr(-,root,root,-)
%{_datadir}/themes/base/meegotouch/meegovideo
# >> files branding-upstream
# << files branding-upstream


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




More information about the MeeGo-commits mailing list