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 8243C1396D0 for ; Fri, 1 Sep 2017 21:34:35 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CDA851FC005; Fri, 1 Sep 2017 21:34:32 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (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 AA1FD1FC005 for ; Fri, 1 Sep 2017 21:34:32 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 86AC133BE32 for ; Fri, 1 Sep 2017 21:34:31 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 599BD8A9F for ; Fri, 1 Sep 2017 21:34:29 +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: <1504301643.69fc96c2242e00c249a42df6a5db279b7f49a57e.asturm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-auth/polkit-qt/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-auth/polkit-qt/polkit-qt-0.112.0_p20160416-r1.ebuild X-VCS-Directories: sys-auth/polkit-qt/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: 69fc96c2242e00c249a42df6a5db279b7f49a57e X-VCS-Branch: master Date: Fri, 1 Sep 2017 21:34:29 +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-Archives-Salt: e878b2ac-6501-4f88-ad52-85c7a69b6330 X-Archives-Hash: f7ad5c03654096a4500a4f232520a9da commit: 69fc96c2242e00c249a42df6a5db279b7f49a57e Author: Andreas Sturmlechner gentoo org> AuthorDate: Thu Aug 31 22:28:47 2017 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Fri Sep 1 21:34:03 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=69fc96c2 sys-auth/polkit-qt: Drop USE=qt5, build it unconditionally Package-Manager: Portage-2.3.8, Repoman-2.3.3 .../polkit-qt-0.112.0_p20160416-r1.ebuild | 73 ++++++++++++++++++++++ 1 file changed, 73 insertions(+) diff --git a/sys-auth/polkit-qt/polkit-qt-0.112.0_p20160416-r1.ebuild b/sys-auth/polkit-qt/polkit-qt-0.112.0_p20160416-r1.ebuild new file mode 100644 index 00000000000..add07a53914 --- /dev/null +++ b/sys-auth/polkit-qt/polkit-qt-0.112.0_p20160416-r1.ebuild @@ -0,0 +1,73 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +MY_P="${P/qt/qt-1}" + +inherit cmake-utils multibuild + +DESCRIPTION="PolicyKit Qt API wrapper library" +HOMEPAGE="https://www.kde.org/" +SRC_URI="https://dev.gentoo.org/~kensington/distfiles/${MY_P}.tar.xz" + +LICENSE="LGPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~x86-fbsd" +IUSE="debug examples qt4" + +RDEPEND=" + dev-libs/glib:2 + dev-qt/qtcore:5 + dev-qt/qtdbus:5 + dev-qt/qtgui:5 + dev-qt/qtwidgets:5 + >=sys-auth/polkit-0.103 + examples? ( dev-qt/qtxml:5 ) + qt4? ( + dev-qt/qtcore:4[glib] + dev-qt/qtdbus:4 + dev-qt/qtgui:4[glib] + ) +" +DEPEND="${RDEPEND}" + +DOCS=( AUTHORS README README.porting TODO ) + +S=${WORKDIR}/${MY_P} + +pkg_setup() { + MULTIBUILD_VARIANTS=( $(usev qt4) qt5 ) +} + +src_configure() { + myconfigure() { + local mycmakeargs=( + -DSYSCONF_INSTALL_DIR="${EPREFIX}"/etc + -DBUILD_EXAMPLES=$(usex examples) + ) + + if [[ ${MULTIBUILD_VARIANT} = qt4 ]] ; then + mycmakeargs+=( -DUSE_QT4=ON ) + fi + if [[ ${MULTIBUILD_VARIANT} = qt5 ]] ; then + mycmakeargs+=( -DUSE_QT5=ON ) + fi + + cmake-utils_src_configure + } + + multibuild_foreach_variant myconfigure +} + +src_compile() { + multibuild_foreach_variant cmake-utils_src_compile +} + +src_test() { + multibuild_foreach_variant cmake-utils_src_test +} + +src_install() { + multibuild_foreach_variant cmake-utils_src_install +}