diff --git a/recipes-musicians/guitarix/mamba.bb b/recipes-musicians/guitarix/mamba.bb new file mode 100644 index 0000000..210c9be --- /dev/null +++ b/recipes-musicians/guitarix/mamba.bb @@ -0,0 +1,33 @@ +SUMMARY = "Virtual Midi Keyboard for Jack Audio Connection Kit" +HOMEPAGE = "https://github.com/brummer10/Mamba" +LICENSE = "BSD-0-Clause" +LIC_FILES_CHKSUM = "file://LICENSE;md5=1a396d84ed72b4a017f02f5c5d1eaafe" + +SRC_URI = " \ + gitsm://github.com/brummer10/Mamba.git \ + file://0001-Create-destination-dirs-in-case-they-do-not-exist.patch \ +" +SRCREV = "076f382cc17416413dc05fad00a37273736231d3" +S = "${WORKDIR}/git" +PV = "1.0" + +inherit pkgconfig features_check + +REQUIRED_DISTRO_FEATURES = "x11" + +DEPENDS += " \ + cairo \ + virtual/libx11 \ + libsigc++-2.0 \ + lv2 \ + liblo \ + jack \ +" + +do_compile() { + oe_runmake SSE_CFLAGS= STRIP=echo +} + +do_install() { + oe_runmake DESTDIR=${D} PREFIX=${prefix} install +} diff --git a/recipes-musicians/guitarix/mamba/0001-Create-destination-dirs-in-case-they-do-not-exist.patch b/recipes-musicians/guitarix/mamba/0001-Create-destination-dirs-in-case-they-do-not-exist.patch new file mode 100644 index 0000000..4e89c0f --- /dev/null +++ b/recipes-musicians/guitarix/mamba/0001-Create-destination-dirs-in-case-they-do-not-exist.patch @@ -0,0 +1,36 @@ +From 08bb24ad55a6e381538b26f1abc08f9d121643eb Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Andreas=20M=C3=BCller?= +Date: Sun, 26 Jul 2020 21:21:48 +0200 +Subject: [PATCH] Create destination dirs in case they do not exist +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Make packager's life easier :) + +Upstream-Status: Submitted[https://github.com/brummer10/Mamba/pull/3] + +Signed-off-by: Andreas Müller +--- + src/Makefile | 3 +++ + 1 file changed, 3 insertions(+) + +diff --git a/src/Makefile b/src/Makefile +index a9bb87c..3b5db41 100644 +--- a/src/Makefile ++++ b/src/Makefile +@@ -70,8 +70,11 @@ clean : + + install : + ifneq ("$(wildcard ./$(BUILD_DIR))","") ++ mkdir -p $(DESTDIR)$(BIN_DIR) + cp ./$(BUILD_DIR)/$(EXEC_NAME) $(DESTDIR)$(BIN_DIR)/$(EXEC_NAME) ++ mkdir -p $(DESTDIR)$(DESKAPPS_DIR) + cp $(NAME).desktop $(DESTDIR)$(DESKAPPS_DIR) ++ mkdir -p $(DESTDIR)$(PIXMAPS_DIR) + cp $(NAME).png $(DESTDIR)$(PIXMAPS_DIR) + @echo ". ." $(BLUE)", done"$(NONE) + else +-- +2.21.3 + diff --git a/recipes-support/packagegroups/musicians-world.bb b/recipes-support/packagegroups/musicians-world.bb index 1b0765c..11f996d 100644 --- a/recipes-support/packagegroups/musicians-world.bb +++ b/recipes-support/packagegroups/musicians-world.bb @@ -56,6 +56,7 @@ RDEPENDS_${PN} += " \ \ guitarix \ gxplugins.lv2 \ + mamba \ \ \ helm-standalone helm-lv2 helm-vst \