# Note: depends on pkg-config # Note: depends on libxcb # Note: depends on alsa-lib # Note: depends on mesa # Note: depends on zlib # Note: depends on ffmpeg or libav wget -c https://download.videolan.org/pub/videolan/vlc/3.0.0/vlc-3.0.0.tar.xz tar -xJf vlc-3.0.0.tar.xz cd vlc-3.0.0 # Workarounds for whiny configure sed -i -e 's/as_fn_error.*Could not find .*/true/' configure sed -i -e 's/as_fn_error.*Cannot find .*/true/' configure sed -i -e 's/as_fn_error.*Pass --disable-.*/true/' configure sed -i -e 's/error-implicit-function-declaration//' configure sed -i -e 's/as_fn_error.*libavutil versions .*/true/' configure mkdir -p build cd build ../configure --prefix="/usr" BUILDCC="gcc" || ../configure --prefix="/usr" --disable-dbus BUILDCC="gcc" echo '#define luaL_checkint luaL_checkinteger' >> config.h echo '#define isPlatformX11() display()' >> config.h # Fix Qt support make # Doesn't mind -j# make install