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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id BEC4E158083 for ; Sat, 21 Sep 2024 12:40:11 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 182DCE29AA; Sat, 21 Sep 2024 12:40:11 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id F1462E29AA for ; Sat, 21 Sep 2024 12:40:10 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 27CDB3431A4 for ; Sat, 21 Sep 2024 12:40:10 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 5C357EAF for ; Sat, 21 Sep 2024 12:40:08 +0000 (UTC) From: "Andreas Sturmlechner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Sturmlechner" Message-ID: <1726922384.184f2b4f942dd1f99a7c3dbb523400c6b743802a.asturm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-sound/kid3/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-sound/kid3/Manifest media-sound/kid3/kid3-3.9.6.ebuild X-VCS-Directories: media-sound/kid3/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: 184f2b4f942dd1f99a7c3dbb523400c6b743802a X-VCS-Branch: master Date: Sat, 21 Sep 2024 12:40:08 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: a809b441-9532-4056-8999-1ea6313babc7 X-Archives-Hash: df227f820a0a4cb125d24749528a84eb commit: 184f2b4f942dd1f99a7c3dbb523400c6b743802a Author: Andreas Sturmlechner gentoo org> AuthorDate: Sat Sep 21 12:32:28 2024 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Sat Sep 21 12:39:44 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=184f2b4f media-sound/kid3: add 3.9.6 Signed-off-by: Andreas Sturmlechner gentoo.org> media-sound/kid3/Manifest | 1 + media-sound/kid3/kid3-3.9.6.ebuild | 94 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 95 insertions(+) diff --git a/media-sound/kid3/Manifest b/media-sound/kid3/Manifest index ba2bf1bd75c0..84fcf1ac248d 100644 --- a/media-sound/kid3/Manifest +++ b/media-sound/kid3/Manifest @@ -1 +1,2 @@ DIST kid3-3.9.5.tar.xz 1843528 BLAKE2B 6bd7cf85eb6da91e1fb2dad40f63cdd443b1f75f3fab685f7af3caa5727f49afbf9b53a8d304f5e127743c4e0f8e3672b62fca33cf6de0a02ef091e758b2335a SHA512 a5b21ebabeddb49a2755fd1b5c563a822419d2a82184182bda85e5be9932ccd9626e969f944fb55cfa4c85f7c7c9821adba75375f966ee90272c2cf2283acdd8 +DIST kid3-3.9.6.tar.xz 1872012 BLAKE2B 3945ca19f08baf84373ba34bcb9917f58d20f9208479a3a2d1319bdf50aae5cc56b906f5ac2caee5eb3d5c5f042a0ecdeff3e3ac0ecb499e6e3a32db436f2b1d SHA512 1667b3f5d458f9cc54e5b9af839c849e990a333eab3cfaa8d310b4d46b925ca5b57ea0ac9365a023fecc1ac2429f761dd2bfc0b3a3df48f5d4dd351c8741455f diff --git a/media-sound/kid3/kid3-3.9.6.ebuild b/media-sound/kid3/kid3-3.9.6.ebuild new file mode 100644 index 000000000000..2f6d21932bed --- /dev/null +++ b/media-sound/kid3/kid3-3.9.6.ebuild @@ -0,0 +1,94 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..13} ) +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="0" +IUSE="acoustid flac kde mp3 mp4 +mpris +taglib test vorbis" + +REQUIRED_USE="flac? ( vorbis )" +RESTRICT="!test? ( test )" + +DEPEND=" + dev-qt/qtbase:6[gui,network,widgets,xml] + dev-qt/qtdeclarative:6 + dev-qt/qtmultimedia:6 + sys-libs/readline:= + acoustid? ( + media-libs/chromaprint:= + media-video/ffmpeg:= + ) + flac? ( + media-libs/flac:=[cxx] + media-libs/libvorbis + ) + kde? ( + kde-frameworks/kconfig:6 + kde-frameworks/kconfigwidgets:6 + kde-frameworks/kcoreaddons:6 + kde-frameworks/kio:6 + kde-frameworks/kwidgetsaddons:6 + kde-frameworks/kxmlgui:6 + ) + mp3? ( media-libs/id3lib ) + mp4? ( media-libs/libmp4v2 ) + mpris? ( dev-qt/qttools:6[qdbus] ) + taglib? ( >=media-libs/taglib-1.9.1:= ) + vorbis? ( + media-libs/libogg + media-libs/libvorbis + ) +" +RDEPEND="${DEPEND} + !media-sound/kid3:5 +" +BDEPEND="${PYTHON_DEPS} + dev-qt/qttools:6[linguist] + kde? ( kde-frameworks/extra-cmake-modules:0 ) +" + +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 +} + +src_configure() { + local mycmakeargs=( + -DBUILD_WITH_QT6=ON + -DWITH_QAUDIODECODER=ON # bug 855281 + -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 +}