lv2: add lv2-native

lv2-native installs lv2.h where other native recipes might expect it

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
This commit is contained in:
Andreas Müller
2017-01-08 23:40:45 +01:00
parent c7cdb04e31
commit e0705d4b6d
3 changed files with 23 additions and 10 deletions

View File

@@ -0,0 +1,11 @@
require ${BPN}.inc
inherit native
do_install() {
# the header
install -d ${D}/${includedir}
install -m 0644 ${S}/lv2/lv2plug.in/ns/lv2core/lv2.h ${D}/${includedir}/
install -d ${D}/${includedir}/lv2/lv2plug.in/ns/lv2core
install -m 0644 ${S}/lv2/lv2plug.in/ns/lv2core/lv2.h ${D}/${includedir}/lv2/lv2plug.in/ns/lv2core/
}

View File

@@ -0,0 +1,11 @@
require ${BPN}.inc
inherit waf pkgconfig
DEPENDS = "gtk+ libsndfile1"
EXTRA_OECONF = "--libdir=${libdir}"
FILES_${PN} += " \
${datadir} \
"

View File

@@ -2,16 +2,7 @@ SUMMARY = "LV2 is an open standard for audio plugins"
LICENSE = "ISC"
LIC_FILES_CHKSUM = "file://COPYING;md5=0383f162366b0c5a316292759a55d292"
PV = "1.14.0"
SRC_URI = "http://lv2plug.in/spec/lv2-${PV}.tar.bz2"
SRC_URI[md5sum] = "0b56285a77aac3c93b50c36203aa91ee"
SRC_URI[sha256sum] = "b8052683894c04efd748c81b95dd065d274d4e856c8b9e58b7c3da3db4e71d32"
inherit waf pkgconfig
DEPENDS = "gtk+ libsndfile1"
EXTRA_OECONF = "--libdir=${libdir}"
FILES_${PN} += " \
${datadir} \
"