kumquat-buildroot/package/gerbera
Jörg Krause 7bf7db4589 package/gerbera: add upstream patch to fix find_program with taglib-config
Add an from from upstream to fix linking Gerbera with taglib. The patch
fixes the following issue:

When cross-compiling CMakes `find_program()` will search for binaries on the
host. This is typically correct, e.g. when search for compilers or shells.

When cross-compiling, searching for `taglib-config` using `find_program` should
not find the binary on the host, instead it should find the binary in the sysroot
directory, as the host `taglib-config` will output the wrong host paths
and libs, whereas the sysroot `taglib-config` will output the correct sysroot
paths and libs.

Therefore, use the `CMAKE_FIND_ROOT_PATH_MODE_PROGRAM` variable when
cross-compiling. This variable controls whether the `CMAKE_FIND_ROOT_PATH`
and `CMAKE_SYSROOT` are used by find_program().

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
(cherry picked from commit 6d52768315)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2019-06-23 22:25:27 +02:00
..
0001-CMakeLists.txt-fix-static-build-with-curl-and-libidn.patch
0002-cmake-FindFFMPEG-cmake-use-pkgconfig.patch
0002-Fix-find_program-taglib-config-when-cross-compiling.patch package/gerbera: add upstream patch to fix find_program with taglib-config 2019-06-23 22:25:27 +02:00
0003-cmake-FindLibUpnp.cmake-fix-static-linking.patch package/gerbera: fix static build with openssl 2019-04-05 17:41:31 +02:00
Config.in
config.xml
gerbera.hash
gerbera.mk
S99gerbera package/gerbera: fix pidfile name in start-stop-script 2019-06-06 08:45:05 +02:00