diff options
author | 2015-08-08 13:49:04 -0700 | |
---|---|---|
committer | 2015-08-08 17:38:18 -0700 | |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /dev-qt/qt-mobility | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'dev-qt/qt-mobility')
-rw-r--r-- | dev-qt/qt-mobility/Manifest | 1 | ||||
-rw-r--r-- | dev-qt/qt-mobility/metadata.xml | 29 | ||||
-rw-r--r-- | dev-qt/qt-mobility/qt-mobility-1.2.2_p20130703-r1.ebuild | 151 |
3 files changed, 181 insertions, 0 deletions
diff --git a/dev-qt/qt-mobility/Manifest b/dev-qt/qt-mobility/Manifest new file mode 100644 index 000000000000..45455e7eab4a --- /dev/null +++ b/dev-qt/qt-mobility/Manifest @@ -0,0 +1 @@ +DIST qt-mobility-1.2.2_p20130703.tar.xz 16748672 SHA256 c4f1578a8384a520744ece9c19639600029d1fac2b55e0f110ec5700911aad44 SHA512 51e960dbcab3641906043c0e3dc6c44da2a66d11a15f5ec255776cef299d1403eeb0df55ee953567fdafd4c2a88a6514dcf1e2f8ba0af574c44e02e809f42287 WHIRLPOOL 4e7ee4039fbb4e8f8cfd7f720d232ddf79d61c3cd62ad5851e490c9284badf3431852eb56dfea18e3caf350e2e0ccd50f3244abc04bd68ffc6f6de67e644d3c4 diff --git a/dev-qt/qt-mobility/metadata.xml b/dev-qt/qt-mobility/metadata.xml new file mode 100644 index 000000000000..557271548b9f --- /dev/null +++ b/dev-qt/qt-mobility/metadata.xml @@ -0,0 +1,29 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>qt</herd> +<use> + <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.io/</bugs-to> + <doc>http://doc-snapshots.qt.io/qt-mobility/index.html</doc> +</upstream> +</pkgmetadata> 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..541be1f16714 --- /dev/null +++ b/dev-qt/qt-mobility/qt-mobility-1.2.2_p20130703-r1.ebuild @@ -0,0 +1,151 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit multilib qt4-r2 + +DESCRIPTION="Additional Qt APIs for mobile devices and desktop platforms" +HOMEPAGE="http://doc-snapshots.qt.io/qt-mobility/index.html" +SRC_URI="http://dev.gentoo.org/~pesa/distfiles/${P}.tar.xz" +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="amd64 ~arm ~ppc ~ppc64 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 + dodoc -r doc/html + dodoc doc/qch/qtmobility.qch + docompress -x /usr/share/doc/${PF}/qtmobility.qch + fi +} |