public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Johannes Huber" <johu@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/kde:master commit in: sys-auth/polkit-qt/
Date: Mon, 19 Mar 2018 20:52:53 +0000 (UTC)	[thread overview]
Message-ID: <1521492534.7ec7c7662f2a9ef8a529e6faab79bc7f84fd2922.johu@gentoo> (raw)

commit:     7ec7c7662f2a9ef8a529e6faab79bc7f84fd2922
Author:     Johannes Huber <johu <AT> gentoo <DOT> org>
AuthorDate: Mon Mar 19 20:48:41 2018 +0000
Commit:     Johannes Huber <johu <AT> gentoo <DOT> org>
CommitDate: Mon Mar 19 20:48:54 2018 +0000
URL:        https://gitweb.gentoo.org/proj/kde.git/commit/?id=7ec7c766

sys-auth/polkit-qt: Drop Qt4 support

Package-Manager: Portage-2.3.24, Repoman-2.3.6

 sys-auth/polkit-qt/polkit-qt-9999.ebuild | 62 ++++++++------------------------
 1 file changed, 14 insertions(+), 48 deletions(-)

diff --git a/sys-auth/polkit-qt/polkit-qt-9999.ebuild b/sys-auth/polkit-qt/polkit-qt-9999.ebuild
index 6ef6906e1a..bf58a5bc98 100644
--- a/sys-auth/polkit-qt/polkit-qt-9999.ebuild
+++ b/sys-auth/polkit-qt/polkit-qt-9999.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=6
 
-inherit cmake-utils multibuild git-r3
+inherit cmake-utils git-r3
 
 DESCRIPTION="PolicyKit Qt API wrapper library"
 HOMEPAGE="https://api.kde.org/kdesupport-api/polkit-qt-1-apidocs/"
@@ -12,62 +12,28 @@ EGIT_REPO_URI=( "https://anongit.kde.org/polkit-qt-1" )
 LICENSE="LGPL-2"
 SLOT="0"
 KEYWORDS=""
-IUSE="debug examples qt4 +qt5"
-
-REQUIRED_USE="|| ( qt4 qt5 )"
+IUSE="debug examples"
 
 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
-	qt4? (
-		dev-qt/qtcore:4[glib]
-		dev-qt/qtdbus:4
-		dev-qt/qtgui:4[glib]
-	)
-	qt5? (
-		dev-qt/qtcore:5
-		dev-qt/qtdbus:5
-		dev-qt/qtgui:5
-		dev-qt/qtwidgets:5
-		examples? ( dev-qt/qtxml:5 )
-	)
+	examples? ( dev-qt/qtxml:5 )
 "
 DEPEND="${RDEPEND}"
 
 DOCS=( AUTHORS README README.porting TODO )
 
-pkg_setup() {
-	MULTIBUILD_VARIANTS=( $(usev qt4) $(usev 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
-}
+	local mycmakeargs=(
+		-DSYSCONF_INSTALL_DIR="${EPREFIX}"/etc
+		-DBUILD_EXAMPLES=$(usex examples)
+		-DUSE_QT4=OFF
+		-DUSE_QT5=ON
+	)
 
-src_install() {
-	multibuild_foreach_variant cmake-utils_src_install
+	cmake-utils_src_configure
 }


             reply	other threads:[~2018-03-19 20:52 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-03-19 20:52 Johannes Huber [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-09-09 14:39 [gentoo-commits] proj/kde:master commit in: sys-auth/polkit-qt/ Andreas Sturmlechner
2022-10-11 16:21 Andreas Sturmlechner
2022-02-21 16:55 Andreas Sturmlechner
2022-02-21 16:55 Andreas Sturmlechner
2022-02-21 16:55 Andreas Sturmlechner
2022-02-21 16:01 Andreas Sturmlechner
2022-02-21 15:58 Andreas Sturmlechner
2020-05-23 22:00 Andreas Sturmlechner
2019-11-13 21:46 Andreas Sturmlechner
2019-10-16 23:04 Andreas Sturmlechner
2019-08-30  7:12 Andreas Sturmlechner
2018-10-13 12:11 Andreas Sturmlechner
2018-03-19 20:52 Johannes Huber
2017-11-11 18:39 Andreas Sturmlechner
2017-08-30 21:42 Andreas Sturmlechner
2016-07-06 13:15 Michael Palimaka
2016-03-22 12:03 Johannes Huber
2015-01-30 20:54 Johannes Huber
2014-07-30 23:45 Johannes Huber
2014-07-22 18:01 Johannes Huber
2014-07-22 13:30 Michael Palimaka
2014-07-22 13:28 Michael Palimaka
2014-07-09 12:21 Michael Palimaka
2014-05-15 11:55 Michael Palimaka
2013-10-13 17:03 Johannes Huber
2013-08-01  6:09 Michael Palimaka
2013-08-01  6:01 Michael Palimaka
2012-07-14 18:01 Michael Palimaka
2011-12-16 23:13 Johannes Huber

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1521492534.7ec7c7662f2a9ef8a529e6faab79bc7f84fd2922.johu@gentoo \
    --to=johu@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox