Files
meta-musicians/recipes-musicians/polyphone/polyphone.bb
Andreas Müller 7d3d625a9e polyphone: upgrade 2.3.0 -> 2.3.1
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2022-08-31 21:21:19 +02:00

57 lines
1.3 KiB
BlitzBasic

SUMMARY = "Soundfont editor"
HOMEPAGE = "http://polyphone-soundfonts.com/en/"
LICENSE = "GPL-3.0-only"
LIC_FILES_CHKSUM = "file://main.cpp;beginline=6;endline=18;md5=11e8b245e7c8a15dafd52bc856ef3ff1"
inherit qmake5 pkgconfig 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;protocol=https;branch=master \
file://polyphone.desktop \
file://polyphone.mime \
"
SRCREV = "8413167d83cc911405c5f1813cd5b0ceab701827"
PV = "2.3.1"
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 \
"