diff options
author | Ben de Groot <yngwin@gentoo.org> | 2013-03-02 15:25:04 +0000 |
---|---|---|
committer | Ben de Groot <yngwin@gentoo.org> | 2013-03-02 15:25:04 +0000 |
commit | f10a8c085b4862bd5fbc8648f9f017f688a846ca (patch) | |
tree | 4abbd6be1f7ac704369cf3ec2811c0706a07421c /dev-qt/qt-mobility | |
parent | Move to new dev-qt category (diff) | |
download | gentoo-2-f10a8c085b4862bd5fbc8648f9f017f688a846ca.tar.gz gentoo-2-f10a8c085b4862bd5fbc8648f9f017f688a846ca.tar.bz2 gentoo-2-f10a8c085b4862bd5fbc8648f9f017f688a846ca.zip |
Move to new dev-qt category
(Portage version: 2.2.0_alpha164/cvs/Linux x86_64, RepoMan options: --force, signed Manifest commit with key 0x2B2474AD43CE296E!)
Diffstat (limited to 'dev-qt/qt-mobility')
-rw-r--r-- | dev-qt/qt-mobility/ChangeLog | 59 | ||||
-rw-r--r-- | dev-qt/qt-mobility/metadata.xml | 30 | ||||
-rw-r--r-- | dev-qt/qt-mobility/qt-mobility-1.2.2_p20120403.ebuild | 165 | ||||
-rw-r--r-- | dev-qt/qt-mobility/qt-mobility-1.2.2_p20121205.ebuild | 165 |
4 files changed, 419 insertions, 0 deletions
diff --git a/dev-qt/qt-mobility/ChangeLog b/dev-qt/qt-mobility/ChangeLog new file mode 100644 index 000000000000..c633b02d4902 --- /dev/null +++ b/dev-qt/qt-mobility/ChangeLog @@ -0,0 +1,59 @@ +# ChangeLog for dev-qt/qt-mobility +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-qt/qt-mobility/ChangeLog,v 1.1 2013/03/02 15:25:04 yngwin Exp $ + +*qt-mobility-1.2.2_p20121205 (05 Dec 2012) + + 05 Dec 2012; Michael Palimaka <kensington@gentoo.org> + +qt-mobility-1.2.2_p20121205.ebuild: + New snapshot to fix bug #444986. + + 02 Dec 2012; Samuli Suominen <ssuominen@gentoo.org> + qt-mobility-1.2.2_p20120403.ebuild: + Use virtual/udev instead of sys-fs/udev wrt #444398 + + 09 Sep 2012; Davide Pesavento <pesa@gentoo.org> + qt-mobility-1.2.2_p20120403.ebuild: + Slot gst-plugins-bad dependency to :0.10 + + 12 Aug 2012; Davide Pesavento <pesa@gentoo.org> + qt-mobility-1.2.2_p20120403.ebuild: + Add missing dep on qt-gui for the contacts module, thanks to Patrick Lauer in + bug 429438. + + 12 Aug 2012; Davide Pesavento <pesa@gentoo.org> -qt-mobility-1.2.0.ebuild, + metadata.xml: + Remove old. + + 21 Jun 2012; Davide Pesavento <pesa@gentoo.org> + qt-mobility-1.2.2_p20120403.ebuild: + Enable contacts by default wrt bug 422825. + + 18 Jun 2012; Davide Pesavento <pesa@gentoo.org> metadata.xml: + Add <upstream> metadata tag. + + 02 May 2012; Davide Pesavento <pesa@gentoo.org> qt-mobility-1.2.0.ebuild, + qt-mobility-1.2.2_p20120403.ebuild: + Migrate to virtual/pkgconfig. + +*qt-mobility-1.2.2_p20120403 (04 Apr 2012) + + 04 Apr 2012; Davide Pesavento <pesa@gentoo.org> + +qt-mobility-1.2.2_p20120403.ebuild: + Bump to a more recent snapshot from git, since upstream has stopped doing + tarball releases. Fixes compilation against Qt 4.8 (bug 408305). Run 'emake + docs' to fix bug 405953. Various code cleanups. + + 04 Apr 2012; Davide Pesavento <pesa@gentoo.org> qt-mobility-1.2.0.ebuild: + Restrict qt deps to 4.7.x only, qt-mobility doesn't build against qt 4.8. + Restrict qmf dependency too. Drop false deps on udisks and upower, they're + used only on meego. + + 27 Mar 2012; Samuli Suominen <ssuominen@gentoo.org> qt-mobility-1.2.0.ebuild: + Pin to SLOT="0" of sys-fs/udisks. + +*qt-mobility-1.2.0 (10 Nov 2011) + + 10 Nov 2011; Davide Pesavento <pesa@gentoo.org> +qt-mobility-1.2.0.ebuild, + +metadata.xml: + Initial commit, imported from qting-edge overlay. diff --git a/dev-qt/qt-mobility/metadata.xml b/dev-qt/qt-mobility/metadata.xml new file mode 100644 index 000000000000..3ab50157272e --- /dev/null +++ b/dev-qt/qt-mobility/metadata.xml @@ -0,0 +1,30 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>qt</herd> +<use> + <flag name="bearer">Build the QtBearer module</flag> + <flag name="bluetooth">Enable Bluetooth support in QtConnectivity and QtSystemInfo modules</flag> + <flag name="connectivity">Build the QtConnectivity module</flag> + <flag name="contacts">Build the QtContacts module</flag> + <flag name="feedback">Build the QtFeedback module</flag> + <flag name="gallery">Build the QtGallery module</flag> + <flag name="location">Build the QtLocation module</flag> + <flag name="messaging">Build the QtMessaging module</flag> + <flag name="multimedia">Build the QtMultimediaKit module</flag> + <flag name="networkmanager">Enable NetworkManager support in QtBearer and QtSystemInfo modules</flag> + <flag name="organizer">Build the QtOrganizer module</flag> + <flag name="publishsubscribe">Build the QtPublishSubscribe module</flag> + <flag name="pulseaudio">Enable PulseAudio support in QtMultimediaKit module</flag> + <flag name="qml">Build QML bindings</flag> + <flag name="sensors">Build the QtSensors module</flag> + <flag name="serviceframework">Build the QtServiceFramework module</flag> + <flag name="systeminfo">Build the QtSystemInfo module</flag> + <flag name="tools">Build various useful tools (e.g.: qcrmlgen, servicexmlgen, vsexplorer, ...)</flag> + <flag name="versit">Build the QtVersit module</flag> +</use> +<upstream> + <bugs-to>https://bugreports.qt-project.org/</bugs-to> + <doc>http://doc.qt.nokia.com/qtmobility/index.html</doc> +</upstream> +</pkgmetadata> diff --git a/dev-qt/qt-mobility/qt-mobility-1.2.2_p20120403.ebuild b/dev-qt/qt-mobility/qt-mobility-1.2.2_p20120403.ebuild new file mode 100644 index 000000000000..7762a6891e01 --- /dev/null +++ b/dev-qt/qt-mobility/qt-mobility-1.2.2_p20120403.ebuild @@ -0,0 +1,165 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-qt/qt-mobility/qt-mobility-1.2.2_p20120403.ebuild,v 1.1 2013/03/02 15:25:04 yngwin Exp $ + +EAPI=4 + +inherit multilib qt4-r2 toolchain-funcs + +DESCRIPTION="Additional Qt APIs for mobile devices and desktop platforms" +HOMEPAGE="http://qt.nokia.com/products/qt-addons/mobility" +SRC_URI="http://dev.gentoo.org/~pesa/distfiles/${P}.tar.gz" +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +QT_MOBILITY_MODULES=(bearer connectivity +contacts feedback gallery + location messaging multimedia organizer publishsubscribe + sensors serviceframework systeminfo versit) +IUSE="bluetooth debug doc networkmanager pulseaudio qml +tools + ${QT_MOBILITY_MODULES[@]}" + +REQUIRED_USE=" + || ( ${QT_MOBILITY_MODULES[@]#[+-]} ) + versit? ( contacts ) +" + +RDEPEND=" + >=dev-qt/qtcore-4.7.0:4 + bearer? ( + networkmanager? ( + net-misc/networkmanager + >=dev-qt/qtdbus-4.7.0:4 + ) + ) + connectivity? ( + >=dev-qt/qtdbus-4.7.0:4 + bluetooth? ( net-wireless/bluez ) + ) + contacts? ( >=dev-qt/qtgui-4.7.0:4 ) + gallery? ( >=dev-qt/qtdbus-4.7.0:4 ) + location? ( + >=dev-qt/qtdeclarative-4.7.0:4 + >=dev-qt/qtgui-4.7.0:4 + >=dev-qt/qtsql-4.7.0:4[sqlite] + ) + messaging? ( >=net-libs/qmf-2.0_p201209 ) + multimedia? ( + media-libs/alsa-lib + media-libs/gstreamer:0.10 + media-libs/gst-plugins-bad:0.10 + media-libs/gst-plugins-base:0.10 + x11-libs/libX11 + x11-libs/libXext + x11-libs/libXv + >=dev-qt/qtgui-4.8.0-r4:4[xv] + >=dev-qt/qtopengl-4.8.0:4 + pulseaudio? ( media-sound/pulseaudio[alsa] ) + ) + publishsubscribe? ( + tools? ( >=dev-qt/qtgui-4.7.0:4 ) + ) + qml? ( >=dev-qt/qtdeclarative-4.7.0:4 ) + serviceframework? ( + >=dev-qt/qtdbus-4.7.0:4 + >=dev-qt/qtsql-4.7.0:4[sqlite] + tools? ( >=dev-qt/qtgui-4.7.0:4 ) + ) + systeminfo? ( + sys-apps/util-linux + virtual/udev + x11-libs/libX11 + x11-libs/libXrandr + >=dev-qt/qtdbus-4.7.0:4 + >=dev-qt/qtgui-4.7.0:4 + bluetooth? ( net-wireless/bluez ) + networkmanager? ( net-misc/networkmanager ) + ) + versit? ( >=dev-qt/qtgui-4.7.0:4 ) +" +DEPEND="${RDEPEND} + virtual/pkgconfig + multimedia? ( + sys-kernel/linux-headers + x11-proto/videoproto + ) + systeminfo? ( sys-kernel/linux-headers ) +" +PDEPEND=" + connectivity? ( + bluetooth? ( app-mobilephone/obexd ) + ) +" + +src_prepare() { + qt4-r2_src_prepare + + # disable building of code snippets in doc/ + # and translations (they aren't actually translated) + sed -i -re '/SUBDIRS \+= (doc|translations)/d' qtmobility.pro || die + + # fix automagic dependency on qt-declarative + if ! use qml; then + sed -i -e '/SUBDIRS += declarative/d' plugins/plugins.pro || die + fi +} + +src_configure() { + # figure out which modules to build + local modules= + for mod in "${QT_MOBILITY_MODULES[@]#[+-]}"; do + use ${mod} && modules+="${mod} " + done + + if use messaging; then + # tell qmake where QMF is installed + export QMF_INCLUDEDIR=$($(tc-getPKG_CONFIG) --variable includedir qmfclient) + export QMF_LIBDIR=$($(tc-getPKG_CONFIG) --variable libdir qmfclient) + fi + + # custom configure script + local myconf=( + ./configure + -prefix "${EPREFIX}/usr" + -headerdir "${EPREFIX}/usr/include/qt4" + -libdir "${EPREFIX}/usr/$(get_libdir)/qt4" + -plugindir "${EPREFIX}/usr/$(get_libdir)/qt4/plugins" + $(use debug && echo -debug || echo -release) + $(use doc || echo -no-docs) + $(use tools || echo -no-tools) + -modules "${modules}" + ) + echo "${myconf[@]}" + "${myconf[@]}" || die "configure failed" + + # fix automagic dependency on bluez + if ! use bluetooth; then + sed -i -e '/^bluez_enabled =/s:yes:no:' config.pri || die + fi + # fix automagic dependency on networkmanager + if ! use networkmanager; then + sed -i -e '/^networkmanager_enabled =/s:yes:no:' config.pri || die + fi + # fix automagic dependency on pulseaudio + if ! use pulseaudio; then + sed -i -e '/^pulseaudio_enabled =/s:yes:no:' config.pri || die + fi + + eqmake4 -recursive +} + +src_compile() { + qt4-r2_src_compile + + use doc && emake docs +} + +src_install() { + qt4-r2_src_install + + if use doc; then + dohtml -r doc/html/* + dodoc doc/qch/qtmobility.qch + docompress -x /usr/share/doc/${PF}/qtmobility.qch + fi +} diff --git a/dev-qt/qt-mobility/qt-mobility-1.2.2_p20121205.ebuild b/dev-qt/qt-mobility/qt-mobility-1.2.2_p20121205.ebuild new file mode 100644 index 000000000000..9951858d84de --- /dev/null +++ b/dev-qt/qt-mobility/qt-mobility-1.2.2_p20121205.ebuild @@ -0,0 +1,165 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-qt/qt-mobility/qt-mobility-1.2.2_p20121205.ebuild,v 1.1 2013/03/02 15:25:04 yngwin Exp $ + +EAPI=4 + +inherit multilib qt4-r2 toolchain-funcs + +DESCRIPTION="Additional Qt APIs for mobile devices and desktop platforms" +HOMEPAGE="http://qt.nokia.com/products/qt-addons/mobility" +SRC_URI="http://dev.gentoo.org/~kensington/distfiles/${P}.tar.gz" +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +QT_MOBILITY_MODULES=(bearer connectivity +contacts feedback gallery + location messaging multimedia organizer publishsubscribe + sensors serviceframework systeminfo versit) +IUSE="bluetooth debug doc networkmanager pulseaudio qml +tools + ${QT_MOBILITY_MODULES[@]}" + +REQUIRED_USE=" + || ( ${QT_MOBILITY_MODULES[@]#[+-]} ) + versit? ( contacts ) +" + +RDEPEND=" + >=dev-qt/qtcore-4.7.0:4 + bearer? ( + networkmanager? ( + net-misc/networkmanager + >=dev-qt/qtdbus-4.7.0:4 + ) + ) + connectivity? ( + >=dev-qt/qtdbus-4.7.0:4 + bluetooth? ( net-wireless/bluez ) + ) + contacts? ( >=dev-qt/qtgui-4.7.0:4 ) + gallery? ( >=dev-qt/qtdbus-4.7.0:4 ) + location? ( + >=dev-qt/qtdeclarative-4.7.0:4 + >=dev-qt/qtgui-4.7.0:4 + >=dev-qt/qtsql-4.7.0:4[sqlite] + ) + messaging? ( >=net-libs/qmf-2.0_p201209 ) + multimedia? ( + media-libs/alsa-lib + media-libs/gstreamer:0.10 + media-libs/gst-plugins-bad:0.10 + media-libs/gst-plugins-base:0.10 + x11-libs/libX11 + x11-libs/libXext + x11-libs/libXv + >=dev-qt/qtgui-4.8.0-r4:4[xv] + >=dev-qt/qtopengl-4.8.0:4 + pulseaudio? ( media-sound/pulseaudio[alsa] ) + ) + publishsubscribe? ( + tools? ( >=dev-qt/qtgui-4.7.0:4 ) + ) + qml? ( >=dev-qt/qtdeclarative-4.7.0:4 ) + serviceframework? ( + >=dev-qt/qtdbus-4.7.0:4 + >=dev-qt/qtsql-4.7.0:4[sqlite] + tools? ( >=dev-qt/qtgui-4.7.0:4 ) + ) + systeminfo? ( + sys-apps/util-linux + virtual/udev + x11-libs/libX11 + x11-libs/libXrandr + >=dev-qt/qtdbus-4.7.0:4 + >=dev-qt/qtgui-4.7.0:4 + bluetooth? ( net-wireless/bluez ) + networkmanager? ( net-misc/networkmanager ) + ) + versit? ( >=dev-qt/qtgui-4.7.0:4 ) +" +DEPEND="${RDEPEND} + virtual/pkgconfig + multimedia? ( + sys-kernel/linux-headers + x11-proto/videoproto + ) + systeminfo? ( sys-kernel/linux-headers ) +" +PDEPEND=" + connectivity? ( + bluetooth? ( app-mobilephone/obexd ) + ) +" + +src_prepare() { + qt4-r2_src_prepare + + # disable building of code snippets in doc/ + # and translations (they aren't actually translated) + sed -i -re '/SUBDIRS \+= (doc|translations)/d' qtmobility.pro || die + + # fix automagic dependency on qt-declarative + if ! use qml; then + sed -i -e '/SUBDIRS += declarative/d' plugins/plugins.pro || die + fi +} + +src_configure() { + # figure out which modules to build + local modules= + for mod in "${QT_MOBILITY_MODULES[@]#[+-]}"; do + use ${mod} && modules+="${mod} " + done + + if use messaging; then + # tell qmake where QMF is installed + export QMF_INCLUDEDIR=$($(tc-getPKG_CONFIG) --variable includedir qmfclient) + export QMF_LIBDIR=$($(tc-getPKG_CONFIG) --variable libdir qmfclient) + fi + + # custom configure script + local myconf=( + ./configure + -prefix "${EPREFIX}/usr" + -headerdir "${EPREFIX}/usr/include/qt4" + -libdir "${EPREFIX}/usr/$(get_libdir)/qt4" + -plugindir "${EPREFIX}/usr/$(get_libdir)/qt4/plugins" + $(use debug && echo -debug || echo -release) + $(use doc || echo -no-docs) + $(use tools || echo -no-tools) + -modules "${modules}" + ) + echo "${myconf[@]}" + "${myconf[@]}" || die "configure failed" + + # fix automagic dependency on bluez + if ! use bluetooth; then + sed -i -e '/^bluez_enabled =/s:yes:no:' config.pri || die + fi + # fix automagic dependency on networkmanager + if ! use networkmanager; then + sed -i -e '/^networkmanager_enabled =/s:yes:no:' config.pri || die + fi + # fix automagic dependency on pulseaudio + if ! use pulseaudio; then + sed -i -e '/^pulseaudio_enabled =/s:yes:no:' config.pri || die + fi + + eqmake4 -recursive +} + +src_compile() { + qt4-r2_src_compile + + use doc && emake docs +} + +src_install() { + qt4-r2_src_install + + if use doc; then + dohtml -r doc/html/* + dodoc doc/qch/qtmobility.qch + docompress -x /usr/share/doc/${PF}/qtmobility.qch + fi +} |