2011-03-10 04:39:52 +08:00
|
|
|
<?xml version="1.0" encoding="ISO-8859-1"?>
|
|
|
|
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
|
|
|
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
2015-06-27 03:39:08 +08:00
|
|
|
<!ENTITY % general-entities SYSTEM "../general.ent">
|
2011-03-10 04:39:52 +08:00
|
|
|
%general-entities;
|
|
|
|
|
2016-04-21 03:59:18 +08:00
|
|
|
<!ENTITY phonon-download-http "&kde-download-http;phonon/&phonon-version;/phonon-&phonon-version;.tar.xz">
|
|
|
|
<!ENTITY phonon-download-ftp " ">
|
2019-09-28 01:54:34 +08:00
|
|
|
<!ENTITY phonon-md5sum "d3df5ba646e4b3f11623d998caa40e74">
|
|
|
|
<!ENTITY phonon-size "308 KB">
|
|
|
|
<!ENTITY phonon-buildsize "12 MB">
|
2018-02-25 12:27:10 +08:00
|
|
|
<!ENTITY phonon-time "0.2 SBU (Using parallelism=4)">
|
2011-03-10 04:39:52 +08:00
|
|
|
]>
|
|
|
|
|
|
|
|
<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>
|
|
|
|
|
2020-03-08 18:20:09 +08:00
|
|
|
<para>
|
|
|
|
<application>Phonon</application> is the multimedia API for KDE.
|
|
|
|
It replaces the old <application>aRts</application> package.
|
|
|
|
Phonon needs either the GStreamer or VLC backend.
|
|
|
|
</para>
|
2011-03-10 04:39:52 +08:00
|
|
|
|
2022-08-27 05:39:32 +08:00
|
|
|
&lfs112_checked;
|
2011-03-10 04:39:52 +08:00
|
|
|
|
|
|
|
<bridgehead renderas="sect3">Package Information</bridgehead>
|
|
|
|
<itemizedlist spacing="compact">
|
|
|
|
<listitem>
|
2020-03-08 18:20:09 +08:00
|
|
|
<para>
|
|
|
|
Download (HTTP): <ulink url="&phonon-download-http;"/>
|
|
|
|
</para>
|
2011-03-10 04:39:52 +08:00
|
|
|
</listitem>
|
|
|
|
<listitem>
|
2020-03-08 18:20:09 +08:00
|
|
|
<para>
|
|
|
|
Download (FTP): <ulink url="&phonon-download-ftp;"/>
|
|
|
|
</para>
|
2011-03-10 04:39:52 +08:00
|
|
|
</listitem>
|
|
|
|
<listitem>
|
2020-03-08 18:20:09 +08:00
|
|
|
<para>
|
|
|
|
Download MD5 sum: &phonon-md5sum;
|
|
|
|
</para>
|
2011-03-10 04:39:52 +08:00
|
|
|
</listitem>
|
|
|
|
<listitem>
|
2020-03-08 18:20:09 +08:00
|
|
|
<para>
|
|
|
|
Download size: &phonon-size;
|
|
|
|
</para>
|
2011-03-10 04:39:52 +08:00
|
|
|
</listitem>
|
|
|
|
<listitem>
|
2020-03-08 18:20:09 +08:00
|
|
|
<para>
|
|
|
|
Estimated disk space required: &phonon-buildsize;
|
|
|
|
</para>
|
2011-03-10 04:39:52 +08:00
|
|
|
</listitem>
|
|
|
|
<listitem>
|
2020-03-08 18:20:09 +08:00
|
|
|
<para>
|
|
|
|
Estimated build time: &phonon-time;
|
|
|
|
</para>
|
2011-03-10 04:39:52 +08:00
|
|
|
</listitem>
|
|
|
|
</itemizedlist>
|
|
|
|
|
|
|
|
<bridgehead renderas="sect3">Phonon Dependencies</bridgehead>
|
|
|
|
|
|
|
|
<bridgehead renderas="sect4">Required</bridgehead>
|
|
|
|
<para role="required">
|
2015-01-11 02:45:03 +08:00
|
|
|
<xref linkend="cmake"/>,
|
2016-05-14 05:08:45 +08:00
|
|
|
<xref linkend="extra-cmake-modules"/>,
|
2015-06-25 07:03:07 +08:00
|
|
|
<xref linkend="glib2"/>, and
|
2016-04-21 03:59:18 +08:00
|
|
|
<xref linkend="qt5"/>
|
2011-03-10 04:39:52 +08:00
|
|
|
</para>
|
|
|
|
|
2019-02-20 06:02:39 +08:00
|
|
|
<para role="required">
|
|
|
|
At least one of <xref linkend="phonon-backend-gstreamer" role="runtime"/>
|
|
|
|
or <xref linkend="phonon-backend-vlc" role="runtime"/> needs to be
|
|
|
|
installed afterwards for multimedia operation in
|
|
|
|
<application>KDE</application>.
|
|
|
|
</para>
|
|
|
|
|
2011-03-10 04:39:52 +08:00
|
|
|
<bridgehead renderas="sect4">Optional</bridgehead>
|
|
|
|
<para role="optional">
|
2016-04-21 03:59:18 +08:00
|
|
|
<xref linkend="pulseaudio"/>
|
2013-02-12 02:51:17 +08:00
|
|
|
</para>
|
|
|
|
|
2011-03-10 04:39:52 +08:00
|
|
|
<para condition="html" role="usernotes">User Notes:
|
|
|
|
<ulink url="&blfs-wiki;/phonon"/></para>
|
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2 role="installation">
|
|
|
|
<title>Installation of Phonon</title>
|
2020-03-08 18:20:09 +08:00
|
|
|
<para>
|
|
|
|
Install <application>Phonon</application> by
|
|
|
|
running the following commands:
|
|
|
|
</para>
|
2015-06-27 03:39:08 +08:00
|
|
|
|
2016-06-08 10:51:19 +08:00
|
|
|
<screen><userinput>mkdir build &&
|
2015-06-27 03:39:08 +08:00
|
|
|
cd build &&
|
|
|
|
|
2019-09-05 07:20:03 +08:00
|
|
|
cmake -DCMAKE_INSTALL_PREFIX=/usr \
|
|
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
|
|
.. &&
|
2015-06-27 03:39:08 +08:00
|
|
|
make</userinput></screen>
|
|
|
|
|
2020-03-08 18:20:09 +08:00
|
|
|
<para>
|
|
|
|
Now, as the <systemitem class="username">root</systemitem> user:
|
|
|
|
</para>
|
2015-06-27 03:39:08 +08:00
|
|
|
|
2011-03-10 04:39:52 +08:00
|
|
|
<screen role="root"><userinput>make install</userinput></screen>
|
|
|
|
|
2012-03-01 04:56:46 +08:00
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2 role="commands">
|
|
|
|
<title>Command Explanations</title>
|
|
|
|
|
2014-01-03 22:45:45 +08:00
|
|
|
<para>
|
|
|
|
<parameter>-DCMAKE_BUILD_TYPE=Release</parameter>: This switch is used
|
|
|
|
to apply higher level of the compiler optimizations.
|
|
|
|
</para>
|
2016-03-24 08:23:12 +08:00
|
|
|
<!--
|
2014-01-03 22:45:45 +08:00
|
|
|
<para>
|
2014-07-23 01:55:07 +08:00
|
|
|
<parameter>-DPHONON_INSTALL_QT_EXTENSIONS_INTO_SYSTEM_QT=FALSE</parameter>:
|
2014-01-03 22:45:45 +08:00
|
|
|
This switch ensures that the plugins and mkspecs files get installed in
|
|
|
|
the correct location.
|
|
|
|
</para>
|
2019-09-05 07:20:03 +08:00
|
|
|
|
2015-06-27 03:39:08 +08:00
|
|
|
<para>
|
2015-11-13 22:24:57 +08:00
|
|
|
<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.
|
2015-06-27 03:39:08 +08:00
|
|
|
</para>
|
2019-09-05 07:20:03 +08:00
|
|
|
-->
|
2012-03-01 04:56:46 +08:00
|
|
|
</sect2>
|
|
|
|
|
2011-03-10 04:39:52 +08:00
|
|
|
<sect2 role="content">
|
|
|
|
<title>Contents</title>
|
|
|
|
|
|
|
|
<segmentedlist>
|
2012-04-16 01:19:58 +08:00
|
|
|
<segtitle>Installed Programs</segtitle>
|
2011-03-10 04:39:52 +08:00
|
|
|
<segtitle>Installed Libraries</segtitle>
|
2012-04-16 01:19:58 +08:00
|
|
|
<segtitle>Installed Directories</segtitle>
|
2011-03-10 04:39:52 +08:00
|
|
|
|
|
|
|
<seglistitem>
|
2014-01-03 22:45:45 +08:00
|
|
|
<seg>
|
2019-09-05 07:20:03 +08:00
|
|
|
phononsettings
|
2014-01-03 22:45:45 +08:00
|
|
|
</seg>
|
|
|
|
<seg>
|
2019-09-05 07:20:03 +08:00
|
|
|
libphonon4qt5.so and
|
2015-06-27 03:39:08 +08:00
|
|
|
libphonon4qt5experimental.so
|
2014-01-03 22:45:45 +08:00
|
|
|
</seg>
|
|
|
|
<seg>
|
2015-06-27 03:39:08 +08:00
|
|
|
/usr/include/phonon4qt5,
|
2022-03-10 20:36:57 +08:00
|
|
|
/usr/lib/cmake/phonon4qt5,
|
|
|
|
/usr/lib/plugins/designer, and
|
2015-06-27 03:39:08 +08:00
|
|
|
/usr/share/phonon4qt5
|
2014-01-03 22:45:45 +08:00
|
|
|
</seg>
|
2011-03-10 04:39:52 +08:00
|
|
|
</seglistitem>
|
|
|
|
</segmentedlist>
|
2013-11-06 01:25:06 +08:00
|
|
|
|
2011-03-10 04:39:52 +08:00
|
|
|
</sect2>
|
|
|
|
|
|
|
|
</sect1>
|