blob: 3b365444e2a37f08adfbf09e1c7598105f1ade9b [file] [log] [blame]
Patrick Williamsb48b7b42016-08-17 15:04:38 -05001SUMMARY = "MusicBrainz client library"
2DESCRIPTION = "The MusicBrainz client is a library which can be built into other programs. The library allows you to access the data held on the MusicBrainz server."
3HOMEPAGE = "http://musicbrainz.org"
Andrew Geissler9aee5002022-03-30 16:27:02 +00004LICENSE = "LGPL-2.1-or-later"
Patrick Williamsb48b7b42016-08-17 15:04:38 -05005LIC_FILES_CHKSUM = "file://COPYING.txt;md5=fbc093901857fcd118f065f900982c24"
William A. Kennington IIIb95905d2021-06-02 12:40:56 -07006DEPENDS = "expat libxml2 libxml2-native neon neon-native libmusicbrainz-native"
Patrick Williamsb48b7b42016-08-17 15:04:38 -05007
Brad Bishop6e60e8b2018-02-01 10:27:11 -05008PV = "5.1.0+git${SRCPV}"
Patrick Williamsb48b7b42016-08-17 15:04:38 -05009
William A. Kennington IIIb95905d2021-06-02 12:40:56 -070010SRCREV = "8be45b12a86bc0e46f2f836c8ac88e1e98d82aee"
Patrick Williams92b42cb2022-09-03 06:53:57 -050011SRC_URI = "git://github.com/metabrainz/libmusicbrainz.git;branch=master;protocol=https \
12 file://0001-http-fetch-Pass-a-non-null-buffer-to-ne_set_request_.patch \
13 "
Patrick Williamsb48b7b42016-08-17 15:04:38 -050014
15S = "${WORKDIR}/git"
16
Patrick Williamsb48b7b42016-08-17 15:04:38 -050017inherit cmake pkgconfig
18
Patrick Williams213cb262021-08-07 19:21:33 -050019EXTRA_OECMAKE:append:class-target = " -DIMPORT_EXECUTABLES=${STAGING_LIBDIR_NATIVE}/cmake/${BPN}/ImportExecutables.cmake"
William A. Kennington IIIb95905d2021-06-02 12:40:56 -070020
Patrick Williams213cb262021-08-07 19:21:33 -050021do_install:append:class-native() {
William A. Kennington IIIb95905d2021-06-02 12:40:56 -070022 install -Dm 0755 ${B}/src/make-c-interface ${D}${bindir}/make-c-interface
23 install -Dm 0644 ${B}/ImportExecutables.cmake ${D}${libdir}/cmake/${BPN}/ImportExecutables.cmake
24 sed -i -e s:'${B}'/src/::g ${D}${libdir}/cmake/${BPN}/ImportExecutables.cmake
Patrick Williamsb48b7b42016-08-17 15:04:38 -050025}
26
William A. Kennington IIIb95905d2021-06-02 12:40:56 -070027BBCLASSEXTEND = "native"