source: kde/kf5/phonon5.xml@ 632bfad

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 632bfad was 632bfad, checked in by Bruce Dubbs <bdubbs@…>, 9 years ago

Reorganize KDE to support KDE Frameworks 5.
Move several packages to the introduction that are common to KDE4 and FK5.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@16173 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 5.1 KB
Line 
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;/src/phonon-&phonon-version;.tar.xz">
8 <!ENTITY phonon-download-ftp "&kde-download-ftp;phonon/&phonon-version;/src/phonon-&phonon-version;.tar.xz">
9 <!ENTITY phonon-md5sum "88bb9867261803eed61ff53a7c026338">
10 <!ENTITY phonon-size "316 KB">
11 <!ENTITY phonon-buildsize "11.7 MB">
12 <!ENTITY phonon-time "0.4 SBU">
13]>
14
15<sect1 id="phonon5" xreflabel="phonon-&phonon-version; (Qt5)">
16 <?dbhtml filename="phonon5.html"?>
17
18 <sect1info>
19 <othername>$LastChangedBy$</othername>
20 <date>$Date$</date>
21 </sect1info>
22
23 <title>Phonon-&phonon-version; (Qt5)</title>
24
25 <indexterm zone="phonon5">
26 <primary sortas="a-phonon5">phonon</primary>
27 </indexterm>
28
29 <sect2 role="package">
30 <title>Introduction to Phonon (Qt5)</title>
31
32 <para><application>Phonon</application> is the multimedia API for KDE5.
33 This is the same version of Phonon used in KDE4, but must be linked
34 usign Qt5 libraries.
35 Phonon needs either the GStreamer or VLC backend.</para>
36
37 &lfs77_checked; &gcc5_checked;
38
39 <bridgehead renderas="sect3">Package Information</bridgehead>
40 <itemizedlist spacing="compact">
41 <listitem>
42 <para>Download (HTTP): <ulink url="&phonon-download-http;"/></para>
43 </listitem>
44 <listitem>
45 <para>Download (FTP): <ulink url="&phonon-download-ftp;"/></para>
46 </listitem>
47 <listitem>
48 <para>Download MD5 sum: &phonon-md5sum;</para>
49 </listitem>
50 <listitem>
51 <para>Download size: &phonon-size;</para>
52 </listitem>
53 <listitem>
54 <para>Estimated disk space required: &phonon-buildsize;</para>
55 </listitem>
56 <listitem>
57 <para>Estimated build time: &phonon-time;</para>
58 </listitem>
59 </itemizedlist>
60
61 <bridgehead renderas="sect3">Phonon Dependencies</bridgehead>
62
63 <bridgehead renderas="sect4">Required</bridgehead>
64 <para role="required">
65 <xref linkend="cmake"/>,
66 <xref linkend="glib2"/>, and
67 <xref linkend="qt5"/>
68 </para>
69
70 <bridgehead renderas="sect4">Optional</bridgehead>
71 <para role="optional">
72 <xref linkend="pulseaudio"/>
73 </para>
74
75 <para condition="html" role="usernotes">User Notes:
76 <ulink url="&blfs-wiki;/phonon"/></para>
77
78 </sect2>
79
80 <sect2 role="installation">
81 <title>Installation of Phonon</title>
82
83 <para>Make sure <xref linkend="qt4"/> has been built without the bundled
84 <application>Phonon</application> library. This package provides
85 a better implementation.</para>
86
87 <note>
88 <para>
89 If you have both Qt4 and Qt5 installed, be sure to run
90 <userinput>source setqt4</userinput> before installing Phonon.
91 </para>
92
93 </note>
94
95 <para>Install <application>Phonon</application> by running the following
96 commands:</para>
97
98<screen><userinput>sed -i "s:BSD_SOURCE:DEFAULT_SOURCE:g" cmake/FindPhononInternal.cmake &amp;&amp;
99
100mkdir build &amp;&amp;
101cd build &amp;&amp;
102
103cmake -DCMAKE_INSTALL_PREFIX=&kde-dir; \
104 -DCMAKE_BUILD_TYPE=Release \
105 -DCMAKE_INSTALL_LIBDIR=lib \
106 -DPHONON_INSTALL_QT_EXTENSIONS_INTO_SYSTEM_QT=FALSE \
107 -DDBUS_INTERFACES_INSTALL_DIR=/usr/share/dbus-1/interfaces \
108 -Wno-dev .. &amp;&amp;
109make</userinput></screen>
110
111 <para>Now, as the <systemitem class="username">root</systemitem> user:</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 <command>sed ... cmake/FindPhononInternal.cmake</command>: Silence
122 a lot of warnings caused by the latest toolchain.
123 </para>
124
125 <para>
126 <parameter>-DCMAKE_BUILD_TYPE=Release</parameter>: This switch is used
127 to apply higher level of the compiler optimizations.
128 </para>
129
130 <para>
131 <parameter>-DPHONON_INSTALL_QT_EXTENSIONS_INTO_SYSTEM_QT=FALSE</parameter>:
132 This switch ensures that the plugins and mkspecs files get installed in
133 the correct location.
134 </para>
135
136 <para>
137 <parameter>-DDBUS_INTERFACES_INSTALL_DIR=/usr/share/dbus-1/interfaces</parameter>:
138 This switch sets the correct installation path for the
139 <application>D-Bus</application> interfaces file.
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 None
155 </seg>
156 <seg>
157 libphonon.so and
158 libphononexperimental.so
159 </seg>
160 <seg>
161 &kde-dir;/include/KDE/Phonon,
162 &kde-dir;/include/phonon,
163 &kde-dir;/lib/cmake/phonon, and
164 &kde-dir;/share/phonon
165 </seg>
166 </seglistitem>
167 </segmentedlist>
168
169 </sect2>
170
171</sect1>
Note: See TracBrowser for help on using the repository browser.