aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-graphics/raspidmx/raspidmx_git.bb
blob: 4729e8c259a5a387ee7f761c565c13318f852d15 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
SUMMARY = "Some examples using the DispmanX API on the Raspberry Pi"
HOMEPAGE = "https://github.com/AndrewFromMelbourne/raspidmx"
SECTION = "graphics"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE;md5=52962875ab02c36df6cde47b1f463024"

COMPATIBLE_HOST = "null"
COMPATIBLE_HOST:rpi = "${@bb.utils.contains('MACHINE_FEATURES', 'vc4graphics', 'null', '(.*)', d)}"

SRC_URI = "git://github.com/AndrewFromMelbourne/raspidmx;protocol=https;branch=master \
           file://0001-gitignore-add-archives-from-lib-directory.patch \
           file://0002-add-install-targets-to-Makefiles.patch \
           file://0003-switch-to-pkg-config.patch \
           file://0004-add-libvchostif-to-link.patch \
           file://0005-change-library-linking-order.patch \
           file://0006-game-Makefile-install-sample-png-files.patch \
           file://0007-Makefile-reorganize.patch \
           "

PV = "0.0+git${SRCPV}"
SRCREV = "e2ee6faa0d01a5ece06bcc74a47f37d7e6837310"

S = "${WORKDIR}/git"

inherit pkgconfig

DEPENDS += "libpng userland"

do_install () {
	oe_runmake 'DESTDIR=${D}' 'TARGET=install'
}