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)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 9B57615800F for ; Thu, 12 Jan 2023 20:42:28 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DF4CBE0961; Thu, 12 Jan 2023 20:42:27 +0000 (UTC) Received: from smtp.gentoo.org (smtp.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)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C34EFE0961 for ; Thu, 12 Jan 2023 20:42:27 +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 EFEBE335D97 for ; Thu, 12 Jan 2023 20:42:26 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 43D047F4 for ; Thu, 12 Jan 2023 20:42:25 +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: <1673556135.32a35f85bef2f971fceb638d7d77a16ee60d98db.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.3.ebuild X-VCS-Directories: media-sound/kid3/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: 32a35f85bef2f971fceb638d7d77a16ee60d98db X-VCS-Branch: master Date: Thu, 12 Jan 2023 20:42:25 +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: 0f1a586b-d033-480c-a4b9-99f5cdda2087 X-Archives-Hash: 198fbe4187212cc969f4533467f498c1 commit: 32a35f85bef2f971fceb638d7d77a16ee60d98db Author: Andreas Sturmlechner gentoo org> AuthorDate: Thu Jan 12 20:41:18 2023 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Thu Jan 12 20:42:15 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=32a35f85 media-sound/kid3: add 3.9.3 Signed-off-by: Andreas Sturmlechner gentoo.org> media-sound/kid3/Manifest | 1 + media-sound/kid3/kid3-3.9.3.ebuild | 100 +++++++++++++++++++++++++++++++++++++ 2 files changed, 101 insertions(+) diff --git a/media-sound/kid3/Manifest b/media-sound/kid3/Manifest index a1f40ac2ba81..7ed23cbdb72e 100644 --- a/media-sound/kid3/Manifest +++ b/media-sound/kid3/Manifest @@ -1 +1,2 @@ DIST kid3-3.9.2.tar.xz 1952344 BLAKE2B 5a44a05f614f97dc7ddab39694a1773e1e6c55af7a9dc4ac7b793a520e54a8892c2181903a58f150885b3b4e17ebf921db719863f7ac4fd540f711a444990df3 SHA512 fc0b9db33ea948a2345968ab5da65f959bea829130f4250604d68df778218173d49f92b015d9be4e43f57ba5ae3388b0e97f558774df590b5959aa6f6293acd3 +DIST kid3-3.9.3.tar.xz 1820640 BLAKE2B ea030328d88f583e88959e7536f4e3e086354befc40395700fac8314a1e7c3da7a2f9a614ff9ad98491d9ec4d8b24ead05a2214b94f55786a5e493c1a585056c SHA512 f40c7eaa186eb7d3163635286a8ad89bf6b29dce851b4fadc0814eec7759ed7fbac37e4596365bac4df93c5b655a7e943f8414e7c8f661b29aea7bde5367ed73 diff --git a/media-sound/kid3/kid3-3.9.3.ebuild b/media-sound/kid3/kid3-3.9.3.ebuild new file mode 100644 index 000000000000..9f393da995d1 --- /dev/null +++ b/media-sound/kid3/kid3-3.9.3.ebuild @@ -0,0 +1,100 @@ +# Copyright 1999-2023 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:= + 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 ) + 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 +}