summaryrefslogtreecommitdiffstats
path: root/meta/recipes-multimedia/musicbrainz/libmusicbrainz_git.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-multimedia/musicbrainz/libmusicbrainz_git.bb')
-rw-r--r--meta/recipes-multimedia/musicbrainz/libmusicbrainz_git.bb36
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 @@
1SUMMARY = "MusicBrainz Client"
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"
6DEPENDS = "expat neon"
7
8PV = "5.0.1+git${SRCPV}"
9PR = "r0"
10
11SRCREV = "0749dd0a35b4a54316da064475863a4ac6e28e7e"
12SRC_URI = "git://github.com/metabrainz/libmusicbrainz.git \
13 file://allow-libdir-override.patch "
14
15S = "${WORKDIR}/git"
16
17LDFLAGS_prepend_libc-uclibc = " -lpthread "
18
19
20inherit cmake pkgconfig
21
22do_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
35EXTRA_OECMAKE = "-DLIB_INSTALL_DIR:PATH=${libdir} \
36 -DIMPORT_EXECUTABLES=build-native/ImportExecutables.cmake"