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/" |
| 6 | LICENSE = "GPLv2" |
| 7 | LIC_FILES_CHKSUM = "file://README.txt;md5=9ab765ccda8890efc753f287911a1958" |
| 8 | |
| 9 | inherit pkgconfig |
| 10 | |
| 11 | DEPENDS = "libx11 libxext libxinerama libxrandr libxcursor freetype alsa-lib curl" |
| 12 | |
| 13 | SRCREV = "a8a7fa28e2e9cb19db6a27fcccb567a8ccfe6109" |
| 14 | BRANCH = "develop" |
| 15 | SRC_URI = "git://github.com/julianstorer/JUCE.git;protocol=https;branch=${BRANCH}" |
| 16 | |
| 17 | S = "${WORKDIR}/git" |
| 18 | PV = "4.2.3+git${SRCPV}" |
| 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 | } |