1 | <?xml version="1.0" encoding="UTF-8"?>
|
---|
2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
4 | <!ENTITY % general-entities SYSTEM "../general.ent">
|
---|
5 | %general-entities;
|
---|
6 |
|
---|
7 | <!ENTITY phonon-download-http "&kde-download-http;phonon/&phonon-version;/phonon-&phonon-version;.tar.xz">
|
---|
8 | <!ENTITY phonon-download-ftp " ">
|
---|
9 | <!ENTITY phonon-md5sum "e80e9c73967080016bdb3c0ee514ceab">
|
---|
10 | <!ENTITY phonon-size "400 KB">
|
---|
11 | <!ENTITY phonon-buildsize "23 MB">
|
---|
12 | <!ENTITY phonon-time "0.2 SBU (Using parallelism=4)">
|
---|
13 | ]>
|
---|
14 |
|
---|
15 | <sect1 id="phonon" xreflabel="phonon-&phonon-version;">
|
---|
16 | <?dbhtml filename="phonon.html"?>
|
---|
17 |
|
---|
18 |
|
---|
19 | <title>Phonon-&phonon-version;</title>
|
---|
20 |
|
---|
21 | <indexterm zone="phonon">
|
---|
22 | <primary sortas="a-phonon">phonon</primary>
|
---|
23 | </indexterm>
|
---|
24 |
|
---|
25 | <sect2 role="package">
|
---|
26 | <title>Introduction to Phonon</title>
|
---|
27 |
|
---|
28 | <para>
|
---|
29 | <application>Phonon</application> is the multimedia API for KDE.
|
---|
30 | It replaces the old <application>aRts</application> package.
|
---|
31 | Phonon needs the VLC backend.
|
---|
32 | </para>
|
---|
33 |
|
---|
34 | &lfs122_checked;
|
---|
35 |
|
---|
36 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
37 | <itemizedlist spacing="compact">
|
---|
38 | <listitem>
|
---|
39 | <para>
|
---|
40 | Download (HTTP): <ulink url="&phonon-download-http;"/>
|
---|
41 | </para>
|
---|
42 | </listitem>
|
---|
43 | <listitem>
|
---|
44 | <para>
|
---|
45 | Download (FTP): <ulink url="&phonon-download-ftp;"/>
|
---|
46 | </para>
|
---|
47 | </listitem>
|
---|
48 | <listitem>
|
---|
49 | <para>
|
---|
50 | Download MD5 sum: &phonon-md5sum;
|
---|
51 | </para>
|
---|
52 | </listitem>
|
---|
53 | <listitem>
|
---|
54 | <para>
|
---|
55 | Download size: &phonon-size;
|
---|
56 | </para>
|
---|
57 | </listitem>
|
---|
58 | <listitem>
|
---|
59 | <para>
|
---|
60 | Estimated disk space required: &phonon-buildsize;
|
---|
61 | </para>
|
---|
62 | </listitem>
|
---|
63 | <listitem>
|
---|
64 | <para>
|
---|
65 | Estimated build time: &phonon-time;
|
---|
66 | </para>
|
---|
67 | </listitem>
|
---|
68 | </itemizedlist>
|
---|
69 |
|
---|
70 | <bridgehead renderas="sect3">Phonon Dependencies</bridgehead>
|
---|
71 |
|
---|
72 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
73 | <para role="required">
|
---|
74 | <xref linkend="cmake"/>,
|
---|
75 | <xref linkend="extra-cmake-modules"/>,
|
---|
76 | <xref linkend="glib2"/>, and
|
---|
77 | <xref linkend="qt6"/>
|
---|
78 | </para>
|
---|
79 |
|
---|
80 | <para role="required">
|
---|
81 | <xref linkend="phonon-backend-vlc" role="runtime"/> needs to be
|
---|
82 | installed afterwards for multimedia operation in
|
---|
83 | <application>KDE</application>.
|
---|
84 | </para>
|
---|
85 |
|
---|
86 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
87 | <para role="optional">
|
---|
88 | <xref linkend="pulseaudio"/>
|
---|
89 | </para>
|
---|
90 |
|
---|
91 |
|
---|
92 | </sect2>
|
---|
93 |
|
---|
94 | <sect2 role="installation">
|
---|
95 | <title>Installation of Phonon</title>
|
---|
96 | <para>
|
---|
97 | Install <application>Phonon</application> by
|
---|
98 | running the following commands:
|
---|
99 | </para>
|
---|
100 |
|
---|
101 | <screen><userinput>mkdir build &&
|
---|
102 | cd build &&
|
---|
103 |
|
---|
104 | cmake -D CMAKE_INSTALL_PREFIX=/usr \
|
---|
105 | -D CMAKE_BUILD_TYPE=Release \
|
---|
106 | -W no-dev .. &&
|
---|
107 | make</userinput></screen>
|
---|
108 |
|
---|
109 | <para>
|
---|
110 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
111 | </para>
|
---|
112 |
|
---|
113 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
114 |
|
---|
115 | </sect2>
|
---|
116 |
|
---|
117 | <sect2 role="commands">
|
---|
118 | <title>Command Explanations</title>
|
---|
119 |
|
---|
120 | <para>
|
---|
121 | <parameter>-D CMAKE_BUILD_TYPE=Release</parameter>: This switch is used
|
---|
122 | to apply higher level of the compiler optimizations.
|
---|
123 | </para>
|
---|
124 |
|
---|
125 | </sect2>
|
---|
126 |
|
---|
127 | <sect2 role="content">
|
---|
128 | <title>Contents</title>
|
---|
129 |
|
---|
130 | <segmentedlist>
|
---|
131 | <segtitle>Installed Programs</segtitle>
|
---|
132 | <segtitle>Installed Libraries</segtitle>
|
---|
133 | <segtitle>Installed Directories</segtitle>
|
---|
134 |
|
---|
135 | <seglistitem>
|
---|
136 | <seg>
|
---|
137 | phononsettings
|
---|
138 | </seg>
|
---|
139 | <seg>
|
---|
140 | libphonon4qt6.so and
|
---|
141 | libphonon4qt6experimental.so
|
---|
142 | </seg>
|
---|
143 | <seg>
|
---|
144 | /usr/include/phonon4qt6,
|
---|
145 | /usr/lib/cmake/phonon4qt6, and
|
---|
146 | /usr/lib/plugins/designer
|
---|
147 | </seg>
|
---|
148 | </seglistitem>
|
---|
149 | </segmentedlist>
|
---|
150 |
|
---|
151 | </sect2>
|
---|
152 |
|
---|
153 | </sect1>
|
---|