rjw | 1f88458 | 2022-01-06 17:20:42 +0800 | [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/" |
| 6 | LICENSE = "GPLv3" |
| 7 | LIC_FILES_CHKSUM = "file://README.md;md5=65c50b4ff3522b99436da100536ccd1c" |
| 8 | |
| 9 | inherit pkgconfig |
| 10 | |
| 11 | DEPENDS = "libx11 libxext libxinerama libxrandr libxcursor freetype alsa-lib curl" |
| 12 | |
| 13 | SRCREV = "4f41f28b47d01b939559123d145b4e5860528bb7" |
| 14 | BRANCH = "master" |
| 15 | SRC_URI = "git://github.com/WeAreROLI/JUCE.git;protocol=https;branch=${BRANCH}" |
| 16 | |
| 17 | S = "${WORKDIR}/git" |
| 18 | PV = "5.0.1" |
| 19 | |
| 20 | JUCE_PROJUCER_BUILD_PATH = "${B}/extras/Projucer/Builds" |
| 21 | JUCE_PROJUCER_MAKEFILE_PATH = "${JUCE_PROJUCER_BUILD_PATH}/LinuxMakefile" |
| 22 | JUCE_PROJUCER = "${JUCE_PROJUCER_MAKEFILE_PATH}/build/Projucer" |
| 23 | |
| 24 | do_configure() { |
| 25 | cd ${JUCE_PROJUCER_MAKEFILE_PATH} |
| 26 | CONFIG=Release oe_runmake clean |
| 27 | } |
| 28 | |
| 29 | do_compile() { |
| 30 | cd ${JUCE_PROJUCER_MAKEFILE_PATH} |
| 31 | CONFIG=Release oe_runmake |
| 32 | } |
| 33 | |
| 34 | do_install() { |
| 35 | install -d ${D}${bindir} |
| 36 | install -m 0755 ${JUCE_PROJUCER} ${D}${bindir} |
| 37 | } |