Changeset dc40cb9
- Timestamp:
- 02/12/2012 04:58:20 PM (12 years ago)
- Branches:
- 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
- Children:
- 112fefc
- Parents:
- 5f903c6
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
multimedia/libdriv/liba52.xml
r5f903c6 rdc40cb9 5 5 %general-entities; 6 6 7 <!ENTITY liba52-download-http "http://liba52.sourceforge.net/files/a52dec-&liba52-version;.tar.gz"> 7 <!ENTITY liba52-download-http 8 "http://liba52.sourceforge.net/files/a52dec-&liba52-version;.tar.gz"> 8 9 <!ENTITY liba52-download-ftp " "> 9 10 <!ENTITY liba52-md5sum "caa9f5bc44232dc8aeea773fea56be80"> … … 34 35 in a variety of applications, including digital television and DVD.</para> 35 36 36 &lfs 65_checked;37 &lfs70_checked; 37 38 38 39 <bridgehead renderas="sect3">Package Information</bridgehead> … … 58 59 </itemizedlist> 59 60 61 <bridgehead renderas="sect4">Optional</bridgehead> 62 <para role="optional"><ulink 63 url="http://cr.yp.to/djbfft.html">djbfft</ulink></para> 64 60 65 <para condition="html" role="usernotes">User Notes: 61 66 <ulink url="&blfs-wiki;/liba52"/></para> 62 63 67 </sect2> 64 68 … … 69 73 following commands:</para> 70 74 71 <screen><userinput>./configure --prefix=/usr --enable-shared && 75 <screen><userinput>./configure --prefix=/usr --enable-shared --disable-static \ 76 CFLAGS="-g -O2 $([ $(arch) = x86_64 ] && echo -fPIC)" && 72 77 make</userinput></screen> 73 78 74 79 <para>To test the results, issue: <command>make check</command>.</para> 75 80 76 <para>Now, as the <systemitem class="username">root</systemitem> user:</para> 81 <para>Now, as the <systemitem class="username">root</systemitem> 82 user:</para> 77 83 78 84 <screen role="root"><userinput>make install && 85 cp liba52/a52_internal.h /usr/include/a52dec && 79 86 install -v -m644 -D doc/liba52.txt \ 80 87 /usr/share/doc/liba52-&liba52-version;/liba52.txt</userinput></screen> 88 </sect2> 81 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> 82 104 </sect2> 83 105 … … 92 114 <seglistitem> 93 115 <seg>a52dec and extract_a52</seg> 94 <seg>liba52.{so,a}</seg> 95 <seg>/usr/include/a52dec and /usr/share/doc/liba52-&liba52-version;</seg> 116 <seg>liba52.so</seg> 117 <seg>/usr/include/a52dec and 118 /usr/share/doc/liba52-&liba52-version;</seg> 96 119 </seglistitem> 97 120 </segmentedlist> … … 123 146 124 147 <varlistentry id="liba52-lib"> 125 <term><filename class='libraryfile'>liba52. {so,a}</filename></term>148 <term><filename class='libraryfile'>liba52.so</filename></term> 126 149 <listitem> 127 150 <para>provides functions for the programs dealing with 128 151 ATSC A/52 streams.</para> 129 152 <indexterm zone="liba52 liba52-lib"> 130 <primary sortas="c-liba52">liba52. {so,a}</primary>153 <primary sortas="c-liba52">liba52.so</primary> 131 154 </indexterm> 132 155 </listitem> 133 156 </varlistentry> 134 135 157 </variablelist> 136 137 158 </sect2> 138 139 159 </sect1>
Note:
See TracChangeset
for help on using the changeset viewer.