diff options
Diffstat (limited to 'meta/recipes-multimedia/musicbrainz/libmusicbrainz_git.bb')
-rw-r--r-- | meta/recipes-multimedia/musicbrainz/libmusicbrainz_git.bb | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/meta/recipes-multimedia/musicbrainz/libmusicbrainz_git.bb b/meta/recipes-multimedia/musicbrainz/libmusicbrainz_git.bb new file mode 100644 index 0000000000..7343662d01 --- /dev/null +++ b/meta/recipes-multimedia/musicbrainz/libmusicbrainz_git.bb | |||
@@ -0,0 +1,36 @@ | |||
1 | SUMMARY = "MusicBrainz Client" | ||
2 | DESCRIPTION = "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." | ||
3 | HOMEPAGE = "http://musicbrainz.org" | ||
4 | LICENSE = "LGPLv2.1+" | ||
5 | LIC_FILES_CHKSUM = "file://COPYING.txt;md5=fbc093901857fcd118f065f900982c24" | ||
6 | DEPENDS = "expat neon" | ||
7 | |||
8 | PV = "5.0.1+git${SRCPV}" | ||
9 | PR = "r0" | ||
10 | |||
11 | SRCREV = "0749dd0a35b4a54316da064475863a4ac6e28e7e" | ||
12 | SRC_URI = "git://github.com/metabrainz/libmusicbrainz.git \ | ||
13 | file://allow-libdir-override.patch " | ||
14 | |||
15 | S = "${WORKDIR}/git" | ||
16 | |||
17 | LDFLAGS_prepend_libc-uclibc = " -lpthread " | ||
18 | |||
19 | |||
20 | inherit cmake pkgconfig | ||
21 | |||
22 | do_configure_prepend() { | ||
23 | mkdir build-native | ||
24 | cd build-native | ||
25 | cmake -DCMAKE_C_FLAGS=${BUILD_CFLAGS} \ | ||
26 | -DCMAKE_C_COMPILER=${BUILD_CC} \ | ||
27 | -DCMAKE_CXX_FLAGS=${BUILD_CXXFLAGS} \ | ||
28 | -DCMAKE_CXX_COMPILER=${BUILD_CXX} \ | ||
29 | -DCMAKE_LINK_FLAGS=${BUILD_LDFLAGS} \ | ||
30 | .. | ||
31 | make | ||
32 | cd .. | ||
33 | } | ||
34 | |||
35 | EXTRA_OECMAKE = "-DLIB_INSTALL_DIR:PATH=${libdir} \ | ||
36 | -DIMPORT_EXECUTABLES=build-native/ImportExecutables.cmake" | ||