diff options
Diffstat (limited to 'recipes-graphics/libgles/ti-img-rogue-umlibs_1.10.5371573.bb')
-rw-r--r-- | recipes-graphics/libgles/ti-img-rogue-umlibs_1.10.5371573.bb | 63 |
1 files changed, 63 insertions, 0 deletions
diff --git a/recipes-graphics/libgles/ti-img-rogue-umlibs_1.10.5371573.bb b/recipes-graphics/libgles/ti-img-rogue-umlibs_1.10.5371573.bb new file mode 100644 index 00000000..8c05fd1c --- /dev/null +++ b/recipes-graphics/libgles/ti-img-rogue-umlibs_1.10.5371573.bb | |||
@@ -0,0 +1,63 @@ | |||
1 | DESCRIPTION = "Userspace libraries for PowerVR Rogue GPU on TI SoCs" | ||
2 | HOMEPAGE = "http://git.ti.com/graphics/ti-img-rogue-umlibs" | ||
3 | LICENSE = "TI-TFL" | ||
4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=7232b98c1c58f99e3baa03de5207e76f" | ||
5 | |||
6 | PACKAGE_ARCH = "${MACHINE_ARCH}" | ||
7 | COMPATIBLE_MACHINE = "j7-evm" | ||
8 | |||
9 | PR = "r0" | ||
10 | |||
11 | BRANCH = "linuxws/thud/k4.19/${PV}" | ||
12 | |||
13 | SRC_URI = "git://git.ti.com/graphics/ti-img-rogue-umlibs.git;branch=${BRANCH}" | ||
14 | SRCREV = "a6875532315d71f036104a5cb49efa5857b4d953" | ||
15 | |||
16 | PVR_SOC ?= "j721e_linux" | ||
17 | PVR_BUILD ?= "release" | ||
18 | PVR_WS = "wayland" | ||
19 | |||
20 | INITSCRIPT_NAME = "rc.pvr" | ||
21 | INITSCRIPT_PARAMS = "defaults 8" | ||
22 | |||
23 | inherit update-rc.d | ||
24 | |||
25 | PROVIDES += "virtual/egl virtual/libgles1 virtual/libgles2 virtual/libgbm" | ||
26 | |||
27 | DEPENDS += "libdrm wayland expat" | ||
28 | RDEPENDS_${PN} += "bash" | ||
29 | RDEPENDS_${PN} += "python-core" | ||
30 | RDEPENDS_${PN} += "ti-img-rogue-driver wayland expat" | ||
31 | |||
32 | RPROVIDES_${PN} = "libegl libgles1 libgles2 libgbm" | ||
33 | RPROVIDES_${PN}-dev = "libegl-dev libgles1-dev libgles2-dev libgbm-dev" | ||
34 | RPROVIDES_${PN}-dbg = "libegl-dbg libgles1-dbg libgles2-dbg" | ||
35 | |||
36 | RREPLACES_${PN} = "libegl libgles1 liblges2 libgbm" | ||
37 | RREPLACES_${PN}-dev = "libegl-dev libgles1-dev libgles2-dev libgbm-dev" | ||
38 | RREPLACES_${PN}-dbg = "libegl-dbg libgles1-dbg libgles2-dbg" | ||
39 | |||
40 | RCONFLICTS_${PN} = "libegl libgles1 libgles2 libgbm" | ||
41 | RCONFLICTS_${PN}-dev = "libegl-dev libgles1-dev libgles2-dev libgbm-dev" | ||
42 | RCONFLICTS_${PN}-dbg = "libegl-dbg libgles1-dbg libgles2-dbg" | ||
43 | |||
44 | S = "${WORKDIR}/git" | ||
45 | |||
46 | do_install () { | ||
47 | oe_runmake install DESTDIR=${D} TARGET_PRODUCT=${PVR_SOC} BUILD=${PVR_BUILD} WINDOW_SYSTEM=${PVR_WS} | ||
48 | chown -R root:root ${D} | ||
49 | } | ||
50 | |||
51 | FILES_${PN} += " ${base_libdir}/firmware/" | ||
52 | FILES_${PN} += " ${datadir}/" | ||
53 | |||
54 | PACKAGES =+ "${PN}-plugins" | ||
55 | FILES_${PN}-plugins = "${libdir}/libGLESv2.so ${libdir}/libGLESv1_CM.so ${libdir}/libEGL.so ${libdir}/dri/pvr_dri.so" | ||
56 | RDEPENDS_${PN} += "${PN}-plugins" | ||
57 | |||
58 | ALLOW_EMPTY_${PN}-plugins = "1" | ||
59 | |||
60 | INSANE_SKIP_${PN} += "ldflags arch already-stripped" | ||
61 | INSANE_SKIP_${PN}-plugins = "dev-so" | ||
62 | |||
63 | CLEANBROKEN = "1" | ||