Compare commits
1 Commits
sumo
...
oxefmsynth
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
25f48221fa |
@@ -0,0 +1,44 @@
|
||||
From 3a88038e83c24bf882bea8dc6fe3576d03b0e9eb Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@googlemail.com>
|
||||
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 <schnitzeltony@googlemail.com>
|
||||
---
|
||||
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
|
||||
|
||||
@@ -0,0 +1,47 @@
|
||||
From 6cdfbc326d24f83221ee85798eaa3800bd5642bd Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@googlemail.com>
|
||||
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 <schnitzeltony@googlemail.com>
|
||||
---
|
||||
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
|
||||
|
||||
@@ -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}/
|
||||
}
|
||||
5
recipes-misc/recipes-multimedia/oxefmsynth/oxefmsynth.bb
Normal file
5
recipes-misc/recipes-multimedia/oxefmsynth/oxefmsynth.bb
Normal file
@@ -0,0 +1,5 @@
|
||||
require ${BPN}.inc
|
||||
|
||||
DEPENDS = "${BPN}-native virtual/libx11"
|
||||
|
||||
SRC_URI += "file://0002-Makefile.vstlinux-call-native-embedresources.patch"
|
||||
16
recipes-misc/recipes-multimedia/oxefmsynth/oxefmsynth.inc
Normal file
16
recipes-misc/recipes-multimedia/oxefmsynth/oxefmsynth.inc
Normal file
@@ -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"
|
||||
Reference in New Issue
Block a user