diff --git a/recipes-musicians/drobilla/files/0001-Fix-build-for-python3-only-environments.patch b/recipes-musicians/drobilla/files/0001-Fix-build-for-python3-only-environments.patch new file mode 100644 index 0000000..dba8df3 --- /dev/null +++ b/recipes-musicians/drobilla/files/0001-Fix-build-for-python3-only-environments.patch @@ -0,0 +1,25 @@ +From 1c871f1154cd67b00f1fc41d49fb94bddbf4b714 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Andreas=20M=C3=BCller?= +Date: Fri, 6 Dec 2019 18:11:09 +0100 +Subject: [PATCH] Fix build for python3-only environments +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Thanks for upgrading waflib + +Signed-off-by: Andreas Müller +--- + waf | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/waf b/waf +index 887215c..2538272 100755 +--- a/waf ++++ b/waf +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++#!/usr/bin/env python3 + + # Minimal waf script for projects that include waflib directly + diff --git a/recipes-musicians/drobilla/lilv_0.24.4.bb b/recipes-musicians/drobilla/lilv_0.24.4.bb deleted file mode 100644 index ed1aac7..0000000 --- a/recipes-musicians/drobilla/lilv_0.24.4.bb +++ /dev/null @@ -1,14 +0,0 @@ -SUMMARY = "C library providing simple use of LV2 plugins" -HOMEPAGE = "http://drobilla.net/software/lilv" -LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://COPYING;md5=7aceb3a3edc99517b08f5cdd557e11fb" - -inherit waf bash-completion pkgconfig - -DEPENDS += "lv2 serd sord sratom" - -SRC_URI = "http://download.drobilla.net/${BPN}-${PV}.tar.bz2" -SRC_URI[md5sum] = "fb340958a6df5a683bf25e291493dc4d" -SRC_URI[sha256sum] = "c33b84b7a6e8e8fffb412fbcd6f69e59ca297ef3e29d829249b4ccc94f634438" - -EXTRA_OECONF = "--configdir=${sysconfdir} --dyn-manifest" diff --git a/recipes-musicians/drobilla/lilv_git.bb b/recipes-musicians/drobilla/lilv_git.bb new file mode 100644 index 0000000..a921f77 --- /dev/null +++ b/recipes-musicians/drobilla/lilv_git.bb @@ -0,0 +1,21 @@ +SUMMARY = "C library providing simple use of LV2 plugins" +HOMEPAGE = "http://drobilla.net/software/lilv" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://COPYING;md5=0c6c8928b7dc2190a0aff762ae5a0f64" + +inherit waf python3-dir bash-completion pkgconfig + +DEPENDS += "lv2 serd sord sratom" + +SRC_URI = " \ + gitsm://github.com/drobilla/lilv.git \ + file://0001-Fix-build-for-python3-only-environments.patch \ +" +SRCREV = "425af428afb969ec2562bdf269967778e067384d" +S = "${WORKDIR}/git" +PV = "0.24.6" +EXTRA_OECONF = "--configdir=${sysconfdir} --dyn-manifest" + +PACKAGES += "${PN}-python3" +FILES_${PN}-python3 += "${PYTHON_SITEPACKAGES_DIR}" +RDEPENDS_${PN}-python3 += "python3-core"