Warning, /packaging/yocto-meta-kf6/recipes-kdesupport/phonon.inc is written in an unsupported language. File is not indexed.

0001 # SPDX-FileCopyrightText: 2018 Volker Krause <vkrause@kde.org>
0002 # SPDX-FileCopyrightText: 2022 Andreas Cord-Landwehr <cordlandwehr@kde.org>
0003 #
0004 # SPDX-License-Identifier: MIT
0005 
0006 DESCRIPTION = "Phonon"
0007 LICENSE = "LGPL-2.1-only"
0008 LIC_FILES_CHKSUM = "file://COPYING.LIB;md5=2d5025d4aa3495befef8f17206a5b0a1"
0009 PR = "r0"
0010 
0011 DEPENDS += " \
0012     qtbase \
0013     qttools-native \
0014     qt5compat \
0015     pulseaudio \
0016     extra-cmake-modules \
0017 "
0018 
0019 SRC_URI = "https://download.kde.org/stable/phonon/${PV}/phonon-${PV}.tar.xz"
0020 
0021 inherit qt6-cmake
0022 EXTRA_OECMAKE += " \
0023     -DPHONON_BUILD_QT5=OFF \
0024 "
0025 
0026 # remove the widget designer plugin, this makes no sense for the target
0027 do_install:append() {
0028     rm -rf ${D}/${libdir}/qt5/
0029     rm -rf ${D}/${libdir}/plugins/
0030 }
0031 
0032 FILES:${PN}-dev += " \
0033     ${datadir}/phonon4qt6/buildsystem/* \
0034     ${datadir}/dbus-1/interfaces/*.xml \
0035     ${libdir}/cmake/phonon4qt6/* \
0036     ${prefix}/mkspecs \
0037 "