# transcode/cfg - "Build" settings for package #--------------------------------------------------------------------- [technotes] 1. If the following "configure" option switch is omitted, build times may be significantly longer: --disable-dependency-tracking #--------------------------------------------------------------------- [buildtimes] 00.04 hours (or 002.32 minutes) - ThinkPad E540 i7 4x2 16GB RAM 00.04 hours (or 002.42 minutes) - HP EliteBook 8560w 32GB RAM 00.06 hours (or 003.48 minutes) - Dell Inspiron 6400 2.0 GHz Intel Duo 7200 2GB RAM 00.20 hours (or 011.95 minutes) - Compaq 1.7 GHz Intel Pentium 4 512MB RAM #--------------------------------------------------------------------- [settings] exepack = yes fortran = disabled license = See "license*.txt" in installed tree licfile = COPYING nls = disabled dontfind = ffmpeg2, ffmpeg3, imagemagick7 setpaths = a52dec, ffmpeg4, lame, liblzo2, openssl, imagemagick6, xorg tmpsize = 30M #--------------------------------------------------------------------- [depends] a52dec actools ffmpeg freetype2 gawk grep gtk12 # May not be needed imagemagick6 jpeg lame libdv libdvdread liblzo2 libmpeg2 libmpeg3 libogg libpopt libquicktime libvorbis libxml2 mjpegtools nasm2 openssl pkgconf quicktime-ffmpeg sed sdl theora xorg zlib #--------------------------------------------------------------------- [configure] MANBASE=$PKGDIR_PROD/man mkdir -p $MANBASE FFMPEGDIR=$PRODTREE/ffmpeg4 LIBLZO2DIR=$PRODTREE/liblzo2 sed -e "s:#include :#include FT_GLYPH_H:" \ -i filter/subtitler/load_font.c bash ./configure \ --prefix=$PKGDIR_PROD \ --build=$LACARCHBUILD \ --host=$LACARCHHOST \ --disable-altivec \ --disable-dependency-tracking \ --disable-imagemagick \ --enable-deprecated \ --enable-shared=yes \ --enable-static=no \ --mandir=$MANBASE \ \ --enable-a52 \ --enable-alsa \ --enable-freetype2 \ --enable-gtk \ --enable-lame \ --enable-libdv \ --enable-libdvdread \ --enable-libjpeg \ --enable-libmpeg2 \ --enable-libmpeg2convert \ --enable-libmpeg3 \ --enable-libpostproc \ --enable-libquicktime \ --enable-libxml2 \ --enable-lzo \ --enable-mjpegtools \ --enable-netstream \ --enable-ogg \ --enable-sdl \ --enable-statbuffer \ --enable-theora \ --enable-vorbis \ \ --with-lzo-prefix=$LIBLZO2DIR \ --with-lzo-includes=$LIBLZO2DIR/include # I dislike "libtool" sed -e "s|if test -z \".tagname\"; then|& tagname=\"CXX\"; \ fi; if false; then|" \ -i libtool chmod 755 libtool #--------------------------------------------------------------------- [build] export LDINSERTAFTER="-lavcodec -lavformat" make make install #--------------------------------------------------------------------- [postbuild] rm -fr $PKGDIR_PROD/share/doc/ #--------------------------------------------------------------------- # 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 = n/a url_home = http://www.transcoding.org/ url_lfs = http://www.linuxfromscratch.org/blfs/view/stable/\ multimedia/transcode.html url_tarball = https://bitbucket.org/france/transcode-tcforge/\ downloads/transcode-1.1.7.tar.bz2 url_tarball_alt = http://fossies.org/unix/privat/\ transcode-1.1.7.tar.gz #--------------------------------------------------------------------- [history] 210226 Patched to fix FTBFS related to "gcc" 10 210320 Patched to build with "ffmpeg" 4