blob: ab0f23879fc61d9013a0b33c06ad21006295661b [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"
Andrew Geissler4b7c1152020-11-30 19:55:29 -060037LDFLAGS_append_riscv32 = " -latomic"
Brad Bishope42b3e32020-01-15 22:08:42 -050038LDFLAGS_append_armv5 = " -latomic"
39
Patrick Williamsddad1a12017-02-23 20:36:32 -060040do_configure() {
41 cd ${JUCE_PROJUCER_MAKEFILE_PATH}
42 CONFIG=Release oe_runmake clean
43}
44
45do_compile() {
46 cd ${JUCE_PROJUCER_MAKEFILE_PATH}
47 CONFIG=Release oe_runmake
48}
49
50do_install() {
51 install -d ${D}${bindir}
52 install -m 0755 ${JUCE_PROJUCER} ${D}${bindir}
53}
Brad Bishope42b3e32020-01-15 22:08:42 -050054# error: '_NL_IDENTIFICATION_LANGUAGE' was not declared in this scope
55COMPATIBLE_HOST_libc-musl = "null"