kumquat-buildroot/package/vlc
Fabrice Fontaine d440df6e0d vlc: fix build with libvorbis and tremor
Commit 550c42509c "package/vlc: fix
linking with tremor" fixed build with BR2_PACKAGE_TREMOR and without
BR2_PACKAGE_LIBVORBIS. However, it breaks build if BR2_PACKAGE_TREMOR
and BR2_PACKAGE_LIBVORBIS are both enabled.
Indeed, by overiding VORBIS_LIBS by -lvorbisidec, link of
codec/.libs/libvorbis_plugin_la-vorbis.o with -lvorbis
failed because VORBIS_LIBS is normally used to save "-logg
-lvorbis -lvorbisenc":
PKG_ENABLE_MODULES_VLC([VORBIS], [], [ogg vorbis >= 1.1 vorbisenc >= 1.1], [Vorbis decoder and encoder], [auto])

So replace fourth patch by an upstreamable patch which uses pkg-config
to set TREMOR_LIBS if tremor is found instead of "hacking" VORBIS_LIBS

Fixes:
 - http://autobuild.buildroot.org/results/85a7bb1996b78dee037d5900b124cbdf5b66a6ac

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2018-10-17 21:49:48 +02:00
..
0001-Disable-building-of-statically-linked-vlc-binary.patch
0002-lua-Define-LUA_COMPAT_APIINTCASTS-for-Lua-5.3.0-comp.patch
0003-automake-add-subdir-objects-option.patch
0004-build-use-pkg-config-to-get-tremor-libs.patch
0005-Fix-build-error-using-uClibc-by-adding-sys-types.h.patch
0006-Don-t-assume-strerror_l-is-available.patch
0007-posix-remove-ancient-run-time-fallback-to-real-time-.patch
0008-x264-drop-148-build-support-and-fix-10bit-support.patch
0009-Add-support-for-freerdp2.patch
0010-configure.ac-also-use-AC_PATH_PROG-to-check-for-wayl.patch
Config.in
vlc.hash
vlc.mk