source: kde/phonon-backend-gstreamer.xml@ ade6157

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 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 ade6157 was 7a34460d, checked in by Bruce Dubbs <bdubbs@…>, 8 years ago

Update to extra-cmake-modules-5.19.0
Tags

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

  • Property mode set to 100644
File size: 7.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-backend-gstreamer-download-http "&kde-download-http;phonon/phonon-backend-gstreamer/&phonon-backend-gstreamer-version;/src/phonon-backend-gstreamer-&phonon-backend-gstreamer-version;.tar.xz">
8 <!ENTITY phonon-backend-gstreamer-download-ftp "&kde-download-ftp;phonon/phonon-backend-gstreamer/&phonon-backend-gstreamer-version;/src/phonon-backend-gstreamer-&phonon-backend-gstreamer-version;.tar.xz">
9 <!ENTITY phonon-backend-gstreamer-md5sum "ce441035dc5a00ffaac9a64518ab5c62">
10 <!ENTITY phonon-backend-gstreamer-size "76 KB">
11 <!ENTITY phonon-backend-gstreamer-buildsize "4.1 MB">
12 <!ENTITY phonon-backend-gstreamer-time "0.2 SBU">
13]>
14
15<sect1 id="phonon-backend-gstreamer" xreflabel="phonon-backend-gstreamer-&phonon-backend-gstreamer-version;">
16 <?dbhtml filename="phonon-backend-gstreamer.html"?>
17
18 <sect1info>
19 <othername>$LastChangedBy$</othername>
20 <date>$Date$</date>
21 </sect1info>
22
23 <title>Phonon-backend-gstreamer-&phonon-backend-gstreamer-version;</title>
24
25 <indexterm zone="phonon-backend-gstreamer">
26 <primary sortas="a-phonon-backend-gstreamer">phonon-backend-gstreamer</primary>
27 </indexterm>
28
29 <sect2 role="package">
30 <title>Introduction to the Phonon-backend-gstreamer</title>
31
32 <para>This package provides a <application>Phonon</application> backend
33 which utilizes the <application>GStreamer</application> media framework.
34 Its library is used by both KDE4 and KF5, but they must be linked to <xref
35 linkend="qt4"/> and <xref linkend="qt5"/> respectively. The two versions
36 do not conflict with each other. </para>
37
38 &lfs79_checked;
39
40 <bridgehead renderas="sect3">Package Information</bridgehead>
41 <itemizedlist spacing="compact">
42 <listitem>
43 <para>Download (HTTP): <ulink url="&phonon-backend-gstreamer-download-http;"/></para>
44 </listitem>
45 <listitem>
46 <para>Download (FTP): <ulink url="&phonon-backend-gstreamer-download-ftp;"/></para>
47 </listitem>
48 <listitem>
49 <para>Download MD5 sum: &phonon-backend-gstreamer-md5sum;</para>
50 </listitem>
51 <listitem>
52 <para>Download size: &phonon-backend-gstreamer-size;</para>
53 </listitem>
54 <listitem>
55 <para>Estimated disk space required: &phonon-backend-gstreamer-buildsize;</para>
56 </listitem>
57 <listitem>
58 <para>Estimated build time: &phonon-backend-gstreamer-time;</para>
59 </listitem>
60 </itemizedlist>
61
62 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
63 <itemizedlist spacing="compact">
64 <listitem>
65 <para>
66 Required download:
67 <ulink url="&patch-root;/phonon-backend-gstreamer-&phonon-backend-gstreamer-version;-compatibility-1.patch"/>
68 </para>
69 </listitem>
70 </itemizedlist>
71
72 <bridgehead renderas="sect3">Phonon-backend-gstreamer Dependencies</bridgehead>
73
74 <bridgehead renderas="sect4">Required</bridgehead>
75 <para role="required">
76 <xref linkend="gstreamer10"/>,
77 <xref linkend="libxml2"/>, and
78 <xref linkend="phonon"/>
79 </para>
80
81 <bridgehead renderas="sect4">Recommended</bridgehead>
82 <para role="recommended">
83 <xref linkend="gst10-plugins-base"/> (needed for output to ALSA),
84 <xref linkend="gst10-plugins-good"/> (needed for output to PulseAudio),
85 <xref linkend="gst10-plugins-bad"/> (needed for AAC/M4A support), and
86 <xref linkend="gst10-plugins-ugly"/> (needed for MP3 support)
87 </para>
88
89 <para condition="html" role="usernotes">User Notes:
90 <ulink url="&blfs-wiki;/phonon-backend-gstreamer"/></para>
91
92 </sect2>
93
94 <sect2 role="installation">
95 <title>Installation of Phonon-backend-gstreamer</title>
96
97 <para>For both build variants, fix the package to work with the
98 latest gstreamer:</para>
99
100<screen><userinput>patch -Np1 -i ../phonon-backend-gstreamer-&phonon-backend-gstreamer-version;-compatibility-1.patch</userinput></screen>
101
102 <para>Install the qt4 based version of
103 <application>Phonon-backend-gstreamer</application> by running the
104 following commands:</para>
105
106<screen><userinput>source /usr/bin/setqt4 &amp;&amp;
107
108mkdir build &amp;&amp;
109cd build &amp;&amp;
110
111cmake -DCMAKE_INSTALL_PREFIX=/usr \
112 -DCMAKE_INSTALL_LIBDIR=lib \
113 -DCMAKE_BUILD_TYPE=Release \
114 -Wno-dev .. &amp;&amp;
115make</userinput></screen>
116
117 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
118
119<screen role="root"><userinput>make install</userinput></screen>
120
121 <para>Install the qt5 based version of
122 <application>Phonon-backend-gstreamer</application> by running the
123 following commands:</para>
124
125<screen><userinput>source /usr/bin/setqt5 &amp;&amp;
126
127mkdir build &amp;&amp;
128cd build &amp;&amp;
129
130cmake -DCMAKE_INSTALL_PREFIX=/usr \
131 -DCMAKE_INSTALL_LIBDIR=lib \
132 -DCMAKE_BUILD_TYPE=Release \
133 -DPHONON_BUILD_PHONON4QT5=ON \
134 -D__KDE_HAVE_GCC_VISIBILITY=NO \
135 -Wno-dev .. &amp;&amp;
136make</userinput></screen>
137
138 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
139
140<screen role="root"><userinput>make install</userinput></screen>
141
142 </sect2>
143
144 <sect2 role="commands">
145 <title>Command Explanations</title>
146
147 <para><option>-DCMAKE_BUILD_TYPE=Release</option>: This switch is used to
148 apply higher level of compiler optimizations.</para>
149
150 <para><option>-DCMAKE_INSTALL_LIBDIR=lib</option>: This switch is used to
151 get libraries to install to /usr/lib instead of /usr/lib64 on a 64 bit
152 system.</para>
153
154 <para><option>-DPHONON_BUILD_PHONON4QT5=ON</option>: This switch is used to
155 ensure that Qt5 version of the backend is built even if Qt4 is present.</para>
156
157 <para><option>-D__KDE_HAVE_GCC_VISIBILITY=NO</option>: This switch is used to
158 disable a check that would cause cmake to fail when using Qt-5.4.2 or later.</para>
159
160 </sect2>
161
162 <sect2 role="content">
163 <title>Contents</title>
164
165 <segmentedlist>
166 <segtitle>Installed Programs</segtitle>
167 <segtitle>Installed Libraries</segtitle>
168 <segtitle>Installed Directories</segtitle>
169
170 <seglistitem>
171 <seg>none</seg>
172 <seg>phonon_gstreamer.so (two versions in different directories)</seg>
173 <seg>/usr/lib/kde4/plugins/phonon_backend,
174 /usr/lib/qt5/plugins/phonon4qt5_backend, and
175 /usr/share/kde4/services/phononbackends</seg>
176 </seglistitem>
177 </segmentedlist>
178<!--
179 <variablelist>
180 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
181 <?dbfo list-presentation="list"?>
182 <?dbhtml list-presentation="table"?>
183
184 <varlistentry id="a-phonon">
185 <term><command>phonon</command></term>
186 <listitem>
187 <para>is a testing utility for phonon-backend-gstreamer-generated build trees.</para>
188 <indexterm zone="a-phonon phonon">
189 <primary sortas="b-phonon">phonon</primary>
190 </indexterm>
191 </listitem>
192 </varlistentry>
193
194 </variablelist>
195-->
196 </sect2>
197
198</sect1>
Note: See TracBrowser for help on using the repository browser.