source: multimedia/libdriv/liba52.xml@ d881507

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 12.2 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 gimp3 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/for-12.3 xry111/intltool xry111/llvm18 xry111/soup3 xry111/spidermonkey128 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since d881507 was d881507, checked in by Krejzi <krejzi@…>, 11 years ago

check some packages.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@11531 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 &lfs73_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 <para><option>--disable-static</option>: This option stops it installing
101 the static version of the library.</para>
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.