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: Mon,  8 Aug 2022 12:08:40 +0000 (UTC)	[thread overview]
Message-ID: <1659960469.cca93ac8b6ba77a484acabca72b5fba6dc0341f8.asturm@gentoo> (raw)

commit:     cca93ac8b6ba77a484acabca72b5fba6dc0341f8
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Mon Aug  8 11:33:14 2022 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Mon Aug  8 12:07:49 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cca93ac8

media-sound/kid3: add 3.9.2

Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 media-sound/kid3/Manifest          |   1 +
 media-sound/kid3/kid3-3.9.2.ebuild | 100 +++++++++++++++++++++++++++++++++++++
 2 files changed, 101 insertions(+)

diff --git a/media-sound/kid3/Manifest b/media-sound/kid3/Manifest
index 817b4f59d871..5ac84b27b105 100644
--- a/media-sound/kid3/Manifest
+++ b/media-sound/kid3/Manifest
@@ -1 +1,2 @@
 DIST kid3-3.9.1.tar.xz 1796320 BLAKE2B 3404c6016a7d5195cc2e9826ef8daf452f5419566ffa9b50b20dd21072c0e34159e39bb8eeec08b7e12fe7f14df96517e929163ae4c14e28509cc51a0e96de08 SHA512 865fc2abfffd9533347ecfee037dfa15c6cedfc33ed0378b6d8dfef3436c6ec78c2100a317edf0882b16d345ea14b564cfb4055f74317634b4863ec477a80669
+DIST kid3-3.9.2.tar.xz 1952344 BLAKE2B 5a44a05f614f97dc7ddab39694a1773e1e6c55af7a9dc4ac7b793a520e54a8892c2181903a58f150885b3b4e17ebf921db719863f7ac4fd540f711a444990df3 SHA512 fc0b9db33ea948a2345968ab5da65f959bea829130f4250604d68df778218173d49f92b015d9be4e43f57ba5ae3388b0e97f558774df590b5959aa6f6293acd3

diff --git a/media-sound/kid3/kid3-3.9.2.ebuild b/media-sound/kid3/kid3-3.9.2.ebuild
new file mode 100644
index 000000000000..5e27fe36edd5
--- /dev/null
+++ b/media-sound/kid3/kid3-3.9.2.ebuild
@@ -0,0 +1,100 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..11} )
+inherit cmake kde.org python-any-r1 xdg
+
+DESCRIPTION="Simple tag editor based on Qt"
+HOMEPAGE="https://kid3.kde.org/"
+
+if [[ ${KDE_BUILD_TYPE} != live ]]; then
+	SRC_URI="mirror://kde/stable/${PN}/${PV}/${P}.tar.xz"
+	KEYWORDS="~amd64 ~x86"
+fi
+
+LICENSE="GPL-2+"
+SLOT="5"
+IUSE="acoustid flac kde mp3 mp4 +mpris +taglib test vorbis"
+
+REQUIRED_USE="flac? ( vorbis )"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+	dev-qt/qtcore: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
+		media-video/ffmpeg
+	)
+	flac? (
+		media-libs/flac[cxx]
+		media-libs/libvorbis
+	)
+	kde? (
+		kde-frameworks/kconfig:5
+		kde-frameworks/kconfigwidgets:5
+		kde-frameworks/kcoreaddons:5
+		kde-frameworks/kio:5
+		kde-frameworks/kwidgetsaddons:5
+		kde-frameworks/kxmlgui:5
+	)
+	mp3? ( media-libs/id3lib )
+	mp4? ( media-libs/libmp4v2:0 )
+	mpris? ( dev-qt/qtdbus:5 )
+	taglib? ( >=media-libs/taglib-1.9.1 )
+	vorbis? (
+		media-libs/libogg
+		media-libs/libvorbis
+	)
+"
+DEPEND="${RDEPEND}
+	test? ( dev-qt/qttest:5 )
+"
+BDEPEND="${PYTHON_DEPS}
+	dev-qt/linguist-tools:5
+	kde? ( kde-frameworks/extra-cmake-modules:5 )
+"
+
+pkg_setup() {
+	use test && python-any-r1_pkg_setup
+}
+
+src_prepare() {
+	# overengineered upstream build system
+	cmake_src_prepare
+	# applies broken python hacks, bug #614950
+	cmake_comment_add_subdirectory doc
+
+	sed -e "/^find_package.*QT NAMES/s/Qt6 //" \
+		-i CMakeLists.txt || die # ensure Qt5 build
+}
+
+src_configure() {
+	local mycmakeargs=(
+		-DPython3_EXECUTABLE="${PYTHON}"
+		-DWITH_CHROMAPRINT=$(usex acoustid)
+		-DWITH_DBUS=$(usex mpris)
+		-DWITH_FLAC=$(usex flac)
+		-DWITH_ID3LIB=$(usex mp3)
+		-DWITH_MP4V2=$(usex mp4)
+		-DWITH_TAGLIB=$(usex taglib)
+		-DBUILD_TESTING=$(usex test)
+		-DWITH_VORBIS=$(usex vorbis)
+	)
+
+	if use kde ; then
+		mycmakeargs+=( "-DWITH_APPS=KDE;CLI" )
+	else
+		mycmakeargs+=( "-DWITH_APPS=Qt;CLI" )
+	fi
+
+	cmake_src_configure
+}


             reply	other threads:[~2022-08-08 12:08 UTC|newest]

Thread overview: 104+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-08 12:08 Andreas Sturmlechner [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-11-08 13:31 [gentoo-commits] repo/gentoo:master commit in: media-sound/kid3/ Andreas Sturmlechner
2024-10-22  1:34 Sam James
2024-09-21 13:46 Andreas Sturmlechner
2024-09-21 12:40 Andreas Sturmlechner
2024-04-22 17:07 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-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-24 16:49 Andreas Sturmlechner
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=1659960469.cca93ac8b6ba77a484acabca72b5fba6dc0341f8.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