# faad2/cfg - "Build" settings for package

#---------------------------------------------------------------------

[technotes]

1. The source tarball used by this package has been renamed.

#---------------------------------------------------------------------

[buildtimes]

00.01 hours (or 000.40 minutes) - 2021 L.A. dedi box: 6x2 CPU 32GB RAM
00.01 hours (or 000.60 minutes) - Dell Inspiron 6400 2.0 GHz Intel Duo
                                  7200 2GB RAM
00.01 hours (or 000.70 minutes) - HP EliteBook 8560w 32GB RAM
00.01 hours (or 000.75 minutes) - ThinkPad E540 i7 4x2 16GB RAM
00.02 hours (or 001.25 minutes) - Toshiba Satellite C655 E-300 CPU 4GB
                                  RAM
00.04 hours (or 002.30 minutes) - Compaq 1.7 GHz Intel Pentium 4 512MB
                                  RAM

#---------------------------------------------------------------------

[settings]
amtoac   = no                   # No longer needed
build    = default
exepack  = yes
license  = See "license*.txt" in installed tree
licfile  = COPYING
setpaths = mp4v2-utils
tmpsize  = 11M
unpack   = relaxed

#---------------------------------------------------------------------

[depends]
actools
gawk
grep
gtk12
id3lib
mp4v2-utils
sed

#---------------------------------------------------------------------

[configure]
MANBASE=$PKGDIR_PROD/man
mkdir -p $MANBASE

if [ -f ./bootstrap ]; then
        ./bootstrap
fi

sed -e 's|for ac_prog in g77 xlf f77.*|for ac_prog in skipfortran|' \
    -i configure

CFLAGS="-fPIC" \
bash ./configure \
    --prefix=$PKGDIR_PROD           \
    --build=$LACARCHBUILD           \
    --host=$LACARCHHOST             \
    --disable-dependency-tracking   \
    --enable-shared=yes             \
    --enable-static=no              \
    --mandir=$MANBASE

#---------------------------------------------------------------------

# Original URLs. These URLs were valid at one point, but may have died
# since then. If you download newer versions of tarballs [etc.], don't
# delete  the  original versions,  as you may not  be able  to replace
# them.

[urls]
url_debian  = http://packages.debian.org/unstable/source/faad2
url_home    = http://sourceforge.net/projects/faac/
url_lfs     = n/a

url_tarball = https://ftp.osuosl.org/pub/blfs/conglomeration/\
faad2/faad2-2_10_0.tar.gz

#---------------------------------------------------------------------

[history]
170826 Updated from 2.7 to 2.8.1
171205 Updated to 2.8.6
180303 Updated to 2.8.8
180530 Patched to fix version-string bug
210425 Updated to 2.10.0