diff options
author | Davide Pesavento <pesa@gentoo.org> | 2014-05-23 13:57:23 +0000 |
---|---|---|
committer | Davide Pesavento <pesa@gentoo.org> | 2014-05-23 13:57:23 +0000 |
commit | 496f2f997541ad16257d9716fce426cfce8694cf (patch) | |
tree | 5a7968ab5dd8512bd33c71c2ab22536bcf2342ca /dev-qt | |
parent | Version bump. (diff) | |
download | gentoo-2-496f2f997541ad16257d9716fce426cfce8694cf.tar.gz gentoo-2-496f2f997541ad16257d9716fce426cfce8694cf.tar.bz2 gentoo-2-496f2f997541ad16257d9716fce426cfce8694cf.zip |
Remove USE=bearer, superseded by dev-qt/qtbearer. Switch to virtual/libudev. Drop obexd dependency wrt bug 509360.
(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 0xDADED6B2671CB57D!)
Diffstat (limited to 'dev-qt')
-rw-r--r-- | dev-qt/qt-mobility/ChangeLog | 9 | ||||
-rw-r--r-- | dev-qt/qt-mobility/qt-mobility-1.2.2_p20130703-r1.ebuild | 151 |
2 files changed, 159 insertions, 1 deletions
diff --git a/dev-qt/qt-mobility/ChangeLog b/dev-qt/qt-mobility/ChangeLog index 1c36a0fc6592..d1609d871d7b 100644 --- a/dev-qt/qt-mobility/ChangeLog +++ b/dev-qt/qt-mobility/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for dev-qt/qt-mobility # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-qt/qt-mobility/ChangeLog,v 1.6 2014/05/23 13:03:55 pesa Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-qt/qt-mobility/ChangeLog,v 1.7 2014/05/23 13:57:23 pesa Exp $ + +*qt-mobility-1.2.2_p20130703-r1 (23 May 2014) + + 23 May 2014; Davide Pesavento <pesa@gentoo.org> + +qt-mobility-1.2.2_p20130703-r1.ebuild: + Remove USE=bearer, superseded by dev-qt/qtbearer. Switch to virtual/libudev. + Drop obexd dependency wrt bug 509360. 23 May 2014; Davide Pesavento <pesa@gentoo.org> qt-mobility-1.2.2_p20130703.ebuild: diff --git a/dev-qt/qt-mobility/qt-mobility-1.2.2_p20130703-r1.ebuild b/dev-qt/qt-mobility/qt-mobility-1.2.2_p20130703-r1.ebuild new file mode 100644 index 000000000000..81156c25e38c --- /dev/null +++ b/dev-qt/qt-mobility/qt-mobility-1.2.2_p20130703-r1.ebuild @@ -0,0 +1,151 @@ +# Copyright 1999-2014 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_p20130703-r1.ebuild,v 1.1 2014/05/23 13:57:23 pesa Exp $ + +EAPI=5 + +inherit multilib qt4-r2 + +DESCRIPTION="Additional Qt APIs for mobile devices and desktop platforms" +HOMEPAGE="http://qt-project.org/wiki/Category:Developing_with_Qt::QtMobility" +SRC_URI="http://dev.gentoo.org/~pesa/distfiles/${P}.tar.xz" +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~arm ~x86" + +QT_MOBILITY_MODULES=(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.8.0:4 + connectivity? ( + >=dev-qt/qtdbus-4.8.0:4 + bluetooth? ( net-wireless/bluez ) + ) + contacts? ( >=dev-qt/qtgui-4.8.0:4 ) + gallery? ( >=dev-qt/qtdbus-4.8.0:4 ) + location? ( + >=dev-qt/qtdeclarative-4.8.0:4 + >=dev-qt/qtgui-4.8.0:4 + >=dev-qt/qtsql-4.8.0:4[sqlite] + ) + messaging? ( >=net-libs/qmf-4.0 ) + multimedia? ( + >=dev-qt/qtgui-4.8.0-r4:4[xv] + >=dev-qt/qtopengl-4.8.0:4 + 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 + pulseaudio? ( media-sound/pulseaudio[alsa] ) + ) + publishsubscribe? ( + tools? ( >=dev-qt/qtgui-4.8.0:4 ) + ) + qml? ( >=dev-qt/qtdeclarative-4.8.0:4 ) + serviceframework? ( + >=dev-qt/qtdbus-4.8.0:4 + >=dev-qt/qtsql-4.8.0:4[sqlite] + tools? ( >=dev-qt/qtgui-4.8.0:4 ) + ) + systeminfo? ( + >=dev-qt/qtdbus-4.8.0:4 + >=dev-qt/qtgui-4.8.0:4 + sys-apps/util-linux + virtual/libudev:= + x11-libs/libX11 + x11-libs/libXrandr + bluetooth? ( net-wireless/bluez ) + networkmanager? ( net-misc/networkmanager ) + ) + versit? ( >=dev-qt/qtgui-4.8.0:4 ) +" +DEPEND="${RDEPEND} + virtual/pkgconfig + doc? ( >=dev-qt/qthelp-4.8.0:4 ) + multimedia? ( + sys-kernel/linux-headers + x11-proto/videoproto + ) + systeminfo? ( sys-kernel/linux-headers ) +" + +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 + + # 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 +} |