From 6243676c91946098c06d42bc87b5eb99aac40bf0 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Thu, 25 Apr 2024 23:59:45 +0100 Subject: gentoo auto-resync : 25:04:2024 - 23:59:45 --- media-libs/phonon/Manifest | 2 +- media-libs/phonon/phonon-4.12.0-r1.ebuild | 104 ----------------------------- media-libs/phonon/phonon-4.12.0-r2.ebuild | 105 ++++++++++++++++++++++++++++++ 3 files changed, 106 insertions(+), 105 deletions(-) delete mode 100644 media-libs/phonon/phonon-4.12.0-r1.ebuild create mode 100644 media-libs/phonon/phonon-4.12.0-r2.ebuild (limited to 'media-libs/phonon') diff --git a/media-libs/phonon/Manifest b/media-libs/phonon/Manifest index 8aa70fc045c4..3a9223ab9d48 100644 --- a/media-libs/phonon/Manifest +++ b/media-libs/phonon/Manifest @@ -2,5 +2,5 @@ AUX phonon-4.11.1-clang-16.patch 1356 BLAKE2B 2adbe00797db0efab8a065c455b8122bea DIST phonon-4.11.1.tar.xz 314732 BLAKE2B 9be341f8df643b352392a208c7f24d799edcc94146b71c73d93974a7ef02cc75b5baa1e2ddd037e7e2d3afeb52347d96caaa8b3a2319631802261735a3a751df SHA512 858b2b0d7b0336af76d226b30f3acd1914e7297e0879d5a417fa1b87b13c812f9aab7e20adcad33ce1a03624ce78323dd9968b4b277caf85f800ca60aa134f74 DIST phonon-4.12.0.tar.xz 408996 BLAKE2B 568af4aec5247759e49db2137978b9f1828256f817bcb321f02e69d597d78e97c9ce437e89cd63b5a8b15c312f74ccee11b34270e74be2dc24c2af9ee97490f0 SHA512 0dbd88464985051f4c43e64a4d0b7e2d65e7f6b54fd2bae4ec1790fbdf9f79348aa91d4839c72a4f66297d5a9c7b379cc34923b99b97130a5443e5b2c0cc8a9a EBUILD phonon-4.11.1-r2.ebuild 1307 BLAKE2B 69c75e346c77710c52591a8debe93bb09c34217584a520622dbfcfb2b4442b3039f1705ee5550f4b35edef1fc65a33286517deb24373264adceef2d365679ebd SHA512 daae7f938573ea831c299c0ef584ae4526570e64e3cb0790cfc7dae34b364fb4bb72ac0f312d0733fb17de6bcc3f74e3dbd9a08247c5d43e2776bae5deb8ec3b -EBUILD phonon-4.12.0-r1.ebuild 2328 BLAKE2B 115e00846beaffee89aea5a68885fc006fb463cea10e1bf97d7f7d7e65ecd43b196e250ea9f865307363e1124d0b6da41f5fbfd1afe261cc24a3081034d73b27 SHA512 b973515a50ed308451de8bd910a8926396afa3b0ee2bcdf4e30922effec089111b7309206e3a955dae0ac85115768df5a72a052f4886f92702e84a1c1fbbd675 +EBUILD phonon-4.12.0-r2.ebuild 2315 BLAKE2B 80c2bb691bdd9d758b4171ce9cb9b8bd707062c6279f1abcc3a6ac45eafa4443a1314cd56b15f4827e504798a8ffe7c4278fb7b9538e1e06e96706293d5162c0 SHA512 033950b0d3bf823542003acf1c62fc8cd78dda550fb404f811d0201c7e1b99236b9c464f3ab4dbc370375fa5cefd38a6a6e9034933bf398ef6253c66216a01a2 MISC metadata.xml 463 BLAKE2B 856a539bfa489dac4d6550f9fb4104b419dc6dd12a5d6ec67ac7d9f743fa31d96c3323937558704b7941a914c1ca342b5a6030e9f16b7d84f2339f93d2a1fb9f SHA512 c6aa1e0f8f11e813c228619f9c857bfa3e15d3278a1b5af3910f8f789a7d93f889a9adb9121f19b4b52abbfa0b4a67d89a037679ae0eab00b0db04ed5e16526e diff --git a/media-libs/phonon/phonon-4.12.0-r1.ebuild b/media-libs/phonon/phonon-4.12.0-r1.ebuild deleted file mode 100644 index 9efc34081dc0..000000000000 --- a/media-libs/phonon/phonon-4.12.0-r1.ebuild +++ /dev/null @@ -1,104 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake desktop flag-o-matic kde.org multibuild - -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 ~ppc ~ppc64 ~riscv ~x86" -fi - -LICENSE="|| ( LGPL-2.1 LGPL-3 ) !pulseaudio? ( || ( GPL-2 GPL-3 ) )" -SLOT="0" -IUSE="debug designer pulseaudio +qt5 qt6 +vlc" -REQUIRED_USE="|| ( qt5 qt6 )" - -DEPEND=" - pulseaudio? ( - dev-libs/glib:2 - media-libs/libpulse[glib] - ) - qt5? ( - dev-qt/qtcore:5 - dev-qt/qtgui:5 - dev-qt/qtwidgets:5 - designer? ( dev-qt/designer:5 ) - ) - qt6? ( - dev-qt/qt5compat:6 - dev-qt/qtbase:6[gui,widgets] - designer? ( dev-qt/qttools:6[designer] ) - ) -" -RDEPEND="${DEPEND} - || ( - kde-frameworks/breeze-icons:* - kde-frameworks/oxygen-icons:* - ) -" -BDEPEND=" - dev-libs/libpcre2:* - virtual/pkgconfig - qt5? ( - dev-qt/linguist-tools:5 - >=kde-frameworks/extra-cmake-modules-5.115.0:* - ) - qt6? ( - dev-qt/qttools:6[linguist] - >=kde-frameworks/extra-cmake-modules-6.0.0:* - ) -" -PDEPEND=" - vlc? ( >=media-libs/phonon-vlc-0.12.0[qt5?,qt6?] ) -" - -pkg_setup() { - MULTIBUILD_VARIANTS=( $(usev qt5) $(usev qt6) ) -} - -src_configure() { - use debug || append-cppflags -DQT_NO_DEBUG - - myconfigure() { - local mycmakeargs=( - -DQT_MAJOR_VERSION=${MULTIBUILD_VARIANT/qt/} - -DPHONON_BUILD_${MULTIBUILD_VARIANT^^}=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) - ) - - if [[ ${MULTIBUILD_VARIANT} == qt6 ]]; then - mycmakeargs+=( - -DPHONON_BUILD_QT5=OFF - -DPHONON_BUILD_SETTINGS=ON - ) - else - mycmakeargs+=( - -DPHONON_BUILD_QT6=OFF - -DPHONON_BUILD_SETTINGS=$(usex !qt6) - ) - fi - - cmake_src_configure - } - - multibuild_foreach_variant myconfigure -} - -src_compile() { - multibuild_foreach_variant cmake_src_compile -} - -src_install() { - multibuild_foreach_variant cmake_src_install - make_desktop_entry "${PN}settings" \ - "Phonon Audio and Video" preferences-desktop-sound -} diff --git a/media-libs/phonon/phonon-4.12.0-r2.ebuild b/media-libs/phonon/phonon-4.12.0-r2.ebuild new file mode 100644 index 000000000000..d47b6cab6593 --- /dev/null +++ b/media-libs/phonon/phonon-4.12.0-r2.ebuild @@ -0,0 +1,105 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake desktop flag-o-matic kde.org multibuild + +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" +fi + +LICENSE="|| ( LGPL-2.1 LGPL-3 ) !pulseaudio? ( || ( GPL-2 GPL-3 ) )" +SLOT="0" +IUSE="debug designer pulseaudio +qt5 qt6 +vlc" +REQUIRED_USE="|| ( qt5 qt6 )" + +DEPEND=" + pulseaudio? ( + dev-libs/glib:2 + media-libs/libpulse[glib] + ) + qt5? ( + dev-qt/qtcore:5 + dev-qt/qtgui:5 + dev-qt/qtwidgets:5 + designer? ( dev-qt/designer:5 ) + ) + qt6? ( + dev-qt/qt5compat:6 + dev-qt/qtbase:6[gui,widgets] + designer? ( dev-qt/qttools:6[designer] ) + ) +" +RDEPEND="${DEPEND} + !media-libs/phonon-gstreamer + || ( + kde-frameworks/breeze-icons:* + kde-frameworks/oxygen-icons:* + ) +" +BDEPEND=" + dev-libs/libpcre2:* + virtual/pkgconfig + qt5? ( + dev-qt/linguist-tools:5 + >=kde-frameworks/extra-cmake-modules-5.115.0:* + ) + qt6? ( + dev-qt/qttools:6[linguist] + >=kde-frameworks/extra-cmake-modules-6.0.0:* + ) +" +PDEPEND=" + vlc? ( >=media-libs/phonon-vlc-0.12.0[qt5?,qt6?] ) +" + +pkg_setup() { + MULTIBUILD_VARIANTS=( $(usev qt5) $(usev qt6) ) +} + +src_configure() { + use debug || append-cppflags -DQT_NO_DEBUG + + myconfigure() { + local mycmakeargs=( + -DQT_MAJOR_VERSION=${MULTIBUILD_VARIANT/qt/} + -DPHONON_BUILD_${MULTIBUILD_VARIANT^^}=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) + ) + + if [[ ${MULTIBUILD_VARIANT} == qt6 ]]; then + mycmakeargs+=( + -DPHONON_BUILD_QT5=OFF + -DPHONON_BUILD_SETTINGS=ON + ) + else + mycmakeargs+=( + -DPHONON_BUILD_QT6=OFF + -DPHONON_BUILD_SETTINGS=$(usex !qt6) + ) + fi + + cmake_src_configure + } + + multibuild_foreach_variant myconfigure +} + +src_compile() { + multibuild_foreach_variant cmake_src_compile +} + +src_install() { + multibuild_foreach_variant cmake_src_install + make_desktop_entry "${PN}settings" \ + "Phonon Audio and Video" preferences-desktop-sound +} -- cgit v1.2.3