drumgizmo: add a desktop file for standalone application
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
require ${BPN}.inc
|
||||
|
||||
inherit autotools-brokensep pkgconfig distro_features_check
|
||||
inherit autotools-brokensep pkgconfig distro_features_check gtk-icon-cache
|
||||
|
||||
REQUIRED_DISTRO_FEATURE = "x11"
|
||||
|
||||
@@ -19,6 +19,7 @@ DEPENDS += " \
|
||||
SRC_URI += " \
|
||||
file://0001-automake-enable-subdir-objects.patch \
|
||||
file://0002-Use-native-rcgen.patch \
|
||||
file://drumgizmo.desktop \
|
||||
"
|
||||
|
||||
# --disable-editor: sigh - editor requires Qt4
|
||||
@@ -28,4 +29,12 @@ EXTRA_OECONF = " \
|
||||
--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"
|
||||
|
||||
@@ -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