public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Andreas Sturmlechner" <asturm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-sound/kid3/
Date: Sun, 24 Mar 2019 16:49:14 +0000 (UTC)	[thread overview]
Message-ID: <1553446142.4004703ae7c93e235d66b10574586efa37409436.asturm@gentoo> (raw)

commit:     4004703ae7c93e235d66b10574586efa37409436
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sun Mar 24 16:44:43 2019 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sun Mar 24 16:49:02 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4004703a

media-sound/kid3: Switch from kde5.eclass to cmake-utils,xdg

Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 media-sound/kid3/kid3-3.7.1.ebuild | 51 ++++++++++++++++----------------------
 1 file changed, 22 insertions(+), 29 deletions(-)

diff --git a/media-sound/kid3/kid3-3.7.1.ebuild b/media-sound/kid3/kid3-3.7.1.ebuild
index 6ae8aae4340..0ae648d6fa2 100644
--- a/media-sound/kid3/kid3-3.7.1.ebuild
+++ b/media-sound/kid3/kid3-3.7.1.ebuild
@@ -3,9 +3,7 @@
 
 EAPI=7
 
-ECM_KDEINSTALLDIRS="false"
-KDE_HANDBOOK="false" # buildsystem applies broken python hacks, bug #614950
-inherit kde5
+inherit cmake-utils xdg
 
 DESCRIPTION="Simple tag editor based on Qt"
 HOMEPAGE="https://kid3.sourceforge.io/"
@@ -18,14 +16,18 @@ IUSE="acoustid flac kde mp3 mp4 +taglib vorbis"
 
 REQUIRED_USE="flac? ( vorbis )"
 
-COMMON_DEPEND="
-	$(add_qt_dep qtdbus)
-	$(add_qt_dep qtdeclarative)
-	$(add_qt_dep qtgui)
-	$(add_qt_dep qtmultimedia)
-	$(add_qt_dep qtnetwork)
-	$(add_qt_dep qtwidgets)
-	$(add_qt_dep qtxml)
+BDEPEND="
+	dev-qt/linguist-tools:5
+"
+DEPEND="
+	dev-qt/qtcore:5
+	dev-qt/qtdbus:5
+	dev-qt/qtdeclarative:5
+	dev-qt/qtgui:5
+	dev-qt/qtmultimedia:5
+	dev-qt/qtnetwork:5
+	dev-qt/qtwidgets:5
+	dev-qt/qtxml:5
 	sys-libs/readline:0=
 	acoustid? (
 		media-libs/chromaprint
@@ -36,11 +38,11 @@ COMMON_DEPEND="
 		media-libs/libvorbis
 	)
 	kde? (
-		$(add_frameworks_dep kconfig)
-		$(add_frameworks_dep kconfigwidgets)
-		$(add_frameworks_dep kcoreaddons)
-		$(add_frameworks_dep kwidgetsaddons)
-		$(add_frameworks_dep kxmlgui)
+		kde-frameworks/kconfig:5
+		kde-frameworks/kconfigwidgets:5
+		kde-frameworks/kcoreaddons:5
+		kde-frameworks/kwidgetsaddons:5
+		kde-frameworks/kxmlgui:5
 	)
 	mp3? ( media-libs/id3lib )
 	mp4? ( media-libs/libmp4v2:0 )
@@ -50,24 +52,15 @@ COMMON_DEPEND="
 		media-libs/libvorbis
 	)
 "
-RDEPEND="${COMMON_DEPEND}
+RDEPEND="${DEPEND}
 	!media-sound/kid3:4
 "
-DEPEND="${COMMON_DEPEND}"
-BDEPEND="
-	$(add_qt_dep linguist-tools)
-"
 
 src_prepare() {
 	# overengineered upstream build system
-	# kde5 eclass src_prepare leads to compile failure
-
-	# only enable handbook when required
-	if ! use_if_iuse handbook ; then
-		cmake_comment_add_subdirectory ${KDE_DOC_DIR}
-	fi
-
 	cmake-utils_src_prepare
+	# applies broken python hacks, bug #614950
+	cmake_comment_add_subdirectory doc
 }
 
 src_configure() {
@@ -86,5 +79,5 @@ src_configure() {
 		mycmakeargs+=( "-DWITH_APPS=Qt;CLI" )
 	fi
 
-	kde5_src_configure
+	cmake-utils_src_configure
 }


             reply	other threads:[~2019-03-24 16:49 UTC|newest]

Thread overview: 100+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-03-24 16:49 Andreas Sturmlechner [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-04-22 17:07 [gentoo-commits] repo/gentoo:master commit in: media-sound/kid3/ Andreas Sturmlechner
2024-04-20 14:52 Arthur Zamarin
2024-04-20 14:52 Arthur Zamarin
2024-03-11  9:25 Miroslav Šulc
2023-08-03 17:11 Andreas Sturmlechner
2023-07-31 16:08 Andreas Sturmlechner
2023-07-11 19:21 Andreas Sturmlechner
2023-02-25 18:05 Arthur Zamarin
2023-02-25 14:46 Arthur Zamarin
2023-01-12 20:42 Andreas Sturmlechner
2022-09-10  9:17 Andreas Sturmlechner
2022-09-10  8:41 Sam James
2022-09-10  0:48 Sam James
2022-09-10  0:48 Sam James
2022-08-08 12:08 Andreas Sturmlechner
2022-01-22 12:20 Andreas Sturmlechner
2022-01-22  9:48 Agostino Sarubbo
2022-01-21 13:27 Jakov Smolić
2022-01-18 16:31 Andreas Sturmlechner
2022-01-17 10:47 Andreas Sturmlechner
2021-12-18 16:54 Andreas Sturmlechner
2021-07-22  7:21 Miroslav Šulc
2021-07-22  7:10 Agostino Sarubbo
2021-07-22  7:09 Agostino Sarubbo
2021-06-20 20:02 Andreas Sturmlechner
2021-04-26 10:34 Sam James
2021-04-25 10:02 Sam James
2021-04-07  8:36 Andreas Sturmlechner
2021-04-06  6:31 Agostino Sarubbo
2021-04-05 22:54 Thomas Deutschmann
2021-03-25 23:13 Andreas Sturmlechner
2021-01-31 16:07 Andreas Sturmlechner
2020-11-04  8:21 Miroslav Šulc
2020-11-04  0:52 Sam James
2020-10-27 22:00 Thomas Deutschmann
2020-09-26 10:33 Andreas Sturmlechner
2020-07-18  8:41 Andreas Sturmlechner
2020-07-17 15:17 Agostino Sarubbo
2020-07-17 15:05 Agostino Sarubbo
2020-05-10 11:31 Andreas Sturmlechner
2020-04-26 10:35 David Seifert
2020-03-02 13:05 Andreas Sturmlechner
2020-03-02 12:32 Agostino Sarubbo
2020-03-01 22:02 Andreas Sturmlechner
2020-03-01 21:44 Agostino Sarubbo
2020-01-28 15:11 Andreas Sturmlechner
2019-12-29 11:54 Andreas Sturmlechner
2019-12-26 13:39 Andreas Sturmlechner
2019-08-30  8:24 Lars Wendler
2019-07-16 21:04 Andreas Sturmlechner
2019-05-19 17:54 Andreas Sturmlechner
2019-05-19 17:54 Andreas Sturmlechner
2019-05-19 15:48 Thomas Deutschmann
2019-03-20 15:03 Lars Wendler
2019-02-22 10:24 Mikle Kolyada
2019-02-17  8:11 Andreas Sturmlechner
2019-02-15  1:37 Thomas Deutschmann
2018-12-26  0:04 Lars Wendler
2018-09-03 12:11 Lars Wendler
2018-08-18 17:40 Andreas Sturmlechner
2018-07-14  8:44 Andreas Sturmlechner
2018-07-09 16:27 Johannes Huber
2018-07-09 16:27 Johannes Huber
2018-07-09 15:03 Mikle Kolyada
2018-07-06 13:43 Thomas Deutschmann
2018-04-26 11:35 Lars Wendler
2018-03-20  9:07 Lars Wendler
2018-01-25 14:41 Michael Palimaka
2018-01-25 14:41 Michael Palimaka
2017-11-06 15:29 Lars Wendler
2017-11-06 15:29 Lars Wendler
2017-08-18 15:29 Michael Palimaka
2017-08-18 15:29 Michael Palimaka
2017-06-18 10:17 Johannes Huber
2017-06-04 10:53 Andreas Sturmlechner
2017-06-04 10:42 Agostino Sarubbo
2017-06-04 10:34 Agostino Sarubbo
2017-06-03 18:20 Andreas Sturmlechner
2017-03-04 13:49 Johannes Huber
2017-03-04 13:49 Johannes Huber
2017-03-04 13:46 Agostino Sarubbo
2017-03-04 13:38 Agostino Sarubbo
2017-02-21 17:37 Johannes Huber
2017-02-21 17:37 Johannes Huber
2016-12-29 11:55 Michael Palimaka
2016-12-25 15:04 Lars Wendler
2016-11-04 10:14 Lars Wendler
2016-11-04 10:14 Lars Wendler
2016-11-04 10:14 Lars Wendler
2016-09-19 13:17 Lars Wendler
2016-09-03  0:08 Lars Wendler
2016-09-03  0:08 Lars Wendler
2016-07-13 20:24 Lars Wendler
2016-06-08 20:31 Michael Palimaka
2016-05-13 14:51 Agostino Sarubbo
2016-04-26 11:38 Lars Wendler
2016-03-23 14:47 Lars Wendler
2016-03-06 12:58 Agostino Sarubbo
2016-01-19 14:10 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=1553446142.4004703ae7c93e235d66b10574586efa37409436.asturm@gentoo \
    --to=asturm@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