commit:     81c055f8b7a1b0918ec50a4895f5c549d06ccbb5
Author:     Michael Palimaka <kensington <AT> gentoo <DOT> org>
AuthorDate: Thu Sep 18 11:36:49 2014 +0000
Commit:     Michael Palimaka <kensington <AT> gentoo <DOT> org>
CommitDate: Thu Sep 18 11:36:49 2014 +0000
URL:        http://sources.gentoo.org/gitweb/?p=proj/qt.git;a=commit;h=81c055f8

[dev-qt/qtlocation] Add release ebuilds.

Package-Manager: portage-2.2.10

---
 dev-qt/qtlocation/Manifest                      |  2 ++
 dev-qt/qtlocation/metadata.xml                  |  4 +++
 dev-qt/qtlocation/qtlocation-5.3.2.ebuild       | 40 ++++++++++++++++++++++++
 dev-qt/qtlocation/qtlocation-5.4.0_alpha.ebuild | 41 +++++++++++++++++++++++++
 dev-qt/qtlocation/qtlocation-5.4.9999.ebuild    | 41 +++++++++++++++++++++++++
 dev-qt/qtlocation/qtlocation-5.9999.ebuild      | 30 +++++++++++++-----
 6 files changed, 150 insertions(+), 8 deletions(-)

diff --git a/dev-qt/qtlocation/Manifest b/dev-qt/qtlocation/Manifest
new file mode 100644
index 0000000..5f3e883
--- /dev/null
+++ b/dev-qt/qtlocation/Manifest
@@ -0,0 +1,2 @@
+DIST qtlocation-opensource-src-5.3.2.tar.xz 3304556 SHA256 
37b4072b531c35389b3acbbbd7259ab6ce4106177b96d67bfe5d3236139814d7 SHA512 
b253d35955f6f9288fe1430000698dfeda23f1c15e972b66cf5f456bb20e513738cdc044c473023438f27e053a2b602cb47903ca4a1c7fb5ca42be2d24a1acbc
 WHIRLPOOL 
d83f68ebcf0082056b4b8fa1c5d0396a4788a849622d0e610287f5f743ae98e7841034e789f34025bf1f1dc20bd7047b2571f292dafa24066758e34d493016d0
+DIST qtlocation-opensource-src-5.4.0-alpha.tar.xz 3297476 SHA256 
5eff0876623068ae1f9913b8fcc9d674090635cffad9e8d0b4c7e9ceec690270 SHA512 
ab881e339bb777c2c31b35d33a30fb68ff6ad7aa72d76a4d3ec14b1b7951a4b0d5353e6653c6fbbe1033f60bad9aa201e7a4820bff3ee0ae5f1f6373e4e8ef73
 WHIRLPOOL 
b531474a56aaab5cdf124c1c8bf9ec439670281995b84d2b714cfff5c11b080d92c4dbb3a793c98499da0bdf24ebe7c2c0156c9118d43d8c6e905669607e2807

diff --git a/dev-qt/qtlocation/metadata.xml b/dev-qt/qtlocation/metadata.xml
index 9d5bff1..6f68672 100644
--- a/dev-qt/qtlocation/metadata.xml
+++ b/dev-qt/qtlocation/metadata.xml
@@ -2,6 +2,10 @@
 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
 <pkgmetadata>
        <herd>qt</herd>
+       <use>
+               <flag name="geoclue">Use enhanced location information from 
<pkg>app-misc/geoclue</pkg></flag>
+               <flag name="qml">Build QML bindings</flag>
+       </use>
        <upstream>
                <bugs-to>https://bugreports.qt-project.org/</bugs-to>
                <doc>http://qt-project.org/doc/</doc>

diff --git a/dev-qt/qtlocation/qtlocation-5.3.2.ebuild 
b/dev-qt/qtlocation/qtlocation-5.3.2.ebuild
new file mode 100644
index 0000000..ce64158
--- /dev/null
+++ b/dev-qt/qtlocation/qtlocation-5.3.2.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+
+inherit qt5-build
+
+DESCRIPTION="SVG rendering library for the Qt5 framework"
+
+if [[ ${QT5_BUILD_TYPE} == live ]]; then
+       KEYWORDS=""
+else
+       KEYWORDS="~amd64 ~x86"
+fi
+
+# FIXME: src/3rdparty/poly2tri doesn't respect CXX and CXXFLAGS
+# TODO: plugins (geoclue-satellite, gypsy)
+IUSE="geoclue qml"
+
+RDEPEND="
+       >=dev-qt/qtcore-${PV}:5[debug=]
+       geoclue? (
+               app-misc/geoclue:0
+               dev-libs/glib:2
+       )
+       qml? (
+               >=dev-qt/qtdeclarative-${PV}:5[debug=]
+               >=dev-qt/qtnetwork-${PV}:5[debug=]
+       )
+"
+DEPEND="${RDEPEND}"
+
+src_prepare() {
+       qt_use_compile_test geoclue
+       qt_use_disable_mod qml quick \
+               src/src.pro
+
+       qt5-build_src_prepare
+}

diff --git a/dev-qt/qtlocation/qtlocation-5.4.0_alpha.ebuild 
b/dev-qt/qtlocation/qtlocation-5.4.0_alpha.ebuild
new file mode 100644
index 0000000..afa2d7b
--- /dev/null
+++ b/dev-qt/qtlocation/qtlocation-5.4.0_alpha.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+
+inherit qt5-build
+
+DESCRIPTION="SVG rendering library for the Qt5 framework"
+
+if [[ ${QT5_BUILD_TYPE} == live ]]; then
+       KEYWORDS=""
+else
+       KEYWORDS="~amd64 ~x86"
+fi
+
+# FIXME: src/3rdparty/poly2tri doesn't respect CXX and CXXFLAGS
+# TODO: plugins (geoclue-satellite, gypsy)
+IUSE="geoclue qml"
+
+RDEPEND="
+       >=dev-qt/qtcore-${PV}:5[debug=]
+       geoclue? (
+               app-misc/geoclue:0
+               dev-libs/glib:2
+       )
+       qml? (
+               >=dev-qt/qtdeclarative-${PV}:5[debug=]
+               >=dev-qt/qtgui-${PV}:5[debug=]
+               >=dev-qt/qtnetwork-${PV}:5[debug=]
+       )
+"
+DEPEND="${RDEPEND}"
+
+src_prepare() {
+       qt_use_compile_test geoclue
+       qt_use_disable_mod qml quick \
+               src/src.pro
+
+       qt5-build_src_prepare
+}

diff --git a/dev-qt/qtlocation/qtlocation-5.4.9999.ebuild 
b/dev-qt/qtlocation/qtlocation-5.4.9999.ebuild
new file mode 100644
index 0000000..afa2d7b
--- /dev/null
+++ b/dev-qt/qtlocation/qtlocation-5.4.9999.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+
+inherit qt5-build
+
+DESCRIPTION="SVG rendering library for the Qt5 framework"
+
+if [[ ${QT5_BUILD_TYPE} == live ]]; then
+       KEYWORDS=""
+else
+       KEYWORDS="~amd64 ~x86"
+fi
+
+# FIXME: src/3rdparty/poly2tri doesn't respect CXX and CXXFLAGS
+# TODO: plugins (geoclue-satellite, gypsy)
+IUSE="geoclue qml"
+
+RDEPEND="
+       >=dev-qt/qtcore-${PV}:5[debug=]
+       geoclue? (
+               app-misc/geoclue:0
+               dev-libs/glib:2
+       )
+       qml? (
+               >=dev-qt/qtdeclarative-${PV}:5[debug=]
+               >=dev-qt/qtgui-${PV}:5[debug=]
+               >=dev-qt/qtnetwork-${PV}:5[debug=]
+       )
+"
+DEPEND="${RDEPEND}"
+
+src_prepare() {
+       qt_use_compile_test geoclue
+       qt_use_disable_mod qml quick \
+               src/src.pro
+
+       qt5-build_src_prepare
+}

diff --git a/dev-qt/qtlocation/qtlocation-5.9999.ebuild 
b/dev-qt/qtlocation/qtlocation-5.9999.ebuild
index ec723e4..afa2d7b 100644
--- a/dev-qt/qtlocation/qtlocation-5.9999.ebuild
+++ b/dev-qt/qtlocation/qtlocation-5.9999.ebuild
@@ -6,7 +6,7 @@ EAPI=5
 
 inherit qt5-build
 
-DESCRIPTION="Physical position determination library for the Qt5 framework"
+DESCRIPTION="SVG rendering library for the Qt5 framework"
 
 if [[ ${QT5_BUILD_TYPE} == live ]]; then
        KEYWORDS=""
@@ -15,13 +15,27 @@ else
 fi
 
 # FIXME: src/3rdparty/poly2tri doesn't respect CXX and CXXFLAGS
-# TODO: plugins (qtjsondb, geoclue, gypsy), qml
-IUSE=""
+# TODO: plugins (geoclue-satellite, gypsy)
+IUSE="geoclue qml"
 
-DEPEND="
-       >=dev-qt/qt3d-${PV}:5[debug=]
+RDEPEND="
        >=dev-qt/qtcore-${PV}:5[debug=]
-       >=dev-qt/qtgui-${PV}:5[debug=]
-       >=dev-qt/qtnetwork-${PV}:5[debug=]
+       geoclue? (
+               app-misc/geoclue:0
+               dev-libs/glib:2
+       )
+       qml? (
+               >=dev-qt/qtdeclarative-${PV}:5[debug=]
+               >=dev-qt/qtgui-${PV}:5[debug=]
+               >=dev-qt/qtnetwork-${PV}:5[debug=]
+       )
 "
-RDEPEND="${DEPEND}"
+DEPEND="${RDEPEND}"
+
+src_prepare() {
+       qt_use_compile_test geoclue
+       qt_use_disable_mod qml quick \
+               src/src.pro
+
+       qt5-build_src_prepare
+}

Reply via email to