source: multimedia/libdriv/liba52.xml@ f33b456

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 9.1 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt 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 f33b456 was f33b456, checked in by Bruce Dubbs <bdubbs@…>, 4 years ago

Update to postgresql-12.2.
Update to LVM2.2.03.08.
Update to mlt-6.20.0.
Update to x264-20200218.
Update to x265-3.3.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@22724 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 &lfs91_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 \
76 --mandir=/usr/share/man \
77 --enable-shared \
78 --disable-static \
79 CFLAGS="-g -O2 $([ $(uname -m) = x86_64 ] &amp;&amp; echo -fPIC)" &amp;&amp;
80make</userinput></screen>
81
82 <para>To test the results, issue: <command>make check</command>.</para>
83
84 <para>Now, as the <systemitem class="username">root</systemitem>
85 user:</para>
86
87<screen role="root"><userinput>make install &amp;&amp;
88cp liba52/a52_internal.h /usr/include/a52dec &amp;&amp;
89install -v -m644 -D doc/liba52.txt \
90 /usr/share/doc/liba52-&liba52-version;/liba52.txt</userinput></screen>
91 </sect2>
92
93 <sect2 role="commands">
94 <title>Command Explanations</title>
95
96 <para><parameter>CFLAGS="-g -O2 ...</parameter>: This sets CFLAGS to -g -O2
97 (which is the default) but then on x86_64 adds -fPIC. This is needed to
98 compile <application>liba52</application> on x86_64.</para>
99
100 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
101 href="../../xincludes/static-libraries.xml"/>
102
103 <para><command>cp liba52/a52_internal.h ...</command>: Copying this header
104 file into /usr/include/a52dec allows some other programs (such as
105 <application>xine-lib</application>) to compile and link against a system
106 installed <application>liba52</application>.</para>
107 </sect2>
108
109 <sect2 role="content">
110 <title>Contents</title>
111
112 <segmentedlist>
113 <segtitle>Installed Programs</segtitle>
114 <segtitle>Installed Library</segtitle>
115 <segtitle>Installed Directories</segtitle>
116
117 <seglistitem>
118 <seg>a52dec and extract_a52</seg>
119 <seg>liba52.so</seg>
120 <seg>/usr/include/a52dec and
121 /usr/share/doc/liba52-&liba52-version;</seg>
122 </seglistitem>
123 </segmentedlist>
124
125 <variablelist>
126 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
127 <?dbfo list-presentation="list"?>
128 <?dbhtml list-presentation="table"?>
129
130 <varlistentry id="a52dec">
131 <term><command>a52dec</command></term>
132 <listitem>
133 <para>plays ATSC A/52 audio streams.</para>
134 <indexterm zone="liba52 a52dec">
135 <primary sortas="b-a52dec">a52dec</primary>
136 </indexterm>
137 </listitem>
138 </varlistentry>
139
140 <varlistentry id="extract_a52">
141 <term><command>extract_a52</command></term>
142 <listitem>
143 <para>extracts ATSC A/52 audio from an MPEG stream.</para>
144 <indexterm zone="liba52 extract_a52">
145 <primary sortas="b-extract_a52">extract_a52</primary>
146 </indexterm>
147 </listitem>
148 </varlistentry>
149
150 <varlistentry id="liba52-lib">
151 <term><filename class='libraryfile'>liba52.so</filename></term>
152 <listitem>
153 <para>provides functions for the programs dealing with
154 ATSC A/52 streams.</para>
155 <indexterm zone="liba52 liba52-lib">
156 <primary sortas="c-liba52">liba52.so</primary>
157 </indexterm>
158 </listitem>
159 </varlistentry>
160 </variablelist>
161 </sect2>
162</sect1>
Note: See TracBrowser for help on using the repository browser.