# vlc/cfg - "Build" settings for package #--------------------------------------------------------------------- [technotes] 1. As of Fall 2018, Blu-Ray menus didn't work in standard releases of "vlc". As of Fall 2024, Blu-Ray menus seemed to work. #--------------------------------------------------------------------- 2. As of Spring 2019, "mpc" code in git releases of "vlc" contained syntax errors. Additionally, "libva" code caused FTBFS errors. If these two features were disabled, "vlc" compiled and ran, but locked up during playback. #--------------------------------------------------------------------- 3. For "vlc" to be able to find openjdk08 libjvm.so, LD_LIBRARY_PATH must be set at runtime. A wrapper should probably be added to take care of that. #--------------------------------------------------------------------- 4. To enable MIDI playback support in "vlc", proceed as follows. You only need to do this once. vlc -> Tools -> Preferences -> Audio -> Show settings: All -> Audio codecs -> FluidSynth -> SoundFont file -> Browse to: /glibc64/pkg/fluidsynth/share/soundfonts/default.sf2 -> Select that file -> Save For 32-bit Laclin, replace "/glibc64" with "/glibc32". Note: "fluid- synth" and/or "vlc" may or may not exist in 32-bit versions of the distro. #--------------------------------------------------------------------- [buildtimes] 00.09 hours (or 005.57 minutes) - 2021 L.A. dedi box: 6x2 CPU 32GB RAM 00.13 hours (or 007.98 minutes) - HP EliteBook 8560w 32GB RAM 00.14 hours (or 008.43 minutes) - ThinkPad E540 i7 4x2 16GB RAM 00.16 hours (or 009.47 minutes) - ThinkPad W530 i7 4x2 32GB RAM 00.19 hours (or 011.35 minutes) - Dell Inspiron 6400 2.0 GHz Intel Duo 7200 2GB RAM 01.01 hours (or 060.67 minutes) - Compaq 1.7 GHz Intel Pentium 4 512MB RAM #--------------------------------------------------------------------- [settings] altpkg = yes exepack = no # Doesn't buy us anything for "vlc" fortran = disabled license = See "license*.txt" in installed tree licfile = COPYING mblenmax = yes nls = disabled tmpsize = 655M dontfind = \ ffmpeg2 ffmpeg3 ffmpeg4 lua51 luajit \ qt4 setpaths = \ avahi faad2 ffmpeg5 fluidsynth \ freerdp gtkcore libaom libdsm \ libebml libkate libplacebo libvpx114 \ live555 lua52 pulseaudio python3 \ qt5 sdl x264 xorg \ libmatroska #--------------------------------------------------------------------- [depends] a52dec aacskeys aalib actools alsa alsa-lib audiofile avahi bison3 bzip2 cairo chromaprint dbus esound eudev expat faac faad2 ffmpeg flac fluidsynth fontconfig freerdp freetype2 fribidi gawk gnutls3 gpm grep gstreamer gtkcore harfbuzz jackone java jpeg lame libaacs libaom libarchive libass libavc1394 libbluray libcaca libcddb libcdio libcroco libdc1394 libdca libdsm libdv libdvbpsi libdvdcss libdvdnav libdvdread libebml libgcrypt libgpg-error libgsf libgsm libid3tag libidn libkate libmad libmatroska libmodplug libmpcdec libmpeg2 libmtp libnfs libnotify libogg libplacebo libpng libproxy libraw1394 librsvg libsamplerate libsecret libshout libsoxr libssh2 libtar libtasn1 libvorbis libvpx114 libxml2 libxspf # May not be needed libzvbi live555 lua52 luajit minizip-ng mpg123 mplayer # Just to pull in dependencies nas ncurses opus pkgconf protobuf pulseaudio qt schroedinger sdl sed slang speex sqlite3 sysfsutils taglib theora tiff ttf twolame vcdimager x264 x265 xosd xvidcore zlib #--------------------------------------------------------------------- [configure] MANBASE=$PKGDIR_PROD/man mkdir -p $MANBASE if [ -f bootstrap ]; then ./bootstrap fi pushd po treetextsub --keeptimes --pattern=":8080" --newtext=":8081" popd export LACINCDIRS=$PRODTREE/lua52/include/lua52:$LACINCDIRS sed -e "s|ncursesw|ncurses|g" \ -e "s/error-implicit-function-declaration//" \ -i configure export BUILDCC=gcc export CFLAGS="-DLUA_COMPAT_5_1" #--------------------------------------------------------------------- bash ./configure \ --prefix=$PKGDIR_PROD \ --build=$LACARCHBUILD \ --host=$LACARCHHOST \ \ --disable-altivec \ --disable-debug \ --disable-dependency-tracking \ --disable-goom \ --disable-libva \ --disable-mpc \ --disable-nls \ --disable-opencv \ --disable-oss \ --disable-smb \ --disable-tremor \ --disable-v4l2 \ \ --enable-a52 \ --enable-alsa \ --enable-aom \ --enable-archive \ --enable-caca \ --enable-cdda \ --enable-dbus \ --enable-dc1394 \ --enable-dca \ --enable-dirac \ --enable-dsm \ --enable-dv1394 \ --enable-dvbpsi \ --enable-dvdnav \ --enable-dvdread \ --enable-esd \ --enable-faad \ --enable-flac \ --enable-freetype \ --enable-fribidi \ --enable-gnutls \ --enable-gst-decode \ --enable-harfbuzz \ --enable-jack \ --enable-kate \ --enable-libmpeg2 \ --enable-libtar \ --enable-libxml2 \ --enable-live555 \ --enable-lua \ --enable-mad \ --enable-matroska \ --enable-mpg123 \ --enable-mod \ --enable-mtp \ --enable-ncurses \ --enable-ogg \ --enable-opus \ --enable-png \ --enable-pulse \ --enable-realrtsp \ --enable-samplerate \ --enable-schroedinger \ --enable-screen \ --enable-sdl-image \ --enable-secret \ --enable-shout \ --enable-skins2 \ --enable-sout \ --enable-soxr \ --enable-speex \ --enable-svg \ --enable-theora \ --enable-twolame \ --enable-udev \ --enable-vlm \ --enable-vorbis \ --enable-vpx \ --enable-x264 \ --enable-x265 \ --enable-xcb \ --enable-xvideo \ --enable-zvbi \ \ --enable-run-as-root \ --enable-shared=yes \ --enable-qt=yes \ --enable-skins2=no \ --enable-static=no \ --mandir=$MANBASE #--------------------------------------------------------------------- [build] mkdir xbin pushd xbin ln -s `which ar` i686-pc-linux-gnu-ar ln -s `which ar` x86_64-pc-linux-gnu-ar PATH=`pwd`:$PATH popd export LACINCDIRS=$PRODTREE/lua52/include/lua52:$LACINCDIRS export FORCEPATHMAX=yes smpmake smpmake install #--------------------------------------------------------------------- [postbuild] rm -fr $PKGDIR_PROD/share/locale/ #--------------------------------------------------------------------- [setup.boot] if [ \! -e /dev/cdrom ]; then rm -f /dev/cdrom # Handle broken links if [ -e /dev/hdc ]; then ln -nsf /dev/hdc /dev/cdrom else DEV=`ls /dev/cdroms/ | head -1` if [ "x$DEV" \!= "x" ]; then ln -nsf cdroms/$DEV /dev/cdrom fi fi fi PD=$PRODTREE/vlc/lib/vlc $PD/vlc-cache-gen $PD/plugins #--------------------------------------------------------------------- # 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 = tbd url_home = http://www.videolan.org/vlc/ url_lfs = n/a when last checked url_tarball = http://download.videolan.org/pub/videolan/\ vlc/3.0.21/vlc-3.0.21.tar.xz #--------------------------------------------------------------------- [history] 170324 Updated from 2.2.2 to 2.2.4 170915 Updated to 2.2.6 171123 Updated to 2.2.8 180305 Updated to 3.0.1 180505 Updated to 3.0.2 180528 Updated to 3.0.3 180902 Updated to 3.0.4 181229 Updated to 3.0.5 190112 Updated to 3.0.6 190607 Updated to 3.0.7 190623 Updated to 3.0.7.1 190819 Updated to 3.0.8 210424 Updated to 3.0.9.2 210430 Updated to 3.0.13 210512 Updated to 3.0.14 210611 Updated to 3.0.15 210619 Updated to 3.0.16 220307 Updated to 3.0.17 220506 Updated to 3.0.17.4 230108 Updated to 3.0.18 240123 Updated to 3.0.20 240609 Updated to 3.0.21 240609 Documented MIDI setup