modgui-embed: initial add

As mentioned in comment: This won't work as is.

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
This commit is contained in:
Andreas Müller
2017-12-31 10:19:24 +01:00
parent cf04223496
commit 347f2711e8
2 changed files with 69 additions and 0 deletions

View File

@@ -0,0 +1,33 @@
From 3891b9d78e8debf0a725aaef14dcf15a2531621d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@gmail.com>
Date: Sun, 31 Dec 2017 09:39:53 +0100
Subject: [PATCH] Remove x86 specific build flags
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@gmail.com>
---
Makefile | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/Makefile b/Makefile
index 5aaad52..2fc727b 100644
--- a/Makefile
+++ b/Makefile
@@ -11,8 +11,8 @@ CXX ?= g++
# Set build and link flags
BASE_FLAGS = -Wall -Wextra -pipe -DREAL_BUILD -MD -MP
-BASE_OPTS = -O2 -mtune=generic -msse -msse2 -fdata-sections -ffunction-sections -fPIC -DPIC
-LINK_OPTS = -fdata-sections -ffunction-sections -Wl,--gc-sections -Wl,-O1 -Wl,--as-needed -Wl,--strip-all
+BASE_OPTS = -O2 -fdata-sections -ffunction-sections -fPIC -DPIC
+LINK_OPTS = -fdata-sections -ffunction-sections -Wl,--gc-sections -Wl,-O1 -Wl,--as-needed
ifeq ($(DEBUG),true)
BASE_FLAGS += -DDEBUG -O0 -g
--
2.14.3

View File

@@ -0,0 +1,36 @@
SUMMARY = "MODGUIs as regular, embeddable LV2 UIs"
HOMEPAGE = "http://distrho.sourceforge.net/ports"
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = " \
file://modgui-x11ui.lv2/modgui-x11;beginline=4;endline=17;md5=641a06ff4188f4a77fa2d4927a5ec9eb \
"
# Important notice:
# This recipe builds but won't work: I RDEPENDS on pyqt4 build with webkit
SRC_URI = " \
git://github.com/moddevices/modgui-embed.git \
file://0001-Remove-x86-specific-build-flags.patch \
"
SRCREV = "469ec4916c4b75615bfed69ea63a7d1f26296ba0"
S = "${WORKDIR}/git"
PV = "0.0.0+git${SRCPV}"
REQUIRED_DISTRO_FEATURES = "x11"
inherit qemu-ext distro_features_check
DEPENDS += " \
lv2 \
"
do_install() {
install -d ${D}${libdir}/lv2
cp -r ${S}/modgui-x11ui.lv2 ${D}${libdir}/lv2/
}
FILES_${PN} += " \
${libdir}/lv2 \
"