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 |
|
---|
8 | <sect1 id="phonon5" xreflabel="Phonon-&phonon5-version;">
|
---|
9 | <?dbhtml filename="phonon.html"?>
|
---|
10 |
|
---|
11 | <sect1info>
|
---|
12 | <othername>$LastChangedBy$</othername>
|
---|
13 | <date>$Date$</date>
|
---|
14 | </sect1info>
|
---|
15 |
|
---|
16 | <title>Phonon-&phonon5-version;</title>
|
---|
17 |
|
---|
18 | <indexterm zone="phonon5">
|
---|
19 | <primary sortas="a-Phonon">Phonon</primary>
|
---|
20 | </indexterm>
|
---|
21 |
|
---|
22 | <sect2 role="package">
|
---|
23 | <title>Introduction to Phonon</title>
|
---|
24 |
|
---|
25 | <para>
|
---|
26 | The <application>Phonon</application> package contains a
|
---|
27 | multimedia framework for Qt5.
|
---|
28 | </para>
|
---|
29 |
|
---|
30 | &lfs75_checked;
|
---|
31 |
|
---|
32 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
33 | <itemizedlist spacing="compact">
|
---|
34 | <listitem>
|
---|
35 | <para>
|
---|
36 | Download (HTTP): <ulink url="&phonon5-download-http;"/>
|
---|
37 | </para>
|
---|
38 | </listitem>
|
---|
39 | <listitem>
|
---|
40 | <para>
|
---|
41 | Download (FTP): <ulink url="&phonon5-download-ftp;"/>
|
---|
42 | </para>
|
---|
43 | </listitem>
|
---|
44 | <listitem>
|
---|
45 | <para>
|
---|
46 | Download MD5 sum: &phonon5-md5sum;
|
---|
47 | </para>
|
---|
48 | </listitem>
|
---|
49 | <listitem>
|
---|
50 | <para>
|
---|
51 | Download size: &phonon5-size;
|
---|
52 | </para>
|
---|
53 | </listitem>
|
---|
54 | <listitem>
|
---|
55 | <para>
|
---|
56 | Estimated disk space required: &phonon5-buildsize;
|
---|
57 | </para>
|
---|
58 | </listitem>
|
---|
59 | <listitem>
|
---|
60 | <para>
|
---|
61 | Estimated build time: &phonon5-time;
|
---|
62 | </para>
|
---|
63 | </listitem>
|
---|
64 | </itemizedlist>
|
---|
65 |
|
---|
66 | <bridgehead renderas="sect3">Phonon Dependencies</bridgehead>
|
---|
67 |
|
---|
68 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
69 | <para role="required">
|
---|
70 | <xref linkend="extra-cmake-modules"/>,
|
---|
71 | <xref linkend="glib2"/> and
|
---|
72 | <xref linkend="qt5"/>
|
---|
73 | </para>
|
---|
74 |
|
---|
75 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
76 | <para role="optional">
|
---|
77 | <xref linkend="pulseaudio"/>
|
---|
78 | </para>
|
---|
79 |
|
---|
80 | <bridgehead renderas="sect4">Runtime Dependency</bridgehead>
|
---|
81 | <para role="optional">
|
---|
82 | <xref linkend="phonon-backend-gstreamer5"/> or
|
---|
83 | <xref linkend="phonon-backend-vlc5"/> or both
|
---|
84 | </para>
|
---|
85 |
|
---|
86 | <para condition="html" role="usernotes">
|
---|
87 | User Notes: <ulink url="&blfs-wiki;/phonon5"/>
|
---|
88 | </para>
|
---|
89 | </sect2>
|
---|
90 |
|
---|
91 | <sect2 role="installation">
|
---|
92 | <title>Installation of Phonon</title>
|
---|
93 |
|
---|
94 | <para>
|
---|
95 | Install <application>Phonon</application> by running the following
|
---|
96 | commands:
|
---|
97 | </para>
|
---|
98 |
|
---|
99 | <screen><userinput>mkdir build &&
|
---|
100 | cd build &&
|
---|
101 |
|
---|
102 | cmake -DCMAKE_INSTALL_PREFIX=$KF5_PREFIX \
|
---|
103 | -DCMAKE_BUILD_TYPE=Release \
|
---|
104 | -DCMAKE_INSTALL_LIBDIR=lib \
|
---|
105 | -DPHONON_BUILD_PHONON4QT5=ON \
|
---|
106 | -Wno-dev .. &&
|
---|
107 | make</userinput></screen>
|
---|
108 |
|
---|
109 | <para>
|
---|
110 | This package does not come with a test suite.
|
---|
111 | </para>
|
---|
112 |
|
---|
113 | <para>
|
---|
114 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
115 | </para>
|
---|
116 |
|
---|
117 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
118 |
|
---|
119 | </sect2>
|
---|
120 |
|
---|
121 | <sect2 role="commands">
|
---|
122 | <title>Command Explanations</title>
|
---|
123 |
|
---|
124 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
125 | href="../../xincludes/cmake-release.xml"/>
|
---|
126 |
|
---|
127 | <para>
|
---|
128 | <parameter>-DCMAKE_INSTALL_LIBDIR=lib</parameter>: This switch is used
|
---|
129 | to get libraries to install to <filename
|
---|
130 | class="directory">$KF5_PREFIX/lib</filename> instead of <filename
|
---|
131 | class="directory">$KF5_PREFIX/lib64</filename> on a 64 bit system.
|
---|
132 | </para>
|
---|
133 |
|
---|
134 | <para>
|
---|
135 | <parameter>-DPHONON_BUILD_PHONON4QT5=ON</parameter>: This switch is used
|
---|
136 | to ensure that <application>Qt5</application> version of the library is
|
---|
137 | built even if <application>Qt4</application> is present.
|
---|
138 | </para>
|
---|
139 |
|
---|
140 | </sect2>
|
---|
141 |
|
---|
142 | <sect2 role="content">
|
---|
143 | <title>Contents</title>
|
---|
144 |
|
---|
145 | <segmentedlist>
|
---|
146 | <segtitle>Installed Programs</segtitle>
|
---|
147 | <segtitle>Installed Libraries</segtitle>
|
---|
148 | <segtitle>Installed Directories</segtitle>
|
---|
149 |
|
---|
150 | <seglistitem>
|
---|
151 | <seg>
|
---|
152 | None
|
---|
153 | </seg>
|
---|
154 | <seg>
|
---|
155 | libphonon4qt5experimental.so and libphonon4qt5.so
|
---|
156 | </seg>
|
---|
157 | <seg>
|
---|
158 | $KF5_PREFIX/include/phonon4qt5,
|
---|
159 | $KF5_PREFIX/lib/cmake/phonon4qt5 and
|
---|
160 | $KF5_PREFIX/share/phonon4qt5
|
---|
161 | </seg>
|
---|
162 | </seglistitem>
|
---|
163 | </segmentedlist>
|
---|
164 |
|
---|
165 | </sect2>
|
---|
166 |
|
---|
167 | </sect1>
|
---|