From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (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 finch.gentoo.org (Postfix) with ESMTPS id 797511584F2 for ; Sun, 16 Mar 2025 23:20:48 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (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) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 63E5734327C for ; Sun, 16 Mar 2025 23:20:48 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id CD1AC1103CE; Sun, 16 Mar 2025 23:20:37 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (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 bobolink.gentoo.org (Postfix) with ESMTPS id BF1E81103CE for ; Sun, 16 Mar 2025 23:20:37 +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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 773E834324D for ; Sun, 16 Mar 2025 23:20:37 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B4696236F for ; Sun, 16 Mar 2025 23:20:34 +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: <1742167192.fc7a43a9af55ac2536dfdc25749f8a96c1839db8.asturm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/phonon/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-libs/phonon/phonon-4.12.0-r5.ebuild X-VCS-Directories: media-libs/phonon/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: fc7a43a9af55ac2536dfdc25749f8a96c1839db8 X-VCS-Branch: master Date: Sun, 16 Mar 2025 23:20:34 +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: b35b57d7-491b-4423-8424-b2a021825e34 X-Archives-Hash: d0a54828d793e43ee0064944a773a6cb commit: fc7a43a9af55ac2536dfdc25749f8a96c1839db8 Author: Andreas Sturmlechner gentoo org> AuthorDate: Sun Mar 16 21:08:41 2025 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Sun Mar 16 23:19:52 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fc7a43a9 media-libs/phonon: Drop IUSE qt5,qt6 - only leaving Qt6 build Signed-off-by: Andreas Sturmlechner gentoo.org> media-libs/phonon/phonon-4.12.0-r5.ebuild | 67 +++++++++++++++++++++++++++++++ 1 file changed, 67 insertions(+) diff --git a/media-libs/phonon/phonon-4.12.0-r5.ebuild b/media-libs/phonon/phonon-4.12.0-r5.ebuild new file mode 100644 index 000000000000..9e9065f43fc6 --- /dev/null +++ b/media-libs/phonon/phonon-4.12.0-r5.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake desktop flag-o-matic kde.org + +DESCRIPTION="KDE multimedia abstraction library" +HOMEPAGE="https://community.kde.org/Phonon" + +if [[ ${KDE_BUILD_TYPE} = release ]]; then + SRC_URI="mirror://kde/stable/phonon/${PV}/${P}.tar.xz" + KEYWORDS="amd64 ~arm arm64 ~loong ppc64 ~riscv ~x86" +fi + +LICENSE="|| ( LGPL-2.1 LGPL-3 ) !pulseaudio? ( || ( GPL-2 GPL-3 ) )" +SLOT="0" +IUSE="debug designer minimal pulseaudio" + +DEPEND=" + dev-qt/qt5compat:6 + dev-qt/qtbase:6[gui,widgets] + designer? ( dev-qt/qttools:6[designer] ) + pulseaudio? ( + dev-libs/glib:2 + media-libs/libpulse[glib] + ) +" +RDEPEND="${DEPEND} + !media-libs/phonon-gstreamer + || ( + kde-frameworks/breeze-icons:* + kde-frameworks/oxygen-icons:* + ) +" +BDEPEND=" + dev-libs/libpcre2:* + dev-qt/qttools:6[linguist] + >=kde-frameworks/extra-cmake-modules-5.115.0:* + virtual/pkgconfig +" +PDEPEND="!minimal? ( >=media-libs/phonon-vlc-0.12.0-r2 )" + +PATCHES=( "${FILESDIR}/${P}-cmake.patch" ) # bug 938315 + +src_configure() { + use debug || append-cppflags -DQT_NO_DEBUG + + local mycmakeargs=( + -DQT_MAJOR_VERSION=6 + -DPHONON_BUILD_QT5=OFF + -DPHONON_BUILD_QT6=ON + -DPHONON_BUILD_SETTINGS=ON + -DKDE_INSTALL_USE_QT_SYS_PATHS=ON # ecm.eclass + -DKDE_INSTALL_DOCBUNDLEDIR="${EPREFIX}/usr/share/help" # ecm.eclass + -DPHONON_BUILD_DESIGNER_PLUGIN=$(usex designer) + -DCMAKE_DISABLE_FIND_PACKAGE_GLIB2=$(usex !pulseaudio) + -DCMAKE_DISABLE_FIND_PACKAGE_PulseAudio=$(usex !pulseaudio) + ) + cmake_src_configure +} + +src_install() { + cmake_src_install + make_desktop_entry "${PN}settings" \ + "Phonon Audio and Video" preferences-desktop-sound +}