liba52 is a free library for decoding ATSC A/52 (also known as AC-3) streams. The A/52 standard is used in a variety of applications, including digital television and DVD.
This package is known to build and work properly using an LFS-7.7 systemd platform.
Download (HTTP): http://liba52.sourceforge.net/files/a52dec-0.7.4.tar.gz
Download MD5 sum: caa9f5bc44232dc8aeea773fea56be80
Download size: 236 KB
Estimated disk space required: 2.5 MB
Estimated build time: less than 0.1 SBU
Install liba52 by running the following commands:
./configure --prefix=/usr \ --mandir=/usr/share/man \ --enable-shared \ --disable-static \ CFLAGS="-g -O2 $([ $(uname -m) = x86_64 ] && echo -fPIC)" && make
To test the results, issue: make check.
Now, as the
make install && cp liba52/a52_internal.h /usr/include/a52dec && install -v -Dm644 doc/liba52.txt \ /usr/share/doc/liba52-0.7.4/liba52.txt
CFLAGS="-g -O2 ...: This
sets CFLAGS to -g -O2 (which is the default) but then on x86_64
adds -fPIC. This is needed to compile liba52 on x86_64.
--disable-static: This option stops it
installing the static version of the library.
cp liba52/a52_internal.h ...: Copying this header file into /usr/include/a52dec allows some other programs (such as xine-lib) to compile and link against a system installed liba52.
Last updated on 2014-09-16 22:49:04 +0200