16 Commits

Author SHA1 Message Date
Khem Raj 1a27a18708 libmusicbrainz: Upgrade to tip of trunk
* Brings fixes for cmake4 builds

* Define _IMPORT_PREFIX using CMAKE_CURRENT_LIST_DIR, this
  will point current recipe-sysroot-native/usr which is then
  prepended to find the native make-c-interface binary

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-07-15 23:54:14 -07:00
Alexander Kanavin fc78d37ff0 meta-openembedded/all: adapt to UNPACKDIR changes
Please see
https://git.yoctoproject.org/poky/commit/?id=4dd321f8b83afecd962393101b2a6861275b5265
for what changes are needed, and sed commands that can be used to make them en masse.

I've verified that bitbake -c patch world works with these, but did not run a world
build; the majority of recipes shouldn't need further fixups, but if there are
some that still fall out, they can be fixed in followups.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-06-25 06:44:52 -07:00
Khem Raj a60e2b87ca libmusicbrainz: Update to tip of trunk
This brings the libxml2 2.12 fix

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-03-08 10:07:28 -08:00
Martin Jansa 21f956598d recipes: drop ${SRCPV} usage
* Drop SRCPV similarly like oe-core did in:
  https://git.openembedded.org/openembedded-core/commit/?h=nanbield&id=843f82a246a535c353e08072f252d1dc78217872

* SRCPV is deferred now from PV to PKGV since:
  https://git.openembedded.org/openembedded-core/commit/?h=nanbield&id=a8e7b0f932b9ea69b3a218fca18041676c65aba0

Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
2024-02-09 09:52:12 -08:00
Khem Raj 3fa331f5e7 libmusicbrainz: Avoid -Wnonnull warning
This warning is turned into error with gcc 12.2 and when we use
updated version of neon27 which has added an attribute nonnull to
the ne_set_request_body_buffer API causes this to fail.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Andreas Müller <schnitzeltony@gmail.com>
2022-08-25 23:08:11 -07:00
Khem Raj 4b50fb02cc recipes: Update LICENSE variable to use SPDX license identifiers
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-03-04 17:41:45 -08:00
Richard Purdie b402a3076f recipes: Update SRC_URI branch and protocols
This patch updates SRC_URIs using git to include branch=master if no branch is set
and also to use protocol=https for github urls as generated by the conversion script
in OE-Core.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-11-03 06:57:49 -07:00
Martin Jansa c61dc077bb Convert to new override syntax
This is the result of automated script (0.9.1) conversion:

oe-core/scripts/contrib/convert-overrides.py .

converting the metadata to use ":" as the override character instead of "_".

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2021-08-03 10:21:25 -07:00
Khem Raj c511e491ff libmusicbrainz: Rework native and target pieces
Build the native tools via a proper native recipe
Once done this way we do not need any patches

Bump SRCREV to latest which brings in one fix [1]

[1] https://github.com/metabrainz/libmusicbrainz/commit/8be45b12a86bc0e46f2f836c8ac88e1e98d82aee

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Andreas Müller <schnitzeltony@gmail.com>
2021-05-11 08:27:27 -07:00
Khem Raj d986db6083 libmusicbrainz: Set CMAKE_EXE_LINKER_FLAGS to build linker flags
Some older compilers do not support security flags like -fstack-protector=strong
and if we do not set this then it will use the target flags to pass here
which will fail with gcc < 5.x, especially a problem building distros with
security flags on host with 4.x gcc e.g. ubuntu 14.04

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-05-26 21:10:55 -07:00
Armin Kuster 294753abf9 libmusicbrainz: refresh patches
used quilt.

Details:
Applying patch allow-libdir-override.patch
patching file CMakeLists.txt
Hunk #1 succeeded at 36 with fuzz 1 (offset 10 lines).

Now at patch allow-libdir-override.patch

Signed-off-by: Armin Kuster <akuster808@gmail.com>
2018-05-01 18:12:49 -07:00
Khem Raj 4a58ee571d libmusicbrainz: Upgrade to 5.1.0
Drop uclibc specific flags

Add missing dep on libxml2

Shows up when libxml2 is not installed on build host
since the native part then fails to build.

|   Could NOT find LibXml2 (missing: LIBXML2_LIBRARIES)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-04-26 20:13:50 +02:00
Martin Jansa 3182aa9a1e 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!

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-05-07 19:19:20 +02:00
Mike Looijmans e75d71a52c musicbrainz: Build with B=S
This recipe doesn't work when B!=S, so force B=$S to fix the failure.

Signed-off-by: Mike Looijmans <milo-software@users.sourceforge.net>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-03-18 20:06:30 +01:00
Andreas Oberritter ea7e9c2e00 libmusicbrainz: fix subsequent invocations of do_configure
Every second invocation of do_configure failed with this error:

| CMake Error at src/CMakeLists.txt:19 (INCLUDE):
|   include could not find load file:
|
|     [...]/git/build-native/ImportExecutables.cmake

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-03-21 22:01:08 +01:00
Ross Burton 95b04ad54c libmusicbrainz: add
Moved from oe-core.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-02-01 17:44:22 +01:00