60 lines
1.5 KiB
BlitzBasic
60 lines
1.5 KiB
BlitzBasic
SUMMARY = "Soundfont editor"
|
|
HOMEPAGE = "http://polyphone-soundfonts.com/en/"
|
|
LICENSE = "GPLv3"
|
|
LIC_FILES_CHKSUM = "file://main.cpp;beginline=6;endline=18;md5=11e8b245e7c8a15dafd52bc856ef3ff1"
|
|
|
|
inherit qmake5 gtk-icon-cache mime mime-xdg dos2unix
|
|
|
|
DEPENDS += " \
|
|
qttools-native \
|
|
qtbase \
|
|
qtsvg \
|
|
alsa-lib \
|
|
jack \
|
|
portaudio-v19 \
|
|
rtmidi \
|
|
qcustomplot \
|
|
stk \
|
|
libvorbis \
|
|
libogg \
|
|
"
|
|
|
|
SRC_URI = " \
|
|
git://github.com/davy7125/polyphone.git \
|
|
file://polyphone.desktop \
|
|
file://polyphone.mime \
|
|
file://0001-align-compiler-switches-constants-for-cross-compilin.patch \
|
|
file://0002-Sanitize-includes.patch \
|
|
file://0003-Fix-build-with-Qt-5.15.patch \
|
|
"
|
|
SRCREV = "f579c57045e443b8f4b22375e3bbaf09a3e45c24"
|
|
PV = "2.2.0+git${SRCPV}"
|
|
S = "${WORKDIR}/git/sources"
|
|
|
|
do_configure:prepend() {
|
|
sed -i \
|
|
-e 's:= /usr/include:= ${STAGING_INCDIR}:g' \
|
|
${S}/polyphone.pro
|
|
}
|
|
|
|
CXXFLAGS += "-I${STAGING_INCDIR}/qcustomplot"
|
|
|
|
do_install() {
|
|
install -d ${D}${bindir}
|
|
install -m 0755 ${B}/bin/polyphone ${D}${bindir}/
|
|
|
|
install -d ${D}${datadir}/pixmaps
|
|
install -m 0644 ${S}/resources/polyphone.png ${D}${datadir}/pixmaps/
|
|
|
|
install -d ${D}${datadir}/applications
|
|
install -m 0644 ${WORKDIR}/${BPN}.desktop ${D}${datadir}/applications/
|
|
|
|
install -d ${D}${datadir}/mime/packages
|
|
install -m 0644 ${WORKDIR}/${BPN}.mime ${D}${datadir}/mime/packages/${BPN}.xml
|
|
}
|
|
|
|
FILES:${PN} += " \
|
|
${datadir}/mime \
|
|
"
|
|
|