summaryrefslogtreecommitdiffstats
path: root/recipes-graphics/libgles/ti-img-rogue-umlibs_1.10.5371573.bb
diff options
context:
space:
mode:
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.bb63
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 @@
1DESCRIPTION = "Userspace libraries for PowerVR Rogue GPU on TI SoCs"
2HOMEPAGE = "http://git.ti.com/graphics/ti-img-rogue-umlibs"
3LICENSE = "TI-TFL"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=7232b98c1c58f99e3baa03de5207e76f"
5
6PACKAGE_ARCH = "${MACHINE_ARCH}"
7COMPATIBLE_MACHINE = "j7-evm"
8
9PR = "r0"
10
11BRANCH = "linuxws/thud/k4.19/${PV}"
12
13SRC_URI = "git://git.ti.com/graphics/ti-img-rogue-umlibs.git;branch=${BRANCH}"
14SRCREV = "a6875532315d71f036104a5cb49efa5857b4d953"
15
16PVR_SOC ?= "j721e_linux"
17PVR_BUILD ?= "release"
18PVR_WS = "wayland"
19
20INITSCRIPT_NAME = "rc.pvr"
21INITSCRIPT_PARAMS = "defaults 8"
22
23inherit update-rc.d
24
25PROVIDES += "virtual/egl virtual/libgles1 virtual/libgles2 virtual/libgbm"
26
27DEPENDS += "libdrm wayland expat"
28RDEPENDS_${PN} += "bash"
29RDEPENDS_${PN} += "python-core"
30RDEPENDS_${PN} += "ti-img-rogue-driver wayland expat"
31
32RPROVIDES_${PN} = "libegl libgles1 libgles2 libgbm"
33RPROVIDES_${PN}-dev = "libegl-dev libgles1-dev libgles2-dev libgbm-dev"
34RPROVIDES_${PN}-dbg = "libegl-dbg libgles1-dbg libgles2-dbg"
35
36RREPLACES_${PN} = "libegl libgles1 liblges2 libgbm"
37RREPLACES_${PN}-dev = "libegl-dev libgles1-dev libgles2-dev libgbm-dev"
38RREPLACES_${PN}-dbg = "libegl-dbg libgles1-dbg libgles2-dbg"
39
40RCONFLICTS_${PN} = "libegl libgles1 libgles2 libgbm"
41RCONFLICTS_${PN}-dev = "libegl-dev libgles1-dev libgles2-dev libgbm-dev"
42RCONFLICTS_${PN}-dbg = "libegl-dbg libgles1-dbg libgles2-dbg"
43
44S = "${WORKDIR}/git"
45
46do_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
51FILES_${PN} += " ${base_libdir}/firmware/"
52FILES_${PN} += " ${datadir}/"
53
54PACKAGES =+ "${PN}-plugins"
55FILES_${PN}-plugins = "${libdir}/libGLESv2.so ${libdir}/libGLESv1_CM.so ${libdir}/libEGL.so ${libdir}/dri/pvr_dri.so"
56RDEPENDS_${PN} += "${PN}-plugins"
57
58ALLOW_EMPTY_${PN}-plugins = "1"
59
60INSANE_SKIP_${PN} += "ldflags arch already-stripped"
61INSANE_SKIP_${PN}-plugins = "dev-so"
62
63CLEANBROKEN = "1"