mirror of
https://github.com/schnitzeltony/meta-musicians.git
synced 2026-09-24 19:36:19 +02:00
12
recipes-musicians/drumgizmo/drumgizmo-native.bb
Normal file
12
recipes-musicians/drumgizmo/drumgizmo-native.bb
Normal file
@@ -0,0 +1,12 @@
|
||||
require ${BPN}.inc
|
||||
|
||||
inherit native
|
||||
|
||||
do_compile() {
|
||||
${CXX} ${CXXFLAGS} -o ${S}/drumgizmo-rcgen ${S}/plugingui/rcgen.cc $(LDFLAGS)
|
||||
}
|
||||
|
||||
do_install() {
|
||||
install -d ${D}${bindir}
|
||||
install -m 755 ${S}/drumgizmo-rcgen ${D}${bindir}
|
||||
}
|
||||
40
recipes-musicians/drumgizmo/drumgizmo.bb
Normal file
40
recipes-musicians/drumgizmo/drumgizmo.bb
Normal file
@@ -0,0 +1,40 @@
|
||||
require ${BPN}.inc
|
||||
|
||||
inherit autotools-brokensep pkgconfig distro_features_check gtk-icon-cache
|
||||
|
||||
REQUIRED_DISTRO_FEATURE = "x11"
|
||||
|
||||
DEPENDS += " \
|
||||
${BPN}-native \
|
||||
libx11 \
|
||||
libxext \
|
||||
lv2 \
|
||||
libsmf \
|
||||
alsa-lib \
|
||||
libsndfile1 \
|
||||
zita-resampler \
|
||||
jack \
|
||||
"
|
||||
|
||||
SRC_URI += " \
|
||||
file://0001-automake-enable-subdir-objects.patch \
|
||||
file://0002-Use-native-rcgen.patch \
|
||||
file://drumgizmo.desktop \
|
||||
"
|
||||
|
||||
# --disable-editor: sigh - editor requires Qt4
|
||||
EXTRA_OECONF = " \
|
||||
--enable-lv2 \
|
||||
--without-debug \
|
||||
--disable-sse \
|
||||
"
|
||||
|
||||
do_install_append() {
|
||||
install -d ${D}${datadir}/pixmaps
|
||||
install -m 0644 ${S}/plugingui/resources/logo.png ${D}${datadir}/pixmaps/drumgizmo-logo.png
|
||||
|
||||
install -d ${D}${datadir}/applications
|
||||
install -m 0644 ${WORKDIR}/${BPN}.desktop ${D}${datadir}/applications/
|
||||
}
|
||||
|
||||
FILES_${PN} += "${libdir}/lv2"
|
||||
11
recipes-musicians/drumgizmo/drumgizmo.inc
Normal file
11
recipes-musicians/drumgizmo/drumgizmo.inc
Normal file
@@ -0,0 +1,11 @@
|
||||
SUMMARY = "DrumGizmo is drum plugin and stand-alone application"
|
||||
HOMEPAGE = "https://www.drumgizmo.org"
|
||||
LICENSE = "LGPLv3"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=e6a600fd5e1d9cbde2d983680233ad02"
|
||||
|
||||
SRC_URI = " \
|
||||
http://www.drumgizmo.org/releases/${BPN}-${PV}/${BPN}-${PV}.tar.gz \
|
||||
"
|
||||
SRC_URI[md5sum] = "86e4239f1eb59e8b77c7d13edc24f93b"
|
||||
SRC_URI[sha256sum] = "8f76b58785186ac02337b9248003ec1a459a801d3003619fd32fde976c307947"
|
||||
PV = "0.9.16"
|
||||
@@ -0,0 +1,31 @@
|
||||
From c9eec598b2f8b1435a2229dd5c49a9e15c6bc2ac Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@gmail.com>
|
||||
Date: Thu, 22 Feb 2018 00:13:04 +0100
|
||||
Subject: [PATCH] automake: enable subdir-objects
|
||||
MIME-Version: 1.0
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
Content-Transfer-Encoding: 8bit
|
||||
|
||||
Upstream-Status: Pending
|
||||
|
||||
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
|
||||
---
|
||||
configure.ac | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index 0562059..13a7ffc 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -3,7 +3,7 @@
|
||||
AC_INIT([drumgizmo], m4_esyscmd([cat version.h | cut -d'"' -f2 | xargs echo -n]))dnl"
|
||||
|
||||
AC_CONFIG_SRCDIR([src/drumgizmo.cc])
|
||||
-AM_INIT_AUTOMAKE
|
||||
+AM_INIT_AUTOMAKE(subdir-objects)
|
||||
|
||||
AC_PROG_CXX
|
||||
AC_PROG_OBJC
|
||||
--
|
||||
2.14.3
|
||||
|
||||
@@ -0,0 +1,31 @@
|
||||
From 766c8c4aa6f6e8743234b93a760a89480bddd7fd Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@gmail.com>
|
||||
Date: Mon, 28 May 2018 23:08:07 +0200
|
||||
Subject: [PATCH] Use native rcgen
|
||||
MIME-Version: 1.0
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
Content-Transfer-Encoding: 8bit
|
||||
|
||||
Upstream-Status: Inappropriate [cross specific]
|
||||
|
||||
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
|
||||
---
|
||||
plugingui/Makefile.am | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/plugingui/Makefile.am b/plugingui/Makefile.am
|
||||
index dd36783..ca30e84 100644
|
||||
--- a/plugingui/Makefile.am
|
||||
+++ b/plugingui/Makefile.am
|
||||
@@ -28,7 +28,7 @@ RES = \
|
||||
../COPYING
|
||||
|
||||
resource_data.cc : rcgen $(RES)
|
||||
- ./rcgen $(RES) > resource_data.cc
|
||||
+ drumgizmo-rcgen $(RES) > resource_data.cc
|
||||
|
||||
libdggui_la_CPPFLAGS = \
|
||||
$(GUI_CPPFLAGS) \
|
||||
--
|
||||
2.14.3
|
||||
|
||||
8
recipes-musicians/drumgizmo/files/drumgizmo.desktop
Normal file
8
recipes-musicians/drumgizmo/files/drumgizmo.desktop
Normal file
@@ -0,0 +1,8 @@
|
||||
[Desktop Entry]
|
||||
Name=DrumGizmo
|
||||
Comment=DrumGizmo standalone application
|
||||
Exec=drumgizmo
|
||||
Icon=drumgizmo-logo.png
|
||||
Terminal=false
|
||||
Type=Application
|
||||
Categories=Application;Audio;Midi;Music
|
||||
Reference in New Issue
Block a user