Patrick Williams | ddad1a1 | 2017-02-23 20:36:32 -0600 | [diff] [blame] | 1 | SUMMARY = "JUCE's Projucer" |
| 2 | DESCRIPTION = "Projucer is used to build and generate support files and build infrastructure for all \ |
| 3 | JUCE supported platforms, including Linux and Embedded Linux." |
| 4 | SECTION = "utils" |
| 5 | HOMEPAGE = "http://juce.com/" |
Andrew Geissler | 9aee500 | 2022-03-30 16:27:02 +0000 | [diff] [blame] | 6 | LICENSE = "GPL-3.0-only" |
| 7 | LIC_FILES_CHKSUM = "file://LICENSE.md;md5=eff9da77cdb81a803f8cbca6c16801d8" |
| 8 | |
| 9 | LICENSE_FLAGS = "commercial" |
Patrick Williams | ddad1a1 | 2017-02-23 20:36:32 -0600 | [diff] [blame] | 10 | |
Brad Bishop | e42b3e3 | 2020-01-15 22:08:42 -0500 | [diff] [blame] | 11 | inherit pkgconfig features_check |
Patrick Williams | ddad1a1 | 2017-02-23 20:36:32 -0600 | [diff] [blame] | 12 | |
Brad Bishop | e42b3e3 | 2020-01-15 22:08:42 -0500 | [diff] [blame] | 13 | REQUIRED_DISTRO_FEATURES = "x11" |
Patrick Williams | ddad1a1 | 2017-02-23 20:36:32 -0600 | [diff] [blame] | 14 | |
Brad Bishop | e42b3e3 | 2020-01-15 22:08:42 -0500 | [diff] [blame] | 15 | DEPENDS = "libx11 libxext libxinerama libxrandr libxcursor freetype alsa-lib curl bzip2 libpng harfbuzz glib-2.0 libpcre" |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 16 | DEPENDS:append:libc-musl = " libexecinfo" |
Brad Bishop | e42b3e3 | 2020-01-15 22:08:42 -0500 | [diff] [blame] | 17 | |
Andrew Geissler | 9aee500 | 2022-03-30 16:27:02 +0000 | [diff] [blame] | 18 | SRCREV = "2f980209cc4091a4490bb1bafc5d530f16834e58" |
Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 19 | BRANCH = "master" |
Brad Bishop | e42b3e3 | 2020-01-15 22:08:42 -0500 | [diff] [blame] | 20 | SRC_URI = "git://github.com/WeAreROLI/JUCE.git;protocol=https;branch=${BRANCH} \ |
Patrick Williams | ac13d5f | 2023-11-24 18:59:46 -0600 | [diff] [blame^] | 21 | file://0001-StandardHeader-Include-utility-for-GCC-12-compatibil.patch \ |
| 22 | " |
Patrick Williams | ddad1a1 | 2017-02-23 20:36:32 -0600 | [diff] [blame] | 23 | |
| 24 | S = "${WORKDIR}/git" |
Andrew Geissler | 9aee500 | 2022-03-30 16:27:02 +0000 | [diff] [blame] | 25 | PV = "6.1.6" |
Patrick Williams | ddad1a1 | 2017-02-23 20:36:32 -0600 | [diff] [blame] | 26 | |
| 27 | JUCE_PROJUCER_BUILD_PATH = "${B}/extras/Projucer/Builds" |
| 28 | JUCE_PROJUCER_MAKEFILE_PATH = "${JUCE_PROJUCER_BUILD_PATH}/LinuxMakefile" |
| 29 | JUCE_PROJUCER = "${JUCE_PROJUCER_MAKEFILE_PATH}/build/Projucer" |
| 30 | |
Brad Bishop | e42b3e3 | 2020-01-15 22:08:42 -0500 | [diff] [blame] | 31 | # export dummy TARGET_ARCH that doesn't do much, |
| 32 | # but disables "-march=native" optimization which does |
| 33 | # not work on cross builds |
| 34 | EXTRA_OEMAKE = "V=1 JUCE_ARCH_LABEL=${TARGET_ARCH} TARGET_ARCH='-g'" |
| 35 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 36 | LDFLAGS:append:mipsarcho32 = " -latomic" |
| 37 | LDFLAGS:append:powerpc = " -latomic" |
| 38 | LDFLAGS:append:riscv64 = " -latomic" |
| 39 | LDFLAGS:append:riscv32 = " -latomic" |
| 40 | LDFLAGS:append:armv5 = " -latomic" |
Brad Bishop | e42b3e3 | 2020-01-15 22:08:42 -0500 | [diff] [blame] | 41 | |
Patrick Williams | ddad1a1 | 2017-02-23 20:36:32 -0600 | [diff] [blame] | 42 | do_configure() { |
| 43 | cd ${JUCE_PROJUCER_MAKEFILE_PATH} |
| 44 | CONFIG=Release oe_runmake clean |
| 45 | } |
| 46 | |
| 47 | do_compile() { |
| 48 | cd ${JUCE_PROJUCER_MAKEFILE_PATH} |
| 49 | CONFIG=Release oe_runmake |
| 50 | } |
| 51 | |
| 52 | do_install() { |
| 53 | install -d ${D}${bindir} |
| 54 | install -m 0755 ${JUCE_PROJUCER} ${D}${bindir} |
| 55 | } |
Brad Bishop | e42b3e3 | 2020-01-15 22:08:42 -0500 | [diff] [blame] | 56 | # error: '_NL_IDENTIFICATION_LANGUAGE' was not declared in this scope |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 57 | COMPATIBLE_HOST:libc-musl = "null" |