2017-03-30 08:54:07 +02:00
|
|
|
|
# Description: ATSC A/52 akışlarını çözmek için ücretsiz bir kütüphane
|
2016-02-24 01:27:23 +01:00
|
|
|
|
# URL: http://liba52.sourceforge.net/
|
2017-03-30 08:54:07 +02:00
|
|
|
|
# Packager: milisarge
|
2016-02-24 01:27:23 +01:00
|
|
|
|
# Depends on:
|
|
|
|
|
|
|
|
|
|
name=liba52
|
|
|
|
|
version=0.7.4
|
|
|
|
|
release=1
|
|
|
|
|
|
|
|
|
|
source=(http://liba52.sourceforge.net/files/a52dec-$version.tar.gz)
|
|
|
|
|
|
|
|
|
|
build() {
|
|
|
|
|
cd a52dec-$version
|
|
|
|
|
./configure --prefix=/usr \
|
|
|
|
|
--mandir=/usr/share/man \
|
|
|
|
|
--enable-shared \
|
|
|
|
|
--disable-static \
|
|
|
|
|
CFLAGS="-g -O2 $([ $(uname -m) = x86_64 ] && echo -fPIC)"
|
|
|
|
|
|
|
|
|
|
make
|
|
|
|
|
make DESTDIR=$PKG install
|
|
|
|
|
# required for xine-lib
|
|
|
|
|
install -m644 liba52/a52_internal.h $PKG/usr/include/a52dec/
|
|
|
|
|
install -v -m644 -D doc/liba52.txt \
|
|
|
|
|
$PKG/usr/share/doc/liba52-$version/liba52.txt
|
|
|
|
|
}
|