From 1802160f23e91c618b3c7379fd99127682cfce19 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 22 Sep 2024 14:47:12 +0100 Subject: gentoo auto-resync : 22:09:2024 - 14:47:12 --- media-sound/kid3/Manifest | 2 + media-sound/kid3/kid3-3.9.6.ebuild | 94 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 96 insertions(+) create mode 100644 media-sound/kid3/kid3-3.9.6.ebuild (limited to 'media-sound/kid3') diff --git a/media-sound/kid3/Manifest b/media-sound/kid3/Manifest index c77aae1ecaf7..8861414fac79 100644 --- a/media-sound/kid3/Manifest +++ b/media-sound/kid3/Manifest @@ -1,3 +1,5 @@ DIST kid3-3.9.5.tar.xz 1843528 BLAKE2B 6bd7cf85eb6da91e1fb2dad40f63cdd443b1f75f3fab685f7af3caa5727f49afbf9b53a8d304f5e127743c4e0f8e3672b62fca33cf6de0a02ef091e758b2335a SHA512 a5b21ebabeddb49a2755fd1b5c563a822419d2a82184182bda85e5be9932ccd9626e969f944fb55cfa4c85f7c7c9821adba75375f966ee90272c2cf2283acdd8 +DIST kid3-3.9.6.tar.xz 1872012 BLAKE2B 3945ca19f08baf84373ba34bcb9917f58d20f9208479a3a2d1319bdf50aae5cc56b906f5ac2caee5eb3d5c5f042a0ecdeff3e3ac0ecb499e6e3a32db436f2b1d SHA512 1667b3f5d458f9cc54e5b9af839c849e990a333eab3cfaa8d310b4d46b925ca5b57ea0ac9365a023fecc1ac2429f761dd2bfc0b3a3df48f5d4dd351c8741455f EBUILD kid3-3.9.5.ebuild 2134 BLAKE2B 09e2b1dea4c57b715049d488d9e4faf14ea1f4ffceffe8ebb47b12ab1b54d0f87a6e95c23d54564a80b91b03b443c69874c2c5c353d8f59a34a64d06404c3ab2 SHA512 e6c60337695d156e5a64eb98f30c2d23b7d760809b51868f7c3449944d0356b71daacfa6c1d3c7ca8a9002355ebca710763fb189c66e94ca2a0967d8d631941d +EBUILD kid3-3.9.6.ebuild 1997 BLAKE2B 832210805c1567aadd888ffa7836b7d984ad3fc9db630ca169c522cd4daac762f62f96345c6d0179f1c56f0b85347601292f2d71c3895e2a8594ffc85b1eb334 SHA512 911de0df23816944b44eec5088536223386b58aec7ac050b971a5bece9109d8e9e59879d2107ad1872aeaad26cfb38522f9d421e0ba642d962a81ca113b8a4c5 MISC metadata.xml 650 BLAKE2B a05aeb21a41043f2a4891e07db9fcdb32051fcb306dda9db0e892165e44728607430d3aeaf9f749e6a0b0a88b1935d1768853572661c1437c4b51a79a80acbf9 SHA512 02720f1bfffea6ee6a6f29d7bd2241b0bf425c491b5844f119d1ea9b6512b52d6c75a4eb9052d506905edb4790f5af0f7778d0ce05ddd3b17ba37e9b83cf3a5a 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..d19e7fd71bda --- /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/qtbase:6[dbus] ) + 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 +} -- cgit v1.2.3