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/" |
Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 6 | LICENSE = "GPLv3" |
Brad Bishop | e42b3e3 | 2020-01-15 22:08:42 -0500 | [diff] [blame] | 7 | LIC_FILES_CHKSUM = "file://LICENSE.md;md5=a20f91622a47d4e4af9340d5d3f1a2d8" |
Patrick Williams | ddad1a1 | 2017-02-23 20:36:32 -0600 | [diff] [blame] | 8 | |
Brad Bishop | e42b3e3 | 2020-01-15 22:08:42 -0500 | [diff] [blame] | 9 | inherit pkgconfig features_check |
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 | REQUIRED_DISTRO_FEATURES = "x11" |
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 | DEPENDS = "libx11 libxext libxinerama libxrandr libxcursor freetype alsa-lib curl bzip2 libpng harfbuzz glib-2.0 libpcre" |
| 14 | DEPENDS_append_libc-musl = " libexecinfo" |
| 15 | |
| 16 | SRCREV = "724ae27c71ef809b836df06713cf9e50bc14162b" |
Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 17 | BRANCH = "master" |
Brad Bishop | e42b3e3 | 2020-01-15 22:08:42 -0500 | [diff] [blame] | 18 | SRC_URI = "git://github.com/WeAreROLI/JUCE.git;protocol=https;branch=${BRANCH} \ |
| 19 | file://0001-Disable-webkit-component.patch \ |
| 20 | " |
Patrick Williams | ddad1a1 | 2017-02-23 20:36:32 -0600 | [diff] [blame] | 21 | |
| 22 | S = "${WORKDIR}/git" |
Brad Bishop | e42b3e3 | 2020-01-15 22:08:42 -0500 | [diff] [blame] | 23 | PV = "5.4.5" |
Patrick Williams | ddad1a1 | 2017-02-23 20:36:32 -0600 | [diff] [blame] | 24 | |
| 25 | JUCE_PROJUCER_BUILD_PATH = "${B}/extras/Projucer/Builds" |
| 26 | JUCE_PROJUCER_MAKEFILE_PATH = "${JUCE_PROJUCER_BUILD_PATH}/LinuxMakefile" |
| 27 | JUCE_PROJUCER = "${JUCE_PROJUCER_MAKEFILE_PATH}/build/Projucer" |
| 28 | |
Brad Bishop | e42b3e3 | 2020-01-15 22:08:42 -0500 | [diff] [blame] | 29 | # export dummy TARGET_ARCH that doesn't do much, |
| 30 | # but disables "-march=native" optimization which does |
| 31 | # not work on cross builds |
| 32 | EXTRA_OEMAKE = "V=1 JUCE_ARCH_LABEL=${TARGET_ARCH} TARGET_ARCH='-g'" |
| 33 | |
| 34 | LDFLAGS_append_mipsarcho32 = " -latomic" |
| 35 | LDFLAGS_append_powerpc = " -latomic" |
| 36 | LDFLAGS_append_riscv64 = " -latomic" |
| 37 | LDFLAGS_append_armv5 = " -latomic" |
| 38 | |
Patrick Williams | ddad1a1 | 2017-02-23 20:36:32 -0600 | [diff] [blame] | 39 | do_configure() { |
| 40 | cd ${JUCE_PROJUCER_MAKEFILE_PATH} |
| 41 | CONFIG=Release oe_runmake clean |
| 42 | } |
| 43 | |
| 44 | do_compile() { |
| 45 | cd ${JUCE_PROJUCER_MAKEFILE_PATH} |
| 46 | CONFIG=Release oe_runmake |
| 47 | } |
| 48 | |
| 49 | do_install() { |
| 50 | install -d ${D}${bindir} |
| 51 | install -m 0755 ${JUCE_PROJUCER} ${D}${bindir} |
| 52 | } |
Brad Bishop | e42b3e3 | 2020-01-15 22:08:42 -0500 | [diff] [blame] | 53 | # error: '_NL_IDENTIFICATION_LANGUAGE' was not declared in this scope |
| 54 | COMPATIBLE_HOST_libc-musl = "null" |