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: media-libs/liblastfm/
Date: Mon, 19 Mar 2018 20:58:58 +0000 (UTC)	[thread overview]
Message-ID: <1521493120.53aa22370d836b0c36c9a68f59ec8efb2ba9806a.johu@gentoo> (raw)

commit:     53aa22370d836b0c36c9a68f59ec8efb2ba9806a
Author:     Johannes Huber <johu <AT> gentoo <DOT> org>
AuthorDate: Mon Mar 19 20:58:40 2018 +0000
Commit:     Johannes Huber <johu <AT> gentoo <DOT> org>
CommitDate: Mon Mar 19 20:58:40 2018 +0000
URL:        https://gitweb.gentoo.org/proj/kde.git/commit/?id=53aa2237

media-libs/liblastfm: Drop Qt4 support

Package-Manager: Portage-2.3.24, Repoman-2.3.6

 media-libs/liblastfm/liblastfm-9999.ebuild | 68 +++++++-----------------------
 1 file changed, 16 insertions(+), 52 deletions(-)

diff --git a/media-libs/liblastfm/liblastfm-9999.ebuild b/media-libs/liblastfm/liblastfm-9999.ebuild
index 69cc347346..3c315d12c2 100644
--- a/media-libs/liblastfm/liblastfm-9999.ebuild
+++ b/media-libs/liblastfm/liblastfm-9999.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=6
 
-inherit cmake-utils multibuild git-r3
+inherit cmake-utils git-r3
 
 DESCRIPTION="Collection of libraries to integrate Last.fm services"
 HOMEPAGE="https://github.com/lastfm/liblastfm"
@@ -12,33 +12,21 @@ EGIT_REPO_URI=( "https://github.com/lastfm/${PN}" )
 LICENSE="GPL-3"
 KEYWORDS=""
 SLOT="0/0"
-IUSE="fingerprint qt4 +qt5 test"
-
-REQUIRED_USE="|| ( qt4 qt5 )"
+IUSE="fingerprint test"
 
 COMMON_DEPEND="
+	dev-qt/qtcore:5
+	dev-qt/qtdbus:5
+	dev-qt/qtnetwork:5[ssl]
+	dev-qt/qtxml:5
 	fingerprint? (
+		dev-qt/qtsql:5
 		media-libs/libsamplerate
 		sci-libs/fftw:3.0
-		qt4? ( dev-qt/qtsql:4 )
-		qt5? ( dev-qt/qtsql:5 )
-	)
-	qt4? (
-		dev-qt/qtcore:4[ssl]
-		dev-qt/qtdbus:4
-	)
-	qt5? (
-		dev-qt/qtcore:5
-		dev-qt/qtdbus:5
-		dev-qt/qtnetwork:5[ssl]
-		dev-qt/qtxml:5
 	)
 "
 DEPEND="${COMMON_DEPEND}
-	test? (
-		qt4? ( dev-qt/qttest:4 )
-		qt5? ( dev-qt/qttest:5 )
-	)
+	test? ( dev-qt/qttest:5 )
 "
 RDEPEND="${COMMON_DEPEND}
 	!<media-libs/lastfmlib-0.4.0
@@ -47,38 +35,14 @@ RDEPEND="${COMMON_DEPEND}
 # 1 of 2 (UrlBuilderTest) is failing, last checked version 1.0.9
 RESTRICT="test"
 
-pkg_setup() {
-	MULTIBUILD_VARIANTS=( $(usev qt4) $(usev qt5) )
-}
-
 src_configure() {
-	myconfigure() {
-		# demos not working
-		local mycmakeargs=(
-			-DBUILD_DEMOS=OFF
-			-DBUILD_FINGERPRINT=$(usex fingerprint)
-			-DBUILD_TESTS=$(usex test)
-		)
-		if [[ ${MULTIBUILD_VARIANT} = qt4 ]]; then
-			mycmakeargs+=(-DBUILD_WITH_QT4=ON)
-		fi
-		if [[ ${MULTIBUILD_VARIANT} = qt5 ]]; then
-			mycmakeargs+=(-DBUILD_WITH_QT4=OFF)
-		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
-}
+	# demos not working
+	local mycmakeargs=(
+		-DBUILD_DEMOS=OFF
+		-DBUILD_WITH_QT4=OFF
+		-DBUILD_FINGERPRINT=$(usex fingerprint)
+		-DBUILD_TESTS=$(usex test)
+	)
 
-src_install() {
-	multibuild_foreach_variant cmake-utils_src_install
+	cmake-utils_src_configure
 }


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

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-03-19 20:58 Johannes Huber [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-03-03 11:34 [gentoo-commits] proj/kde:master commit in: media-libs/liblastfm/ Andreas Sturmlechner
2022-09-14 14:49 Andreas Sturmlechner
2019-02-17 11:11 Andreas Sturmlechner
2018-12-12 14:05 Andreas Sturmlechner
2018-10-13 12:11 Andreas Sturmlechner
2018-03-22 18:45 Andreas Sturmlechner
2017-08-30 21:42 Andreas Sturmlechner
2016-07-06 13:45 Michael Palimaka
2016-05-03 11:17 Johannes Huber
2016-05-03 11:17 Johannes Huber
2016-02-23 14:15 Michael Palimaka
2015-01-30 20:54 Johannes Huber
2014-10-22 13:59 Michael Palimaka
2014-10-12 16:47 Michael Palimaka
2014-03-11 11:27 Johannes Huber
2013-10-13 17:03 Johannes Huber
2013-01-20 16:06 Michael Palimaka

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=1521493120.53aa22370d836b0c36c9a68f59ec8efb2ba9806a.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