summaryrefslogtreecommitdiffstats
path: root/recipes-graphics/libgles/ti-img-rogue-umlibs_1.13.5776728.bb
diff options
context:
space:
mode:
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.bb69
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 @@
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
6inherit features_check
7
8REQUIRED_MACHINE_FEATURES = "gpu"
9
10PACKAGE_ARCH = "${MACHINE_ARCH}"
11COMPATIBLE_MACHINE = "j7"
12
13PR = "r1"
14
15BRANCH = "linuxws/dunfell/k5.4/${PV}"
16
17SRC_URI = "git://git.ti.com/graphics/ti-img-rogue-umlibs.git;branch=${BRANCH}"
18
19SRCREV = "3c4cabc8df10a066569e5f959cbbd4c0ce9961cd"
20
21PVR_SOC ?= "j721e_linux"
22PVR_BUILD ?= "release"
23PVR_WS = "wayland"
24
25INITSCRIPT_NAME = "rc.pvr"
26INITSCRIPT_PARAMS = "defaults 8"
27
28inherit update-rc.d
29
30PROVIDES += "virtual/egl virtual/libgles1 virtual/libgles2 virtual/libgbm"
31
32DEPENDS += "libdrm wayland expat"
33RDEPENDS_${PN} += "bash"
34RDEPENDS_${PN} += "wayland expat"
35
36RPROVIDES_${PN} = "libegl libgles1 libgles2 libgbm"
37RPROVIDES_${PN}-dev = "libegl-dev libgles1-dev libgles2-dev libgbm-dev"
38RPROVIDES_${PN}-dbg = "libegl-dbg libgles1-dbg libgles2-dbg"
39
40RREPLACES_${PN} = "libegl libgles1 liblges2 libgbm"
41RREPLACES_${PN}-dev = "libegl-dev libgles1-dev libgles2-dev libgbm-dev"
42RREPLACES_${PN}-dbg = "libegl-dbg libgles1-dbg libgles2-dbg"
43
44RCONFLICTS_${PN} = "libegl libgles1 libgles2 libgbm"
45RCONFLICTS_${PN}-dev = "libegl-dev libgles1-dev libgles2-dev libgbm-dev"
46RCONFLICTS_${PN}-dbg = "libegl-dbg libgles1-dbg libgles2-dbg"
47
48RRECOMMENDS_${PN} += "ti-img-rogue-driver"
49
50S = "${WORKDIR}/git"
51
52do_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
57FILES_${PN} += " ${base_libdir}/firmware/"
58FILES_${PN} += " ${datadir}/"
59
60PACKAGES =+ "${PN}-plugins"
61FILES_${PN}-plugins = "${libdir}/libGLESv2.so ${libdir}/libGLESv1_CM.so ${libdir}/libEGL.so ${libdir}/dri/pvr_dri.so"
62RDEPENDS_${PN} += "${PN}-plugins"
63
64ALLOW_EMPTY_${PN}-plugins = "1"
65
66INSANE_SKIP_${PN} += "ldflags arch already-stripped"
67INSANE_SKIP_${PN}-plugins = "dev-so"
68
69CLEANBROKEN = "1"