blob: ee979934268afdd3243605d9755e5f1a4ae4bd42 [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"
William A. Kennington IIIb95905d2021-06-02 12:40:56 -07007LIC_FILES_CHKSUM = "file://LICENSE.md;md5=12e9c2db7897c0349a4cc1c6d2a8c5d5"
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"
Patrick Williams213cb262021-08-07 19:21:33 -050014DEPENDS:append:libc-musl = " libexecinfo"
Brad Bishope42b3e32020-01-15 22:08:42 -050015
William A. Kennington IIIb95905d2021-06-02 12:40:56 -070016SRCREV = "90e8da0cfb54ac593cdbed74c3d0c9b09bad3a9f"
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} \
Brad Bishope42b3e32020-01-15 22:08:42 -050019"
Patrick Williamsddad1a12017-02-23 20:36:32 -060020
21S = "${WORKDIR}/git"
William A. Kennington IIIb95905d2021-06-02 12:40:56 -070022PV = "6.0.8"
Patrick Williamsddad1a12017-02-23 20:36:32 -060023
24JUCE_PROJUCER_BUILD_PATH = "${B}/extras/Projucer/Builds"
25JUCE_PROJUCER_MAKEFILE_PATH = "${JUCE_PROJUCER_BUILD_PATH}/LinuxMakefile"
26JUCE_PROJUCER = "${JUCE_PROJUCER_MAKEFILE_PATH}/build/Projucer"
27
Brad Bishope42b3e32020-01-15 22:08:42 -050028# export dummy TARGET_ARCH that doesn't do much,
29# but disables "-march=native" optimization which does
30# not work on cross builds
31EXTRA_OEMAKE = "V=1 JUCE_ARCH_LABEL=${TARGET_ARCH} TARGET_ARCH='-g'"
32
Patrick Williams213cb262021-08-07 19:21:33 -050033LDFLAGS:append:mipsarcho32 = " -latomic"
34LDFLAGS:append:powerpc = " -latomic"
35LDFLAGS:append:riscv64 = " -latomic"
36LDFLAGS:append:riscv32 = " -latomic"
37LDFLAGS:append:armv5 = " -latomic"
Brad Bishope42b3e32020-01-15 22:08:42 -050038
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
Patrick Williams213cb262021-08-07 19:21:33 -050054COMPATIBLE_HOST:libc-musl = "null"