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 | <sect1info>
|
---|
19 | <date>$Date$</date>
|
---|
20 | </sect1info>
|
---|
21 |
|
---|
22 | <title>Phonon-&phonon-version;</title>
|
---|
23 |
|
---|
24 | <indexterm zone="phonon">
|
---|
25 | <primary sortas="a-phonon">phonon</primary>
|
---|
26 | </indexterm>
|
---|
27 |
|
---|
28 | <sect2 role="package">
|
---|
29 | <title>Introduction to Phonon</title>
|
---|
30 |
|
---|
31 | <para>
|
---|
32 | <application>Phonon</application> is the multimedia API for KDE.
|
---|
33 | It replaces the old <application>aRts</application> package.
|
---|
34 | Phonon needs either the GStreamer or VLC backend.
|
---|
35 | </para>
|
---|
36 |
|
---|
37 | &lfs111_checked;
|
---|
38 |
|
---|
39 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
40 | <itemizedlist spacing="compact">
|
---|
41 | <listitem>
|
---|
42 | <para>
|
---|
43 | Download (HTTP): <ulink url="&phonon-download-http;"/>
|
---|
44 | </para>
|
---|
45 | </listitem>
|
---|
46 | <listitem>
|
---|
47 | <para>
|
---|
48 | Download (FTP): <ulink url="&phonon-download-ftp;"/>
|
---|
49 | </para>
|
---|
50 | </listitem>
|
---|
51 | <listitem>
|
---|
52 | <para>
|
---|
53 | Download MD5 sum: &phonon-md5sum;
|
---|
54 | </para>
|
---|
55 | </listitem>
|
---|
56 | <listitem>
|
---|
57 | <para>
|
---|
58 | Download size: &phonon-size;
|
---|
59 | </para>
|
---|
60 | </listitem>
|
---|
61 | <listitem>
|
---|
62 | <para>
|
---|
63 | Estimated disk space required: &phonon-buildsize;
|
---|
64 | </para>
|
---|
65 | </listitem>
|
---|
66 | <listitem>
|
---|
67 | <para>
|
---|
68 | Estimated build time: &phonon-time;
|
---|
69 | </para>
|
---|
70 | </listitem>
|
---|
71 | </itemizedlist>
|
---|
72 |
|
---|
73 | <bridgehead renderas="sect3">Phonon Dependencies</bridgehead>
|
---|
74 |
|
---|
75 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
76 | <para role="required">
|
---|
77 | <xref linkend="cmake"/>,
|
---|
78 | <xref linkend="extra-cmake-modules"/>,
|
---|
79 | <xref linkend="glib2"/>, and
|
---|
80 | <xref linkend="qt5"/>
|
---|
81 | </para>
|
---|
82 |
|
---|
83 | <para role="required">
|
---|
84 | At least one of <xref linkend="phonon-backend-gstreamer" role="runtime"/>
|
---|
85 | or <xref linkend="phonon-backend-vlc" role="runtime"/> needs to be
|
---|
86 | installed afterwards for multimedia operation in
|
---|
87 | <application>KDE</application>.
|
---|
88 | </para>
|
---|
89 |
|
---|
90 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
91 | <para role="optional">
|
---|
92 | <xref linkend="pulseaudio"/>
|
---|
93 | </para>
|
---|
94 |
|
---|
95 | <para condition="html" role="usernotes">User Notes:
|
---|
96 | <ulink url="&blfs-wiki;/phonon"/></para>
|
---|
97 |
|
---|
98 | </sect2>
|
---|
99 |
|
---|
100 | <sect2 role="installation">
|
---|
101 | <title>Installation of Phonon</title>
|
---|
102 | <para>
|
---|
103 | Install <application>Phonon</application> by
|
---|
104 | running the following commands:
|
---|
105 | </para>
|
---|
106 |
|
---|
107 | <screen><userinput>mkdir build &&
|
---|
108 | cd build &&
|
---|
109 |
|
---|
110 | cmake -DCMAKE_INSTALL_PREFIX=/usr \
|
---|
111 | -DCMAKE_BUILD_TYPE=Release \
|
---|
112 | .. &&
|
---|
113 | make</userinput></screen>
|
---|
114 |
|
---|
115 | <para>
|
---|
116 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
117 | </para>
|
---|
118 |
|
---|
119 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
120 |
|
---|
121 | </sect2>
|
---|
122 |
|
---|
123 | <sect2 role="commands">
|
---|
124 | <title>Command Explanations</title>
|
---|
125 |
|
---|
126 | <para>
|
---|
127 | <parameter>-DCMAKE_BUILD_TYPE=Release</parameter>: This switch is used
|
---|
128 | to apply higher level of the compiler optimizations.
|
---|
129 | </para>
|
---|
130 | <!--
|
---|
131 | <para>
|
---|
132 | <parameter>-DPHONON_INSTALL_QT_EXTENSIONS_INTO_SYSTEM_QT=FALSE</parameter>:
|
---|
133 | This switch ensures that the plugins and mkspecs files get installed in
|
---|
134 | the correct location.
|
---|
135 | </para>
|
---|
136 |
|
---|
137 | <para>
|
---|
138 | <parameter>-DPHONON_BUILD_PHONON4QT5=ON</parameter>: This switch is used to
|
---|
139 | ensure that Qt5 version of the library is built even if Qt4 is present.
|
---|
140 | </para>
|
---|
141 | -->
|
---|
142 | </sect2>
|
---|
143 |
|
---|
144 | <sect2 role="content">
|
---|
145 | <title>Contents</title>
|
---|
146 |
|
---|
147 | <segmentedlist>
|
---|
148 | <segtitle>Installed Programs</segtitle>
|
---|
149 | <segtitle>Installed Libraries</segtitle>
|
---|
150 | <segtitle>Installed Directories</segtitle>
|
---|
151 |
|
---|
152 | <seglistitem>
|
---|
153 | <seg>
|
---|
154 | phononsettings
|
---|
155 | </seg>
|
---|
156 | <seg>
|
---|
157 | libphonon4qt5.so and
|
---|
158 | libphonon4qt5experimental.so
|
---|
159 | </seg>
|
---|
160 | <seg>
|
---|
161 | /usr/include/phonon4qt5,
|
---|
162 | /usr/lib/cmake/phonon4qt5,
|
---|
163 | /usr/lib/plugins/designer, and
|
---|
164 | /usr/share/phonon4qt5
|
---|
165 | </seg>
|
---|
166 | </seglistitem>
|
---|
167 | </segmentedlist>
|
---|
168 |
|
---|
169 | </sect2>
|
---|
170 |
|
---|
171 | </sect1>
|
---|