From 25f48221fa1c7bf08df90336c25813f6d07d782a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20M=C3=BCller?= Date: Sun, 29 Jan 2017 18:07:06 +0100 Subject: [PATCH] oxefmsynth: initial add 1.3,5 - unfinished due to VST-SDK missing/licence MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Andreas Müller --- ...-Makefile.vstlinux-Drop-32-64-quirks.patch | 44 +++++++++++++++++ ....vstlinux-call-native-embedresources.patch | 47 +++++++++++++++++++ .../oxefmsynth/oxefmsynth-native.bb | 12 +++++ .../oxefmsynth/oxefmsynth.bb | 5 ++ .../oxefmsynth/oxefmsynth.inc | 16 +++++++ 5 files changed, 124 insertions(+) create mode 100644 recipes-misc/recipes-multimedia/oxefmsynth/files/0001-Makefile.vstlinux-Drop-32-64-quirks.patch create mode 100644 recipes-misc/recipes-multimedia/oxefmsynth/files/0002-Makefile.vstlinux-call-native-embedresources.patch create mode 100644 recipes-misc/recipes-multimedia/oxefmsynth/oxefmsynth-native.bb create mode 100644 recipes-misc/recipes-multimedia/oxefmsynth/oxefmsynth.bb create mode 100644 recipes-misc/recipes-multimedia/oxefmsynth/oxefmsynth.inc diff --git a/recipes-misc/recipes-multimedia/oxefmsynth/files/0001-Makefile.vstlinux-Drop-32-64-quirks.patch b/recipes-misc/recipes-multimedia/oxefmsynth/files/0001-Makefile.vstlinux-Drop-32-64-quirks.patch new file mode 100644 index 00000000..de713962 --- /dev/null +++ b/recipes-misc/recipes-multimedia/oxefmsynth/files/0001-Makefile.vstlinux-Drop-32-64-quirks.patch @@ -0,0 +1,44 @@ +From 3a88038e83c24bf882bea8dc6fe3576d03b0e9eb Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Andreas=20M=C3=BCller?= +Date: Sun, 29 Jan 2017 17:27:10 +0100 +Subject: [PATCH] Makefile.vstlinux: Drop 32/64 quirks +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Upstream-Status: Inappropriate [embedded specific] + +Signed-off-by: Andreas Müller +--- + Makefile.vstlinux | 14 +++----------- + 1 file changed, 3 insertions(+), 11 deletions(-) + +diff --git a/Makefile.vstlinux b/Makefile.vstlinux +index a3a8a2d..1200108 100644 +--- a/Makefile.vstlinux ++++ b/Makefile.vstlinux +@@ -65,18 +65,10 @@ else + CFLAGS+=-s -O3 + endif + +-ARCH := $(shell getconf LONG_BIT) +-ifneq ($(ARCH),32) +- BITS:=-m32 +-endif +- +-all: oxevst$(ARCH) +- +-oxevst32: bitmaps.cpp +- @$(CXX) -shared $(BITS) -o oxevst32.so $(CFLAGS) $(SOURCES) $(INCLUDES) $(LIBS) ++all: oxevst + +-oxevst64: bitmaps.cpp +- @$(CXX) -shared -m64 -o oxevst64.so $(CFLAGS) $(SOURCES) $(INCLUDES) $(LIBS) ++oxevst: bitmaps.cpp ++ @$(CXX) -shared -o oxevst.so $(CFLAGS) $(SOURCES) $(INCLUDES) $(LIBS) + + bitmaps.cpp: + @$(CXX) -o embedresources src/toolkits/embedresources.cpp +-- +2.5.5 + diff --git a/recipes-misc/recipes-multimedia/oxefmsynth/files/0002-Makefile.vstlinux-call-native-embedresources.patch b/recipes-misc/recipes-multimedia/oxefmsynth/files/0002-Makefile.vstlinux-call-native-embedresources.patch new file mode 100644 index 00000000..16efb5b9 --- /dev/null +++ b/recipes-misc/recipes-multimedia/oxefmsynth/files/0002-Makefile.vstlinux-call-native-embedresources.patch @@ -0,0 +1,47 @@ +From 6cdfbc326d24f83221ee85798eaa3800bd5642bd Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Andreas=20M=C3=BCller?= +Date: Sun, 29 Jan 2017 17:46:32 +0100 +Subject: [PATCH] Makefile.vstlinux: call native embedresources +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Upstream-Status: Inappropriate [embedded specific] + +Signed-off-by: Andreas Müller +--- + Makefile.standalone | 3 +-- + Makefile.vstlinux | 3 +-- + 2 files changed, 2 insertions(+), 4 deletions(-) + +diff --git a/Makefile.standalone b/Makefile.standalone +index 1758736..e7de5e6 100644 +--- a/Makefile.standalone ++++ b/Makefile.standalone +@@ -110,8 +110,7 @@ endif + + bitmaps.cpp: + @$(CXX) -o embedresources src/toolkits/embedresources.cpp +- @./embedresources $@ +- @rm embedresources ++ @embedresources $@ + + cocoatoolkit.o: + @gcc -c -o $@ $(OBJCSOURCES) $(INCLUDES) $(OBJCFLAGS) +diff --git a/Makefile.vstlinux b/Makefile.vstlinux +index 1200108..971562c 100644 +--- a/Makefile.vstlinux ++++ b/Makefile.vstlinux +@@ -72,8 +72,7 @@ oxevst: bitmaps.cpp + + bitmaps.cpp: + @$(CXX) -o embedresources src/toolkits/embedresources.cpp +- @./embedresources $@ +- @rm embedresources ++ @embedresources $@ + + clean: + @rm -f oxevst*.so embedresources resources.h +-- +2.5.5 + diff --git a/recipes-misc/recipes-multimedia/oxefmsynth/oxefmsynth-native.bb b/recipes-misc/recipes-multimedia/oxefmsynth/oxefmsynth-native.bb new file mode 100644 index 00000000..dd5a8386 --- /dev/null +++ b/recipes-misc/recipes-multimedia/oxefmsynth/oxefmsynth-native.bb @@ -0,0 +1,12 @@ +require ${BPN}.inc + +inherit native + +do_compile() { + ${CXX} -o embedresources src/toolkits/embedresources.cpp +} + +do_install() { + install -d ${D}${bindir} + install -m 0755 ${S}/embedresources ${D}${bindir}/ +} diff --git a/recipes-misc/recipes-multimedia/oxefmsynth/oxefmsynth.bb b/recipes-misc/recipes-multimedia/oxefmsynth/oxefmsynth.bb new file mode 100644 index 00000000..38a1a5a1 --- /dev/null +++ b/recipes-misc/recipes-multimedia/oxefmsynth/oxefmsynth.bb @@ -0,0 +1,5 @@ +require ${BPN}.inc + +DEPENDS = "${BPN}-native virtual/libx11" + +SRC_URI += "file://0002-Makefile.vstlinux-call-native-embedresources.patch" diff --git a/recipes-misc/recipes-multimedia/oxefmsynth/oxefmsynth.inc b/recipes-misc/recipes-multimedia/oxefmsynth/oxefmsynth.inc new file mode 100644 index 00000000..2608b4dd --- /dev/null +++ b/recipes-misc/recipes-multimedia/oxefmsynth/oxefmsynth.inc @@ -0,0 +1,16 @@ +SUMMARY = "Oxe FM Synth is an open source VST 2.4 instrument plugin" +HOMEPAGE = "http://www.oxesoft.com/" +LICENSE = "GPLv3" +LIC_FILES_CHKSUM = "file://LICENSE;md5=d32239bcb673463ab874e80d47fae504" + +inherit distro_features_check + +REQUIRED_DISTRO_FEATURES = "x11" + +SRC_URI = " \ + git://github.com/oxesoft/oxefmsynth.git \ + file://0001-Makefile.vstlinux-Drop-32-64-quirks.patch \ +" +SRCREV = "516dc54d34dd6e7ed65a52c899b7acb1f7631225" +PV = "1.3.5+git${SRCPV}" +S = "${WORKDIR}/git"