blob: fc8baa45b498dd938258745beef3e1c2c3b8f608 [file] [log] [blame]
Patrick Williamsddad1a12017-02-23 20:36:32 -06001SUMMARY = "JUCE's Projucer"
2DESCRIPTION = "Projucer is used to build and generate support files and build infrastructure for all \
3JUCE supported platforms, including Linux and Embedded Linux."
4SECTION = "utils"
5HOMEPAGE = "http://juce.com/"
Brad Bishopd7bf8c12018-02-25 22:55:05 -05006LICENSE = "GPLv3"
Brad Bishope42b3e32020-01-15 22:08:42 -05007LIC_FILES_CHKSUM = "file://LICENSE.md;md5=a20f91622a47d4e4af9340d5d3f1a2d8"
Patrick Williamsddad1a12017-02-23 20:36:32 -06008
Brad Bishope42b3e32020-01-15 22:08:42 -05009inherit pkgconfig features_check
Patrick Williamsddad1a12017-02-23 20:36:32 -060010
Brad Bishope42b3e32020-01-15 22:08:42 -050011REQUIRED_DISTRO_FEATURES = "x11"
Patrick Williamsddad1a12017-02-23 20:36:32 -060012
Brad Bishope42b3e32020-01-15 22:08:42 -050013DEPENDS = "libx11 libxext libxinerama libxrandr libxcursor freetype alsa-lib curl bzip2 libpng harfbuzz glib-2.0 libpcre"
14DEPENDS_append_libc-musl = " libexecinfo"
15
16SRCREV = "724ae27c71ef809b836df06713cf9e50bc14162b"
Brad Bishopd7bf8c12018-02-25 22:55:05 -050017BRANCH = "master"
Brad Bishope42b3e32020-01-15 22:08:42 -050018SRC_URI = "git://github.com/WeAreROLI/JUCE.git;protocol=https;branch=${BRANCH} \
19 file://0001-Disable-webkit-component.patch \
20"
Patrick Williamsddad1a12017-02-23 20:36:32 -060021
22S = "${WORKDIR}/git"
Brad Bishope42b3e32020-01-15 22:08:42 -050023PV = "5.4.5"
Patrick Williamsddad1a12017-02-23 20:36:32 -060024
25JUCE_PROJUCER_BUILD_PATH = "${B}/extras/Projucer/Builds"
26JUCE_PROJUCER_MAKEFILE_PATH = "${JUCE_PROJUCER_BUILD_PATH}/LinuxMakefile"
27JUCE_PROJUCER = "${JUCE_PROJUCER_MAKEFILE_PATH}/build/Projucer"
28
Brad Bishope42b3e32020-01-15 22:08:42 -050029# export dummy TARGET_ARCH that doesn't do much,
30# but disables "-march=native" optimization which does
31# not work on cross builds
32EXTRA_OEMAKE = "V=1 JUCE_ARCH_LABEL=${TARGET_ARCH} TARGET_ARCH='-g'"
33
34LDFLAGS_append_mipsarcho32 = " -latomic"
35LDFLAGS_append_powerpc = " -latomic"
36LDFLAGS_append_riscv64 = " -latomic"
37LDFLAGS_append_armv5 = " -latomic"
38
Patrick Williamsddad1a12017-02-23 20:36:32 -060039do_configure() {
40 cd ${JUCE_PROJUCER_MAKEFILE_PATH}
41 CONFIG=Release oe_runmake clean
42}
43
44do_compile() {
45 cd ${JUCE_PROJUCER_MAKEFILE_PATH}
46 CONFIG=Release oe_runmake
47}
48
49do_install() {
50 install -d ${D}${bindir}
51 install -m 0755 ${JUCE_PROJUCER} ${D}${bindir}
52}
Brad Bishope42b3e32020-01-15 22:08:42 -050053# error: '_NL_IDENTIFICATION_LANGUAGE' was not declared in this scope
54COMPATIBLE_HOST_libc-musl = "null"