Initial copy of QtMultimediaKit.

Comes from original repo, with SHA1:
2c82d5611655e5967f5c5095af50c0991c4378b2
This commit is contained in:
Michael Goddard
2011-06-29 13:38:46 +10:00
commit 2a34e88c1e
1048 changed files with 206259 additions and 0 deletions

View File

@@ -0,0 +1,40 @@
PKG_NAME := qt-mobility
SPECFILE = $(addsuffix .spec, $(PKG_NAME))
YAMLFILE = $(addsuffix .yaml, $(PKG_NAME))
first: custom-help
include /usr/share/meego-packaging-tools/Makefile.common
custom-help: help
@echo "The above are common MeeGo packaging targets."
@echo "$(PKG_NAME) also has these additional targets:"
@echo " spec-git Create spec file, with options appropriate for git"
@echo " build-trunk-i686 Do a local i686 build against Trunk, without using OBS"
@echo " build-trunk-testing-i686 Do a local i686 build against Trunk:Testing, without using OBS"
spec-git:
specify --skip-scm --not-download --non-interactive
git-archive: spec-git
@VER=$$(sed -n -r -e 's|^Version: +||p' $(SPECFILE)); \
TARGZ=$$(sed -n -r \
-e 's|^Source0:.*/([^/]+)$$|\1|' \
-e 's|%\{name\}|$(PKG_NAME)|' \
-e "s|%\{version\}|$$VER|" \
-e 's|.tar.gz||p' \
$(SPECFILE) ); \
DIR="$$PWD"; \
cd $$(git rev-parse --git-dir) && \
echo "Creating $$DIR/$$TARGZ.tar.gz ..." && \
git archive HEAD --prefix=$$TARGZ/ --format=tar | gzip > "$$DIR/$$TARGZ.tar.gz"
build-no-obs = sudo build $(SPECFILE) --repository $1 --arch $2
build-no-obs-deps: /usr/bin/build git-archive
build-trunk-i686: build-no-obs-deps
$(call build-no-obs,http://download.meego.com/live/Trunk/standard/,i686)
build-trunk-testing-i686: build-no-obs-deps
$(call build-no-obs,http://download.meego.com/live/Trunk:/Testing/standard/,i686)

95
src/meegoinstalls/README Normal file
View File

@@ -0,0 +1,95 @@
This directory contains the MeeGo.com packaging metadata for Qt Mobility,
for use with the MeeGo.com OpenSuSE Build Service (OBS).
Please see http://build.meego.com/ for more information about OBS.
Quick Start: run `make' in this directory to see some useful things you
can do.
PATCHES
=======
At the time of writing, there are some MeeGo-specific patches hosted
on the MeeGo OBS. These patches are unable to be hosted in the Mobility
git repository at this time.
In order to successfully build Mobility for MeeGo, you must also obtain
these patches, or you must modify qt-mobility.yaml and qt-mobility.spec
to remove the usage of the patches.
Please do not add any more patches.
HOW TO MAKE CHANGES
===================
Within this directory, there is a yaml file and a spec file. The yaml
file is maintained by hand; the spec file is partially generated from the
yaml file, but partially maintained by hand also, in specially marked
sections.
The command used to generate the spec file from the yaml file is `specify'.
This is part of a tool named Spectacle. This can be installed from the
MeeGo tools repositories. It does not require a full MeeGo SDK install.
For example, on Ubuntu:
$ sudo /bin/sh -c 'echo deb http://repo.meego.com/MeeGo/tools/repos/ubuntu/10.04/ / > /etc/apt/sources.list.d/meego-tools.list'
$ gpg --keyserver pgpkeys.mit.edu --recv 0BC7BEC479FC1F8A && gpg --export --armor 0BC7BEC479FC1F8A | sudo apt-key add -
$ sudo apt-get update
$ sudo apt-get install meego-packaging-tools
Once you have installed meego-packaging-tools, you can run `make spec-git'
in this directory to regenerate the spec file from the yaml file.
The spec file and yaml file should be maintained together, so if you
modify the yaml file, you should do `make spec-git' and put the
modifications to the spec file in the same commit.
Please see http://wiki.meego.com/Spectacle for more information about
spectacle.
HOW TO BUILD
============
Note: these instructions are not canonical or supported in any way.
They are here as a quick start for people who want to contribute to
Qt Mobility and do not know how to compile for MeeGo.
The most accurate way to build is to use the OpenSuSE build service
on build.meego.com. Unfortunately, at time of writing, anonymous
access to this service is not available. Therefore, using build.meego.com
is not an option for most people.
However, a fairly accurate build can still be done using the `build' command
and referring to the live MeeGo repos.
Abbreviated example of how to install `build' for Ubuntu:
$ sudo /bin/sh -c 'echo deb http://repo.meego.com/MeeGo/tools/repos/ubuntu/10.04/ / > /etc/apt/sources.list.d/meego-tools.list'
$ gpg --keyserver pgpkeys.mit.edu --recv 0BC7BEC479FC1F8A && gpg --export --armor 0BC7BEC479FC1F8A | sudo apt-key add -
$ sudo apt-get update
$ sudo apt-get install build
$ gpg --keyserver pgpkeys.mit.edu --recv 79FC1F8A && gpg --export --armor 79FC1F8A | sudo rpm --import -
Then, to do the build (for i686):
$ make build-trunk-i686
Or, to use the Trunk:Testing repository (which may contain newer versions of some packages):
$ make build-trunk-testing-i686
These builds will take place in a chroot, and hence will require root access.
They will attempt to use `sudo' for this.
If you hit an error, `rpm: error while loading shared libraries: liblua-5.1.so',
edit /usr/lib/build/configs/default.conf and add liblua to one of the `Preinstall:' lines
(see http://comments.gmane.org/gmane.comp.handhelds.meego.devel/7139 )

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,353 @@
Name: qt-mobility
Summary: APIs for mobile device functionality
Version: 1.1.0+git2438
Release: 1
Group: System/Libraries
License: LGPLv2.1 with exception or GPLv3
URL: http://qt.gitorious.org/qt-mobility
Sources:
- http://get.qt.nokia.com/qt/add-ons/%{name}-opensource-src-%{version}.tar.gz
SourcePrefix: "%{name}-opensource-src-%{version}"
Patches:
Description: |
Qt Mobility delivers a set of new APIs for mobile device functionality. These
APIs allow the developer to use these features with ease from one framework and
apply them to phones, netbooks and non-mobile personal computers.
Requires:
- libqtconnectivity1 = %{version}
- libqtcontacts1 = %{version}
- libqtfeedback1 = %{version}
- libqtgallery1 = %{version}
- libqtlocation1 = %{version}
- libqtmessaging1 = %{version}
- libqtmultimediakit1 = %{version}
- libqtorganizer1 = %{version}
- libqtpublishsubscribe1 = %{version}
- libqtsensors1 = %{version}
- libqtserviceframework1 = %{version}
- libqtsysteminfo1 = %{version}
- libqtversit1 = %{version}
- libqtversitorganizer1 = %{version}
PkgConfigBR:
- QtGui
- QtOpenGL
- alsa
- blkid
- bluez
- connman
- contextsubscriber-1.0
- gconf-2.0
- geoclue
- gstreamer-plugins-bad-free-0.10
- gstreamer-plugins-base-0.10
- gypsy
- libiphb
- libpulse
- libmkcal
- meegotouch
- qttracker
- qmfclient
- sensord
- udev
- x11
- xext
- xrandr
- xrender
- xv
- QtSparql
- QtSparqlTrackerExtensions
PkgBR:
- qt-devel-tools
Configure: none
Builder: none
RunFdupes: "%{_datadir}/qtmobility/translations"
SubPackages:
- Name: devel
Summary: APIs for mobile device functionality - development files
Group: Development/Libraries
Description: |
Qt Mobility delivers a set of new APIs for mobile device functionality.
This package contains the development files needed to build Qt applications
using Qt Mobility libraries.
Requires:
- servicefw
- Name: libqtconnectivity1
AsWholeName: yes
Summary: Qt Mobility Connectivity module
Group: System/Libraries
Description: |
Qt Mobility delivers a set of new APIs for mobile device functionality.
This package contains the Connectivity API. It provides APIs for working with
local devices.
- Name: libqtcontacts1
AsWholeName: yes
Summary: Qt Mobility Contacts module
Group: System/Libraries
Description: |
Qt Mobility delivers a set of new APIs for mobile device functionality.
This package contains an API enabling clients to request contact data from
local or remote backends.
- Name: libqtfeedback1
AsWholeName: yes
Summary: Qt Mobility Feedback module
Group: System/Libraries
Description: |
Qt Mobility delivers a set of new APIs for mobile device functionality.
This package contains the Feedback API. It enables a client to control
the vibration of the device or the piezo feedback from the screen.
- Name: libqtgallery1
AsWholeName: yes
Summary: Qt Mobility Document Gallery module
Group: System/Libraries
Description: |
Qt Mobility delivers a set of new APIs for mobile device functionality.
This package contains an API for accessing collections of documents and media
and their meta-data.
- Name: libqtlocation1
AsWholeName: yes
Summary: Qt Mobility Location module
Group: System/Libraries
Description: |
Qt Mobility delivers a set of new APIs for mobile device functionality.
This package contains the Location API. It provides a library for distributing
and receiving location data using arbitrary data sources.
- Name: libqtmessaging1
AsWholeName: yes
Summary: Qt Mobility Messaging module
Group: System/Libraries
Description: |
Qt Mobility delivers a set of new APIs for mobile device functionality.
This package contains the Messaging API. It is a common interface for handling
SMS, MMS, MIME Email and TNEF Email messages.
- Name: libqtmultimediakit1
AsWholeName: yes
Summary: Qt Mobility MultimediaKit module
Group: System/Libraries
Description: |
Qt Mobility delivers a set of new APIs for mobile device functionality.
This package contains a set of APIs to play and record media, and manage a
collection of media content.
- Name: libqtorganizer1
AsWholeName: yes
Summary: Qt Mobility Organizer module
Group: System/Libraries
Description: |
Qt Mobility delivers a set of new APIs for mobile device functionality.
This package contains an API for management of calendar, scheduling and
personal data from local or remote backends. It includes the ability to create,
edit, list, delete and lookup organizer information whether it is stored
locally or remotely.
- Name: libqtpublishsubscribe1
AsWholeName: yes
Summary: Qt Mobility Publish and Subscribe module
Group: System/Libraries
Description: |
Qt Mobility delivers a set of new APIs for mobile device functionality.
This package contains the Publish and Subscribe API (containing Value Space).
It enables applications to read item values, navigate through and subscribe to
change notifications.
- Name: libqtsensors1
AsWholeName: yes
Summary: Qt Mobility Sensors module
Group: System/Libraries
Description: |
Qt Mobility delivers a set of new APIs for mobile device functionality.
This package contains the Sensors API. It provides access to sensors.
Requires:
- libqtsql4-sqlite
- sensorfw
- Name: libqtserviceframework1
AsWholeName: yes
Summary: Qt Mobility Service Framework module
Group: System/Libraries
Description: |
Qt Mobility delivers a set of new APIs for mobile device functionality.
This package contains a set of APIs to that allows clients to discover and
instantiate arbitrary services.
- Name: libqtsysteminfo1
AsWholeName: yes
Summary: Qt Mobility System Information module
Group: System/Libraries
Description: |
Qt Mobility delivers a set of new APIs for mobile device functionality.
This package contains a set of APIs to discover system related information and
capabilities.
- Name: libqtversit1
AsWholeName: yes
Summary: Qt Mobility Versit (vCard) module
Group: System/Libraries
Description: |
Qt Mobility delivers a set of new APIs for mobile device functionality.
This package contains an API to manage Versit documents, such as vCards.
- Name: libqtversitorganizer1
AsWholeName: yes
Summary: Qt Mobility Versit (Organizer) module
Group: System/Libraries
Description: |
Qt Mobility delivers a set of new APIs for mobile device functionality.
This package contains an API to manage Versit documents, such as iCalendar
documents. It interfaces the Organizer API and uses the same framework as for
vCards.
- Name: libdeclarative-contacts
AsWholeName: yes
Summary: Qt Mobility Contacts QML plugin
Group: System/Libraries
Description: |
Qt Mobility delivers a set of new APIs for mobile device functionality.
This package contains the Contacts QML plugin for QtDeclarative.
- Name: libdeclarative-feedback
AsWholeName: yes
Summary: Qt Mobility Feedback QML plugin
Group: System/Libraries
Description: |
Qt Mobility delivers a set of new APIs for mobile device functionality.
This package contains the Feedback QML plugin for QtDeclarative.
- Name: libdeclarative-gallery
AsWholeName: yes
Summary: Qt Mobility Document Gallery QML plugin
Group: System/Libraries
Description: |
Qt Mobility delivers a set of new APIs for mobile device functionality.
This package contains the Document Gallery QML plugin for QtDeclarative.
- Name: libdeclarative-location
AsWholeName: yes
Summary: Qt Mobility Location QML plugin
Group: System/Libraries
Description: |
Qt Mobility delivers a set of new APIs for mobile device functionality.
This package contains the Location QML plugin for QtDeclarative.
- Name: libdeclarative-messaging
AsWholeName: yes
Summary: Qt Mobility Messaging QML plugin
Group: System/Libraries
Description: |
Qt Mobility delivers a set of new APIs for mobile device functionality.
This package contains the Messaging QML plugin for QtDeclarative.
- Name: libdeclarative-multimedia
AsWholeName: yes
Summary: Qt Mobility Multimedia QML plugin
Group: System/Libraries
Description: |
Qt Mobility delivers a set of new APIs for mobile device functionality.
This package contains the Multimedia QML plugin for QtDeclarative.
- Name: libdeclarative-organizer
AsWholeName: yes
Summary: Qt Mobility Organizer QML plugin
Group: System/Libraries
Description: |
Qt Mobility delivers a set of new APIs for mobile device functionality.
This package contains the Organizer QML plugin for QtDeclarative.
- Name: libdeclarative-publishsubscribe
AsWholeName: yes
Summary: Qt Mobility Publish and Subscribe QML plugin
Group: System/Libraries
Description: |
Qt Mobility delivers a set of new APIs for mobile device functionality.
This package contains the Publish and Subscribe QML plugin for QtDeclarative.
- Name: libdeclarative-sensors
AsWholeName: yes
Summary: Qt Mobility Sensors Framework QML plugin
Group: System/Libraries
Description: |
Qt Mobility delivers a set of new APIs for mobile device functionality.
This package contains the Sensors QML plugin for QtDeclarative.
- Name: libdeclarative-serviceframework
AsWholeName: yes
Summary: Qt Mobility Service Framework QML plugin
Group: System/Libraries
Description: |
Qt Mobility delivers a set of new APIs for mobile device functionality.
This package contains the Service Framework QML plugin for QtDeclarative.
- Name: libdeclarative-systeminfo
AsWholeName: yes
Summary: Qt Mobility System Information QML plugin
Group: System/Libraries
Description: |
Qt Mobility delivers a set of new APIs for mobile device functionality.
This package contains the System Information QML plugin for QtDeclarative.
- Name: libdeclarative-connectivity
AsWholeName: yes
Summary: Qt Mobility Connectivity QML plugin
Group: System/Libraries
Description: |
Qt Mobility delivers a set of new APIs for mobile device functionality.
This package contains the Connectivity QML plugin for QtDeclarative.
- Name: servicefw
AsWholeName: yes
Summary: Qt Mobility Service Framework tool
Group: Development/Tools
Description: |
Qt Mobility delivers a set of new APIs for mobile device functionality.
This package contains the Service Framework tool (servicefw). It allows
to register services and make them available over the Service Framework.
- Name: examples
Summary: Qt Mobility examples
Group: System/X11
Description: |
Qt Mobility delivers a set of new APIs for mobile device functionality.
This package contains Qt Mobility examples.
- Name: l10n
Summary: APIs for mobile device functionality - localization files
Group: System/I18n
Description: |
Qt Mobility delivers a set of new APIs for mobile device functionality.
This package contains Qt Mobility translations.