libmusicbrainz: add dependency on neon-native
authorMartin Jansa <Martin.Jansa@gmail.com>
Mon, 5 May 2014 21:46:11 +0000 (23:46 +0200)
committerPatrick Ohly <patrick.ohly@intel.com>
Fri, 9 Jan 2015 16:37:58 +0000 (08:37 -0800)
commitde8a48fdcafd970416eb273eec25f51d79784569
treeb8f62ead780e691ee844e70f21538d0786d706e9
parent3e3b248d462a22d9b8af2fee3404f318d070e7b6
libmusicbrainz: add dependency on neon-native

* we're building separate native binary make-c-interface which is also checking
  for neon with pkg-config, when it fails it's not fatal and configure continues
  to configure target version (which finds neon correctly) but failed native
  make-c-interface build resultsin this error:

  -- Found PkgConfig: /OE/build/oe-core/tmp-eglibc/sysroots/x86_64-linux/usr/bin/pkg-config (found version "0.28")
  -- checking for module 'neon'
  --   found neon, version 0.30.0
  CMake Error at /OE/build/oe-core/tmp-eglibc/sysroots/x86_64-linux/usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:108 (message):
    Could NOT find Neon (missing: NEON_LIBRARIES)
  Call Stack (most recent call first):
    /OE/build/oe-core/tmp-eglibc/sysroots/x86_64-linux/usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:315 (_FPHSA_FAILURE_MESSAGE)
    cmake/modules/FindNeon.cmake:19 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
    CMakeLists.txt:22 (FIND_PACKAGE)

  -- Configuring incomplete, errors occurred!
  See also "/OE/build/oe-core/tmp-eglibc/work/i586-oe-linux/libmusicbrainz/5.0.1+gitAUTOINC+0749dd0a35-r1/git/build-native/CMakeFiles/CMakeOutput.log".
  make: *** No rule to make target 'make-c-interface'.  Stop.
  ...
  -- Found PkgConfig: /OE/build/oe-core/tmp-eglibc/sysroots/x86_64-linux/usr/bin/pkg-config (found version "0.28")
  -- checking for module 'neon'
  --   found neon, version 0.30.0
  -- Found Neon: /OE/build/oe-core/tmp-eglibc/sysroots/qemux86/usr/lib/libneon.so
  CMake Error at src/CMakeLists.txt:19 (INCLUDE):
    include could not find load file:
    /OE/build/oe-core/tmp-eglibc/work/i586-oe-linux/libmusicbrainz/5.0.1+gitAUTOINC+0749dd0a35-r1/git/build-native/ImportExecutables.cmake
  -- Configuring incomplete, errors occurred!

(From meta-openembedded rev: 3182aa9a1eb76af61b52943507a43cef42ce41ee)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
meta-openembedded/meta-multimedia/recipes-multimedia/musicbrainz/libmusicbrainz_git.bb