blob: 0fcd77d3a190d4b34638df6476e861fae5ca2ac1 [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"
4LICENSE = "LGPLv2.1+"
5LIC_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"
11SRC_URI = "git://github.com/metabrainz/libmusicbrainz.git"
Patrick Williamsb48b7b42016-08-17 15:04:38 -050012
13S = "${WORKDIR}/git"
14
Patrick Williamsb48b7b42016-08-17 15:04:38 -050015inherit cmake pkgconfig
16
Patrick Williams213cb262021-08-07 19:21:33 -050017EXTRA_OECMAKE:append:class-target = " -DIMPORT_EXECUTABLES=${STAGING_LIBDIR_NATIVE}/cmake/${BPN}/ImportExecutables.cmake"
William A. Kennington IIIb95905d2021-06-02 12:40:56 -070018
Patrick Williams213cb262021-08-07 19:21:33 -050019do_install:append:class-native() {
William A. Kennington IIIb95905d2021-06-02 12:40:56 -070020 install -Dm 0755 ${B}/src/make-c-interface ${D}${bindir}/make-c-interface
21 install -Dm 0644 ${B}/ImportExecutables.cmake ${D}${libdir}/cmake/${BPN}/ImportExecutables.cmake
22 sed -i -e s:'${B}'/src/::g ${D}${libdir}/cmake/${BPN}/ImportExecutables.cmake
Patrick Williamsb48b7b42016-08-17 15:04:38 -050023}
24
William A. Kennington IIIb95905d2021-06-02 12:40:56 -070025BBCLASSEXTEND = "native"