summaryrefslogtreecommitdiff
path: root/media-libs/phonon
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-12-18 01:48:12 +0000
committerV3n3RiX <venerix@koprulu.sector>2023-12-18 01:48:12 +0000
commit3e02de9a64a4e3d1f1af271a9da7ff7bbf8d86c8 (patch)
treeaa95978f9e2bf7dc6f4f643b7128b80e26350a21 /media-libs/phonon
parent3a38a5d9da46eca9d656aa0ec448c8ba6034b044 (diff)
gentoo auto-resync : 18:12:2023 - 01:48:11
Diffstat (limited to 'media-libs/phonon')
-rw-r--r--media-libs/phonon/Manifest4
-rw-r--r--media-libs/phonon/phonon-4.11.1-r2.ebuild2
-rw-r--r--media-libs/phonon/phonon-4.12.0.ebuild63
3 files changed, 67 insertions, 2 deletions
diff --git a/media-libs/phonon/Manifest b/media-libs/phonon/Manifest
index 77b145289e05..3fe74f3e374c 100644
--- a/media-libs/phonon/Manifest
+++ b/media-libs/phonon/Manifest
@@ -1,4 +1,6 @@
AUX phonon-4.11.1-clang-16.patch 1356 BLAKE2B 2adbe00797db0efab8a065c455b8122bea99ffdca9317939c85e54c65cf9292f1de7531bff89fbed227cdab035547680291c6d20d02a374bfe7e28ef9ec9706d SHA512 5ef9e3bcefd607036e47cd6578be5bb98a384bb4cd4820aab90cd7adf1eb0ae54ad001550909a93513e1d622ef4101f95fce733e3fa7a95d5df8454290ef92aa
DIST phonon-4.11.1.tar.xz 314732 BLAKE2B 9be341f8df643b352392a208c7f24d799edcc94146b71c73d93974a7ef02cc75b5baa1e2ddd037e7e2d3afeb52347d96caaa8b3a2319631802261735a3a751df SHA512 858b2b0d7b0336af76d226b30f3acd1914e7297e0879d5a417fa1b87b13c812f9aab7e20adcad33ce1a03624ce78323dd9968b4b277caf85f800ca60aa134f74
-EBUILD phonon-4.11.1-r2.ebuild 1300 BLAKE2B bd742c33d458e597f9c6273122391d11c05f28a1f98527eba46c9ac28f5b671b75f90b9e26de827e5958422f64a75058ad8b0647bbf0fe49f871a31cb5ba87be SHA512 1bbaea58c18915fb2e51906eda45a923593b690600906b571497df9c1b185c93242347cd59e7dcb9ebbfcdc20d6664e04409ff10fdc4cffa861113244f252005
+DIST phonon-4.12.0.tar.xz 408996 BLAKE2B 568af4aec5247759e49db2137978b9f1828256f817bcb321f02e69d597d78e97c9ce437e89cd63b5a8b15c312f74ccee11b34270e74be2dc24c2af9ee97490f0 SHA512 0dbd88464985051f4c43e64a4d0b7e2d65e7f6b54fd2bae4ec1790fbdf9f79348aa91d4839c72a4f66297d5a9c7b379cc34923b99b97130a5443e5b2c0cc8a9a
+EBUILD phonon-4.11.1-r2.ebuild 1308 BLAKE2B 7a20e9c06439d3f9b5fd716d4c0d1ee29da0380695b8a9b30dd79c5534ec2369a6a3ad76f023f6db208179f402ff850d3c593dccdc259ab8103b8fb0f2e6d716 SHA512 3ba26fced6de50229243ec120079ab6f5aa0bf004a571fa5814335c83a83d27a0979f155d5a3dba1cf98e02d454ba84f7aba73a34913909fd4209813cb38263b
+EBUILD phonon-4.12.0.ebuild 1456 BLAKE2B 01b08b2a71cc3a00e9d17d6cb5c495da19812cce2b5be202f4a3dc3f619f3745902c41963949189e8bc0e4abcd1adbd467a817c42372e783510653704abdeab0 SHA512 e1239d965243c5cfb48ac4e05b82bfaef57aab0c01003d67a6fbd3bcff3291d6e6fea5ec59c8e39283e9a8225855b94cd1d0eaeffe84c47074bba96d93df4466
MISC metadata.xml 463 BLAKE2B 856a539bfa489dac4d6550f9fb4104b419dc6dd12a5d6ec67ac7d9f743fa31d96c3323937558704b7941a914c1ca342b5a6030e9f16b7d84f2339f93d2a1fb9f SHA512 c6aa1e0f8f11e813c228619f9c857bfa3e15d3278a1b5af3910f8f789a7d93f889a9adb9121f19b4b52abbfa0b4a67d89a037679ae0eab00b0db04ed5e16526e
diff --git a/media-libs/phonon/phonon-4.11.1-r2.ebuild b/media-libs/phonon/phonon-4.11.1-r2.ebuild
index 0fd2db131a67..b6f1aecc8b12 100644
--- a/media-libs/phonon/phonon-4.11.1-r2.ebuild
+++ b/media-libs/phonon/phonon-4.11.1-r2.ebuild
@@ -33,7 +33,7 @@ BDEPEND="
"
PDEPEND="
gstreamer? ( >=media-libs/phonon-gstreamer-4.9.60 )
- vlc? ( >=media-libs/phonon-vlc-0.9.60 )
+ vlc? ( >=media-libs/phonon-vlc-0.9.60[qt5(+)] )
"
PATCHES=( "${FILESDIR}/${P}-clang-16.patch" ) # bug 894346
diff --git a/media-libs/phonon/phonon-4.12.0.ebuild b/media-libs/phonon/phonon-4.12.0.ebuild
new file mode 100644
index 000000000000..63d504edbc32
--- /dev/null
+++ b/media-libs/phonon/phonon-4.12.0.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit desktop ecm 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 ~ppc ~ppc64 ~riscv ~x86"
+fi
+
+LICENSE="|| ( LGPL-2.1 LGPL-3 ) !pulseaudio? ( || ( GPL-2 GPL-3 ) )"
+SLOT="0"
+IUSE="designer pulseaudio +qt5 qt6 +vlc"
+REQUIRED_USE="|| ( qt5 qt6 )"
+
+DEPEND="
+ pulseaudio? (
+ dev-libs/glib:2
+ media-libs/libpulse[glib]
+ )
+ qt5? (
+ 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}"
+BDEPEND="
+ qt5? ( dev-qt/linguist-tools:5 )
+ qt6? ( dev-qt/qttools:6[linguist] )
+ virtual/pkgconfig
+"
+PDEPEND="
+ vlc? ( >=media-libs/phonon-vlc-0.12.0[qt5?,qt6?] )
+"
+
+src_configure() {
+ local mycmakeargs=(
+ -DPHONON_BUILD_DESIGNER_PLUGIN=$(usex designer)
+ -DCMAKE_DISABLE_FIND_PACKAGE_GLIB2=$(usex !pulseaudio)
+ -DCMAKE_DISABLE_FIND_PACKAGE_PulseAudio=$(usex !pulseaudio)
+ -DPHONON_BUILD_QT5=$(usex qt5)
+ -DPHONON_BUILD_QT6=$(usex qt6)
+ -DPHONON_BUILD_SETTINGS=ON
+ )
+ ecm_src_configure
+}
+
+src_install() {
+ ecm_src_install
+ make_desktop_entry "${PN}settings" \
+ "Phonon Audio and Video" preferences-desktop-sound
+}