1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
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 "d3df5ba646e4b3f11623d998caa40e74">
|
---|
10 | <!ENTITY phonon-size "308 KB">
|
---|
11 | <!ENTITY phonon-buildsize "12 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 either the GStreamer or VLC backend.
|
---|
32 | </para>
|
---|
33 |
|
---|
34 | &lfs120_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="qt5"/>
|
---|
78 | </para>
|
---|
79 |
|
---|
80 | <para role="required">
|
---|
81 | At least one of <xref linkend="phonon-backend-gstreamer" role="runtime"/>
|
---|
82 | or <xref linkend="phonon-backend-vlc" role="runtime"/> needs to be
|
---|
83 | installed afterwards for multimedia operation in
|
---|
84 | <application>KDE</application>.
|
---|
85 | </para>
|
---|
86 |
|
---|
87 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
88 | <para role="optional">
|
---|
89 | <xref linkend="pulseaudio"/>
|
---|
90 | </para>
|
---|
91 |
|
---|
92 |
|
---|
93 | </sect2>
|
---|
94 |
|
---|
95 | <sect2 role="installation">
|
---|
96 | <title>Installation of Phonon</title>
|
---|
97 | <para>
|
---|
98 | Install <application>Phonon</application> by
|
---|
99 | running the following commands:
|
---|
100 | </para>
|
---|
101 |
|
---|
102 | <screen><userinput>mkdir build &&
|
---|
103 | cd build &&
|
---|
104 |
|
---|
105 | cmake -DCMAKE_INSTALL_PREFIX=/usr \
|
---|
106 | -DCMAKE_BUILD_TYPE=Release \
|
---|
107 | .. &&
|
---|
108 | make</userinput></screen>
|
---|
109 |
|
---|
110 | <para>
|
---|
111 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
112 | </para>
|
---|
113 |
|
---|
114 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
115 |
|
---|
116 | </sect2>
|
---|
117 |
|
---|
118 | <sect2 role="commands">
|
---|
119 | <title>Command Explanations</title>
|
---|
120 |
|
---|
121 | <para>
|
---|
122 | <parameter>-DCMAKE_BUILD_TYPE=Release</parameter>: This switch is used
|
---|
123 | to apply higher level of the compiler optimizations.
|
---|
124 | </para>
|
---|
125 | <!--
|
---|
126 | <para>
|
---|
127 | <parameter>-DPHONON_INSTALL_QT_EXTENSIONS_INTO_SYSTEM_QT=FALSE</parameter>:
|
---|
128 | This switch ensures that the plugins and mkspecs files get installed in
|
---|
129 | the correct location.
|
---|
130 | </para>
|
---|
131 |
|
---|
132 | <para>
|
---|
133 | <parameter>-DPHONON_BUILD_PHONON4QT5=ON</parameter>: This switch is used to
|
---|
134 | ensure that Qt5 version of the library is built even if Qt4 is present.
|
---|
135 | </para>
|
---|
136 | -->
|
---|
137 | </sect2>
|
---|
138 |
|
---|
139 | <sect2 role="content">
|
---|
140 | <title>Contents</title>
|
---|
141 |
|
---|
142 | <segmentedlist>
|
---|
143 | <segtitle>Installed Programs</segtitle>
|
---|
144 | <segtitle>Installed Libraries</segtitle>
|
---|
145 | <segtitle>Installed Directories</segtitle>
|
---|
146 |
|
---|
147 | <seglistitem>
|
---|
148 | <seg>
|
---|
149 | phononsettings
|
---|
150 | </seg>
|
---|
151 | <seg>
|
---|
152 | libphonon4qt5.so and
|
---|
153 | libphonon4qt5experimental.so
|
---|
154 | </seg>
|
---|
155 | <seg>
|
---|
156 | /usr/include/phonon4qt5,
|
---|
157 | /usr/lib/cmake/phonon4qt5,
|
---|
158 | /usr/lib/plugins/designer, and
|
---|
159 | /usr/share/phonon4qt5
|
---|
160 | </seg>
|
---|
161 | </seglistitem>
|
---|
162 | </segmentedlist>
|
---|
163 |
|
---|
164 | </sect2>
|
---|
165 |
|
---|
166 | </sect1>
|
---|