From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 9D13F138335 for ; Wed, 5 Dec 2018 22:10:20 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id BD189E0924; Wed, 5 Dec 2018 22:10:19 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 7A4F2E0924 for ; Wed, 5 Dec 2018 22:10:19 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id DC116335CDD for ; Wed, 5 Dec 2018 22:10:08 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 2F10544B for ; Wed, 5 Dec 2018 22:10:07 +0000 (UTC) From: "Andreas Sturmlechner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Sturmlechner" Message-ID: <1544047787.49b1276bc605c503515ba54f9d25e4b355815bb1.asturm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-qt/qtpositioning/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-qt/qtpositioning/Manifest dev-qt/qtpositioning/qtpositioning-5.11.3.ebuild X-VCS-Directories: dev-qt/qtpositioning/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: 49b1276bc605c503515ba54f9d25e4b355815bb1 X-VCS-Branch: master Date: Wed, 5 Dec 2018 22:10:07 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: c37594dc-30c5-4f52-9981-d71eba3f102d X-Archives-Hash: c15e528fa5b47938ef5c52cf9538424c commit: 49b1276bc605c503515ba54f9d25e4b355815bb1 Author: Andreas Sturmlechner gentoo org> AuthorDate: Wed Dec 5 00:52:09 2018 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Wed Dec 5 22:09:47 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=49b1276b dev-qt/qtpositioning: Backport geoclue2 plugin to replace SLOT 0 Development of the plugin seems to be contained in the geoclue2 subdirectory only, which makes packing it into a tarball relatively simple. Upstream commits (in 5.12.0): f0472774b36c862f5fb6822f2d4d63a967d1eaec 4ef6b50278c041336f794cef20dd7e30fe8fbec0 Bug: https://bugs.gentoo.org/563588 Package-Manager: Portage-2.3.52, Repoman-2.3.12 Signed-off-by: Andreas Sturmlechner gentoo.org> dev-qt/qtpositioning/Manifest | 1 + dev-qt/qtpositioning/qtpositioning-5.11.3.ebuild | 10 ++++++++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/dev-qt/qtpositioning/Manifest b/dev-qt/qtpositioning/Manifest index f9b5f2855ab..35c414c0bd5 100644 --- a/dev-qt/qtpositioning/Manifest +++ b/dev-qt/qtpositioning/Manifest @@ -1,3 +1,4 @@ +DIST qtlocation-5.11.3-geoclue2.tar.xz 7556 BLAKE2B 2648b2e8aa8dadad467c7a3ea352014ca832021b12af0e11c563e328d4b6321df8d2784744437e9348feda1ed443c0e56882491b1811e734d43b036e6b5e7c16 SHA512 226ae607b4a0d55ed3207a19932ed685a44e688c6b27407d576fac73e29be478ac3d3b06d93a3bd594ee6443648a9c86b9746366e6765451080af4c1b2ee4264 DIST qtlocation-everywhere-src-5.11.1.tar.xz 5593144 BLAKE2B cd9fe409ecc3f3dde665f4bb77f93d515b88bce382655adcbfc9f60b7f7446abe800a91d612fa4b379efa9a783a4158ed34ff1ce11b3ea929e087062d0fa6f1a SHA512 8b89aae5bb7caa0999c20c86da1a356e5ba21e1e12ac892a695d180f21527846aa45f926828934b83147b851145477028ff1212802c1c21f8f6bb4e616b8b1fd DIST qtlocation-everywhere-src-5.11.2.tar.xz 5584420 BLAKE2B e7b0cd716edab33d19f1b9ef519a35ea8094ccc85ce015eb7f3e26c61f62bcc7ff9419dd79da5d8ebec9f3b0630cea7c125f237ed39b7ed1917a45408cf7dc51 SHA512 84a52aedac59f1bc4372538dc0810c742f87f04b2ee599e7ed3f8f0cfe0e13d652e80d3cf7de95395bbe1285a60cc15791760e17f0975cf8399527cdadbd7c1b DIST qtlocation-everywhere-src-5.11.3.tar.xz 5589440 BLAKE2B 544d90151fcbaf8a75d374e4acec9bbd78b63c2dee0258f1e08e18ffb94a86c91f63dd8c9215af96e3648d50a40fe6b66c105abec0ab6dd4473903a06f2d0253 SHA512 880cd6983bc0b4c5ac5a1edb2b3ffbe89f133bd819e4bea4fb8e91ba8d847ab80572743e3994145ee6697cb2fc24c393ac3c4ead847a022d848799eaa4982716 diff --git a/dev-qt/qtpositioning/qtpositioning-5.11.3.ebuild b/dev-qt/qtpositioning/qtpositioning-5.11.3.ebuild index 4e2637ef479..209467ba520 100644 --- a/dev-qt/qtpositioning/qtpositioning-5.11.3.ebuild +++ b/dev-qt/qtpositioning/qtpositioning-5.11.3.ebuild @@ -6,6 +6,7 @@ QT5_MODULE="qtlocation" inherit qt5-build DESCRIPTION="Physical position determination library for the Qt5 framework" +SRC_URI+=" https://dev.gentoo.org/~asturm/distfiles/${QT5_MODULE}-${PV}-geoclue2.tar.xz" if [[ ${QT5_BUILD_TYPE} == release ]]; then KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86" @@ -20,7 +21,7 @@ RDEPEND=" " DEPEND="${RDEPEND}" PDEPEND=" - geoclue? ( app-misc/geoclue:0 ) + geoclue? ( app-misc/geoclue:2.0 ) " QT5_TARGET_SUBDIRS=( @@ -32,9 +33,14 @@ QT5_TARGET_SUBDIRS=( ) pkg_setup() { - use geoclue && QT5_TARGET_SUBDIRS+=(src/plugins/position/geoclue) + use geoclue && QT5_TARGET_SUBDIRS+=( src/plugins/position/geoclue2 ) use qml && QT5_TARGET_SUBDIRS+=( src/positioningquick src/imports/positioning ) } + +src_prepare() { + sed -i -e "/qtHaveModule/s/geoclue/geoclue2/" src/plugins/position/position.pro || die + qt5-build_src_prepare +}