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 339BA1395E1 for ; Fri, 4 Nov 2016 10:14:08 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 86257E0BE5; Fri, 4 Nov 2016 10:14:06 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 6AAA3E0BE5 for ; Fri, 4 Nov 2016 10:14:06 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 2272434122A for ; Fri, 4 Nov 2016 10:14:05 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8848D24AA for ; Fri, 4 Nov 2016 10:14:03 +0000 (UTC) From: "Lars Wendler" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Lars Wendler" Message-ID: <1478254439.f0c1a279989eb84e4c9d43e8279aeddf0d0d3fdc.polynomial-c@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-sound/kid3/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-sound/kid3/kid3-3.4.3.ebuild X-VCS-Directories: media-sound/kid3/ X-VCS-Committer: polynomial-c X-VCS-Committer-Name: Lars Wendler X-VCS-Revision: f0c1a279989eb84e4c9d43e8279aeddf0d0d3fdc X-VCS-Branch: master Date: Fri, 4 Nov 2016 10:14:03 +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: 8e37c6c1-bef3-4041-b2de-dba11e1a93cb X-Archives-Hash: 450f853d1897d025fc1678f380703ee5 commit: f0c1a279989eb84e4c9d43e8279aeddf0d0d3fdc Author: Lars Wendler gentoo org> AuthorDate: Fri Nov 4 10:13:18 2016 +0000 Commit: Lars Wendler gentoo org> CommitDate: Fri Nov 4 10:13:59 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f0c1a279 media-sound/kid3: Re-added kde USE flag. Package-Manager: portage-2.3.2 Signed-off-by: Lars Wendler gentoo.org> media-sound/kid3/kid3-3.4.3.ebuild | 21 +++++++++++++++++---- 1 file changed, 17 insertions(+), 4 deletions(-) diff --git a/media-sound/kid3/kid3-3.4.3.ebuild b/media-sound/kid3/kid3-3.4.3.ebuild index cb3505f..1cabf44 100644 --- a/media-sound/kid3/kid3-3.4.3.ebuild +++ b/media-sound/kid3/kid3-3.4.3.ebuild @@ -14,11 +14,12 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" LICENSE="GPL-2+" SLOT="5" KEYWORDS="~amd64 ~x86" -IUSE="acoustid flac mp3 mp4 +taglib vorbis" +IUSE="acoustid flac kde mp3 mp4 +taglib vorbis" REQUIRED_USE="flac? ( vorbis )" DEPEND=" + $(add_qt_dep qtcore) $(add_qt_dep qtdbus) $(add_qt_dep qtdeclarative) $(add_qt_dep qtgui) @@ -35,6 +36,13 @@ DEPEND=" media-libs/flac[cxx] media-libs/libvorbis ) + kde? ( + $(add_frameworks_dep kconfig) + $(add_frameworks_dep kconfigwidgets) + $(add_frameworks_dep kcoreaddons) + $(add_frameworks_dep kwidgetsaddons) + $(add_frameworks_dep kxmlgui) + ) mp3? ( media-libs/id3lib ) mp4? ( media-libs/libmp4v2:0 ) taglib? ( >=media-libs/taglib-1.9.1 ) @@ -63,17 +71,22 @@ src_prepare() { src_configure() { local mycmakeargs=( - -DWITH_QT5=ON - -DWITH_QT4=OFF -DWITH_PHONON=OFF + -DWITH_QT4=OFF + -DWITH_QT5=ON -DWITH_CHROMAPRINT=$(usex acoustid) -DWITH_FLAC=$(usex flac) -DWITH_ID3LIB=$(usex mp3) -DWITH_MP4V2=$(usex mp4) -DWITH_TAGLIB=$(usex taglib) -DWITH_VORBIS=$(usex vorbis) - "-DWITH_APPS=Qt;CLI" ) + if use kde ; then + mycmakeargs+=( "-DWITH_APPS=KDE;CLI" ) + else + mycmakeargs+=( "-DWITH_APPS=Qt;CLI" ) + fi + kde5_src_configure }