diff options
Diffstat (limited to 'recipes-graphics/libgles/ti-img-rogue-umlibs_1.13.5776728.bb')
-rw-r--r-- | recipes-graphics/libgles/ti-img-rogue-umlibs_1.13.5776728.bb | 69 |
1 files changed, 69 insertions, 0 deletions
diff --git a/recipes-graphics/libgles/ti-img-rogue-umlibs_1.13.5776728.bb b/recipes-graphics/libgles/ti-img-rogue-umlibs_1.13.5776728.bb new file mode 100644 index 00000000..d8fae3dd --- /dev/null +++ b/recipes-graphics/libgles/ti-img-rogue-umlibs_1.13.5776728.bb | |||
@@ -0,0 +1,69 @@ | |||
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 | inherit features_check | ||
7 | |||
8 | REQUIRED_MACHINE_FEATURES = "gpu" | ||
9 | |||
10 | PACKAGE_ARCH = "${MACHINE_ARCH}" | ||
11 | COMPATIBLE_MACHINE = "j7" | ||
12 | |||
13 | PR = "r1" | ||
14 | |||
15 | BRANCH = "linuxws/dunfell/k5.4/${PV}" | ||
16 | |||
17 | SRC_URI = "git://git.ti.com/graphics/ti-img-rogue-umlibs.git;branch=${BRANCH}" | ||
18 | |||
19 | SRCREV = "3c4cabc8df10a066569e5f959cbbd4c0ce9961cd" | ||
20 | |||
21 | PVR_SOC ?= "j721e_linux" | ||
22 | PVR_BUILD ?= "release" | ||
23 | PVR_WS = "wayland" | ||
24 | |||
25 | INITSCRIPT_NAME = "rc.pvr" | ||
26 | INITSCRIPT_PARAMS = "defaults 8" | ||
27 | |||
28 | inherit update-rc.d | ||
29 | |||
30 | PROVIDES += "virtual/egl virtual/libgles1 virtual/libgles2 virtual/libgbm" | ||
31 | |||
32 | DEPENDS += "libdrm wayland expat" | ||
33 | RDEPENDS_${PN} += "bash" | ||
34 | RDEPENDS_${PN} += "wayland expat" | ||
35 | |||
36 | RPROVIDES_${PN} = "libegl libgles1 libgles2 libgbm" | ||
37 | RPROVIDES_${PN}-dev = "libegl-dev libgles1-dev libgles2-dev libgbm-dev" | ||
38 | RPROVIDES_${PN}-dbg = "libegl-dbg libgles1-dbg libgles2-dbg" | ||
39 | |||
40 | RREPLACES_${PN} = "libegl libgles1 liblges2 libgbm" | ||
41 | RREPLACES_${PN}-dev = "libegl-dev libgles1-dev libgles2-dev libgbm-dev" | ||
42 | RREPLACES_${PN}-dbg = "libegl-dbg libgles1-dbg libgles2-dbg" | ||
43 | |||
44 | RCONFLICTS_${PN} = "libegl libgles1 libgles2 libgbm" | ||
45 | RCONFLICTS_${PN}-dev = "libegl-dev libgles1-dev libgles2-dev libgbm-dev" | ||
46 | RCONFLICTS_${PN}-dbg = "libegl-dbg libgles1-dbg libgles2-dbg" | ||
47 | |||
48 | RRECOMMENDS_${PN} += "ti-img-rogue-driver" | ||
49 | |||
50 | S = "${WORKDIR}/git" | ||
51 | |||
52 | do_install () { | ||
53 | oe_runmake install DESTDIR=${D} TARGET_PRODUCT=${PVR_SOC} BUILD=${PVR_BUILD} WINDOW_SYSTEM=${PVR_WS} | ||
54 | chown -R root:root ${D} | ||
55 | } | ||
56 | |||
57 | FILES_${PN} += " ${base_libdir}/firmware/" | ||
58 | FILES_${PN} += " ${datadir}/" | ||
59 | |||
60 | PACKAGES =+ "${PN}-plugins" | ||
61 | FILES_${PN}-plugins = "${libdir}/libGLESv2.so ${libdir}/libGLESv1_CM.so ${libdir}/libEGL.so ${libdir}/dri/pvr_dri.so" | ||
62 | RDEPENDS_${PN} += "${PN}-plugins" | ||
63 | |||
64 | ALLOW_EMPTY_${PN}-plugins = "1" | ||
65 | |||
66 | INSANE_SKIP_${PN} += "ldflags arch already-stripped" | ||
67 | INSANE_SKIP_${PN}-plugins = "dev-so" | ||
68 | |||
69 | CLEANBROKEN = "1" | ||