From 56bd759df1d0c750a065b8c845e93d5dfa6b549d Mon Sep 17 00:00:00 2001 From: "Robin H. Johnson" Date: Sat, 8 Aug 2015 13:49:04 -0700 Subject: proj/gentoo: Initial commit MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 X-Thanks: Alec Warner - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring - wrote much python to improve cvs2svn X-Thanks: Rich Freeman - validation scripts X-Thanks: Patrick Lauer - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed --- dev-qt/qt-mobility/Manifest | 1 + dev-qt/qt-mobility/metadata.xml | 29 ++++ .../qt-mobility-1.2.2_p20130703-r1.ebuild | 151 +++++++++++++++++++++ 3 files changed, 181 insertions(+) create mode 100644 dev-qt/qt-mobility/Manifest create mode 100644 dev-qt/qt-mobility/metadata.xml create mode 100644 dev-qt/qt-mobility/qt-mobility-1.2.2_p20130703-r1.ebuild (limited to 'dev-qt/qt-mobility') 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 @@ + + + +qt + + Enable Bluetooth support in QtConnectivity and QtSystemInfo modules + Build the QtConnectivity module + Build the QtContacts module + Build the QtFeedback module + Build the QtGallery module + Build the QtLocation module + Build the QtMessaging module + Build the QtMultimediaKit module + Enable NetworkManager support in QtBearer and QtSystemInfo modules + Build the QtOrganizer module + Build the QtPublishSubscribe module + Enable PulseAudio support in QtMultimediaKit module + Build QML bindings + Build the QtSensors module + Build the QtServiceFramework module + Build the QtSystemInfo module + Build various useful tools (e.g.: qcrmlgen, servicexmlgen, vsexplorer, ...) + Build the QtVersit module + + + https://bugreports.qt.io/ + http://doc-snapshots.qt.io/qt-mobility/index.html + + 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 +} -- cgit v1.2.3-65-gdbad