source: multimedia/libdriv/liba52.xml@ dc40cb9

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 7.4 7.5 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gnome kde5-13430 kde5-14269 kde5-14686 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition systemd-11177 systemd-13485 trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since dc40cb9 was dc40cb9, checked in by Andrew Benton <andy@…>, 12 years ago

added -fPIC to a52dec's CFLAGS

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

  • Property mode set to 100644
File size: 5.3 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 liba52-download-http
8 "http://liba52.sourceforge.net/files/a52dec-&liba52-version;.tar.gz">
9 <!ENTITY liba52-download-ftp " ">
10 <!ENTITY liba52-md5sum "caa9f5bc44232dc8aeea773fea56be80">
11 <!ENTITY liba52-size "236 KB">
12 <!ENTITY liba52-buildsize "2.5 MB">
13 <!ENTITY liba52-time "less than 0.1 SBU">
14]>
15
16<sect1 id="liba52" xreflabel="liba52-&liba52-version;">
17 <?dbhtml filename="liba52.html"?>
18
19 <sect1info>
20 <othername>$LastChangedBy$</othername>
21 <date>$Date$</date>
22 </sect1info>
23
24 <title>Liba52-&liba52-version;</title>
25
26 <indexterm zone="liba52">
27 <primary sortas="a-Liba52">Liba52</primary>
28 </indexterm>
29
30 <sect2 role="package">
31 <title>Introduction to Liba52</title>
32
33 <para><application>liba52</application> is a free library for decoding
34 ATSC A/52 (also known as AC-3) streams. The A/52 standard is used
35 in a variety of applications, including digital television and DVD.</para>
36
37 &lfs70_checked;
38
39 <bridgehead renderas="sect3">Package Information</bridgehead>
40 <itemizedlist spacing="compact">
41 <listitem>
42 <para>Download (HTTP): <ulink url="&liba52-download-http;"/></para>
43 </listitem>
44 <listitem>
45 <para>Download (FTP): <ulink url="&liba52-download-ftp;"/></para>
46 </listitem>
47 <listitem>
48 <para>Download MD5 sum: &liba52-md5sum;</para>
49 </listitem>
50 <listitem>
51 <para>Download size: &liba52-size;</para>
52 </listitem>
53 <listitem>
54 <para>Estimated disk space required: &liba52-buildsize;</para>
55 </listitem>
56 <listitem>
57 <para>Estimated build time: &liba52-time;</para>
58 </listitem>
59 </itemizedlist>
60
61 <bridgehead renderas="sect4">Optional</bridgehead>
62 <para role="optional"><ulink
63 url="http://cr.yp.to/djbfft.html">djbfft</ulink></para>
64
65 <para condition="html" role="usernotes">User Notes:
66 <ulink url="&blfs-wiki;/liba52"/></para>
67 </sect2>
68
69 <sect2 role="installation">
70 <title>Installation of Liba52</title>
71
72 <para>Install <application>liba52</application> by running the
73 following commands:</para>
74
75<screen><userinput>./configure --prefix=/usr --enable-shared --disable-static \
76 CFLAGS="-g -O2 $([ $(arch) = x86_64 ] &amp;&amp; echo -fPIC)" &amp;&amp;
77make</userinput></screen>
78
79 <para>To test the results, issue: <command>make check</command>.</para>
80
81 <para>Now, as the <systemitem class="username">root</systemitem>
82 user:</para>
83
84<screen role="root"><userinput>make install &amp;&amp;
85cp liba52/a52_internal.h /usr/include/a52dec &amp;&amp;
86install -v -m644 -D doc/liba52.txt \
87 /usr/share/doc/liba52-&liba52-version;/liba52.txt</userinput></screen>
88 </sect2>
89
90 <sect2 role="commands">
91 <title>Command Explanations</title>
92
93 <para><parameter>CFLAGS="-g -O2 ...</parameter>: This sets CFLAGS to -g -O2
94 (which is the default) but then on x86_64 adds -fPIC. This is needed to
95 compile <application>liba52</application> on x86_64.</para>
96
97 <para><option>--disable-static</option>: This option stops it installing
98 the static version of the library.</para>
99
100 <para><command>cp liba52/a52_internal.h ...</command>: Copying this header
101 file into /usr/include/a52dec allows some other programs (such as
102 <application>xine-lib</application>) to compile and link against a system
103 installed <application>liba52</application>.</para>
104 </sect2>
105
106 <sect2 role="content">
107 <title>Contents</title>
108
109 <segmentedlist>
110 <segtitle>Installed Programs</segtitle>
111 <segtitle>Installed Library</segtitle>
112 <segtitle>Installed Directories</segtitle>
113
114 <seglistitem>
115 <seg>a52dec and extract_a52</seg>
116 <seg>liba52.so</seg>
117 <seg>/usr/include/a52dec and
118 /usr/share/doc/liba52-&liba52-version;</seg>
119 </seglistitem>
120 </segmentedlist>
121
122 <variablelist>
123 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
124 <?dbfo list-presentation="list"?>
125 <?dbhtml list-presentation="table"?>
126
127 <varlistentry id="a52dec">
128 <term><command>a52dec</command></term>
129 <listitem>
130 <para>plays ATSC A/52 audio streams.</para>
131 <indexterm zone="liba52 a52dec">
132 <primary sortas="b-a52dec">a52dec</primary>
133 </indexterm>
134 </listitem>
135 </varlistentry>
136
137 <varlistentry id="extract_a52">
138 <term><command>extract_a52</command></term>
139 <listitem>
140 <para>extracts ATSC A/52 audio from an MPEG stream.</para>
141 <indexterm zone="liba52 extract_a52">
142 <primary sortas="b-extract_a52">extract_a52</primary>
143 </indexterm>
144 </listitem>
145 </varlistentry>
146
147 <varlistentry id="liba52-lib">
148 <term><filename class='libraryfile'>liba52.so</filename></term>
149 <listitem>
150 <para>provides functions for the programs dealing with
151 ATSC A/52 streams.</para>
152 <indexterm zone="liba52 liba52-lib">
153 <primary sortas="c-liba52">liba52.so</primary>
154 </indexterm>
155 </listitem>
156 </varlistentry>
157 </variablelist>
158 </sect2>
159</sect1>
Note: See TracBrowser for help on using the repository browser.