glfs/kde/phonon.xml
Bruce Dubbs b60f1cebb0 Preliminry update to kf6-6.0.0.
This update replaces kf5.  In doing so there are several packages
in BLFS that are broken, notably the LXQt packages that reference
kf5 packages.

Trying to maintain kf5 and kf6 in the book is more effort than it
is worth.  For those that want the kf5 based elements, blfs-12.1
still works.

Several packages were updated to build with qt6 so they are not available
for packages that need the qt5 versions,  These include qca, polkit-qt, and
phonon.  A couple of packages that are no longer needed for kf6 are still
in the book: kuserfeedback and libdbusmenuqt.

Many filenames still need to be changed, e.g. kf5-frameworks.xml, as
well as xml defined identifiers.

Later when LXQt releases their qt6/kf6 based packages, then we will
do a scrub of all the book internals to make names consistent.
2024-03-04 18:38:49 -06:00

172 lines
4.6 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
<!ENTITY % general-entities SYSTEM "../general.ent">
%general-entities;
<!ENTITY phonon-download-http "&kde-download-http;phonon/&phonon-version;/phonon-&phonon-version;.tar.xz">
<!ENTITY phonon-download-ftp " ">
<!ENTITY phonon-md5sum "e80e9c73967080016bdb3c0ee514ceab">
<!ENTITY phonon-size "400 KB">
<!ENTITY phonon-buildsize "23 MB">
<!ENTITY phonon-time "0.2 SBU (Using parallelism=4)">
]>
<sect1 id="phonon" xreflabel="phonon-&phonon-version;">
<?dbhtml filename="phonon.html"?>
<title>Phonon-&phonon-version;</title>
<indexterm zone="phonon">
<primary sortas="a-phonon">phonon</primary>
</indexterm>
<sect2 role="package">
<title>Introduction to Phonon</title>
<para>
<application>Phonon</application> is the multimedia API for KDE.
It replaces the old <application>aRts</application> package.
Phonon needs the VLC backend.
</para>
&lfs121_checked;
<bridgehead renderas="sect3">Package Information</bridgehead>
<itemizedlist spacing="compact">
<listitem>
<para>
Download (HTTP): <ulink url="&phonon-download-http;"/>
</para>
</listitem>
<listitem>
<para>
Download (FTP): <ulink url="&phonon-download-ftp;"/>
</para>
</listitem>
<listitem>
<para>
Download MD5 sum: &phonon-md5sum;
</para>
</listitem>
<listitem>
<para>
Download size: &phonon-size;
</para>
</listitem>
<listitem>
<para>
Estimated disk space required: &phonon-buildsize;
</para>
</listitem>
<listitem>
<para>
Estimated build time: &phonon-time;
</para>
</listitem>
</itemizedlist>
<bridgehead renderas="sect3">Phonon Dependencies</bridgehead>
<bridgehead renderas="sect4">Required</bridgehead>
<para role="required">
<xref linkend="cmake"/>,
<xref linkend="extra-cmake-modules"/>,
<xref linkend="glib2"/>, and
<xref linkend="qt6"/>
</para>
<para role="required">
<xref linkend="phonon-backend-vlc" role="runtime"/> needs to be
installed afterwards for multimedia operation in
<application>KDE</application>.
</para>
<bridgehead renderas="sect4">Optional</bridgehead>
<para role="optional">
<xref linkend="pulseaudio"/>
</para>
</sect2>
<sect2 role="installation">
<title>Installation of Phonon</title>
<para>
Install <application>Phonon</application> by
running the following commands:
</para>
<screen><userinput>mkdir build &amp;&amp;
cd build &amp;&amp;
cmake -DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release \
-DPHONON_BUILD_QT5=OFF \
-Wno-dev .. &amp;&amp;
make</userinput></screen>
<para>
Now, as the <systemitem class="username">root</systemitem> user:
</para>
<screen role="root"><userinput>make install</userinput></screen>
</sect2>
<sect2 role="commands">
<title>Command Explanations</title>
<para>
<parameter>-DCMAKE_BUILD_TYPE=Release</parameter>: This switch is used
to apply higher level of the compiler optimizations.
</para>
<para>
<parameter>-DPHONON_BUILD_QT6=OFF</parameter>: By default both the
Qt5 and Qt6 versions of this package are built. We currently just
want the Qt5 version, since BLFS does not carry Qt6 yet.
</para>
<!--
<para>
<parameter>-DPHONON_INSTALL_QT_EXTENSIONS_INTO_SYSTEM_QT=FALSE</parameter>:
This switch ensures that the plugins and mkspecs files get installed in
the correct location.
</para>
<para>
<parameter>-DPHONON_BUILD_PHONON4QT5=ON</parameter>: This switch is used to
ensure that Qt5 version of the library is built even if Qt4 is present.
</para>
-->
</sect2>
<sect2 role="content">
<title>Contents</title>
<segmentedlist>
<segtitle>Installed Programs</segtitle>
<segtitle>Installed Libraries</segtitle>
<segtitle>Installed Directories</segtitle>
<seglistitem>
<seg>
phononsettings
</seg>
<seg>
libphonon4qt5.so and
libphonon4qt5experimental.so
</seg>
<seg>
/usr/include/phonon4qt5,
/usr/lib/cmake/phonon4qt5, and
/usr/lib/plugins/designer
</seg>
</seglistitem>
</segmentedlist>
</sect2>
</sect1>