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} \ |
Brad Bishop | e42b3e3 | 2020-01-15 22:08:42 -0500 | [diff] [blame] | 21 | " |
Patrick Williams | ddad1a1 | 2017-02-23 20:36:32 -0600 | [diff] [blame] | 22 | |
| 23 | S = "${WORKDIR}/git" |
Andrew Geissler | 9aee500 | 2022-03-30 16:27:02 +0000 | [diff] [blame] | 24 | PV = "6.1.6" |
Patrick Williams | ddad1a1 | 2017-02-23 20:36:32 -0600 | [diff] [blame] | 25 | |
| 26 | JUCE_PROJUCER_BUILD_PATH = "${B}/extras/Projucer/Builds" |
| 27 | JUCE_PROJUCER_MAKEFILE_PATH = "${JUCE_PROJUCER_BUILD_PATH}/LinuxMakefile" |
| 28 | JUCE_PROJUCER = "${JUCE_PROJUCER_MAKEFILE_PATH}/build/Projucer" |
| 29 | |
Brad Bishop | e42b3e3 | 2020-01-15 22:08:42 -0500 | [diff] [blame] | 30 | # export dummy TARGET_ARCH that doesn't do much, |
| 31 | # but disables "-march=native" optimization which does |
| 32 | # not work on cross builds |
| 33 | EXTRA_OEMAKE = "V=1 JUCE_ARCH_LABEL=${TARGET_ARCH} TARGET_ARCH='-g'" |
| 34 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 35 | LDFLAGS:append:mipsarcho32 = " -latomic" |
| 36 | LDFLAGS:append:powerpc = " -latomic" |
| 37 | LDFLAGS:append:riscv64 = " -latomic" |
| 38 | LDFLAGS:append:riscv32 = " -latomic" |
| 39 | LDFLAGS:append:armv5 = " -latomic" |
Brad Bishop | e42b3e3 | 2020-01-15 22:08:42 -0500 | [diff] [blame] | 40 | |
Patrick Williams | ddad1a1 | 2017-02-23 20:36:32 -0600 | [diff] [blame] | 41 | do_configure() { |
| 42 | cd ${JUCE_PROJUCER_MAKEFILE_PATH} |
| 43 | CONFIG=Release oe_runmake clean |
| 44 | } |
| 45 | |
| 46 | do_compile() { |
| 47 | cd ${JUCE_PROJUCER_MAKEFILE_PATH} |
| 48 | CONFIG=Release oe_runmake |
| 49 | } |
| 50 | |
| 51 | do_install() { |
| 52 | install -d ${D}${bindir} |
| 53 | install -m 0755 ${JUCE_PROJUCER} ${D}${bindir} |
| 54 | } |
Brad Bishop | e42b3e3 | 2020-01-15 22:08:42 -0500 | [diff] [blame] | 55 | # error: '_NL_IDENTIFICATION_LANGUAGE' was not declared in this scope |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 56 | COMPATIBLE_HOST:libc-musl = "null" |