summaryrefslogtreecommitdiffstats
path: root/recipes-graphics
diff options
context:
space:
mode:
authorDenys Dmytriyenko <denys@ti.com>2013-06-21 14:24:50 -0400
committerDenys Dmytriyenko <denys@ti.com>2013-06-21 14:53:05 -0400
commita6e3b7466fec563b6e9683d6d23071c5432535c9 (patch)
treee8cc12995df2188bb498b7b809096e21d53c04af /recipes-graphics
parent147715e937973e500d4ac4d017712ecc5fb679e8 (diff)
downloadmeta-ti-a6e3b7466fec563b6e9683d6d23071c5432535c9.tar.gz
libgles-omap3: don't RCONFLICT/RREPLACE no-x version with x11 as it breaks non-X distros
* Enables building/installing both X11 and RAW libs/demos. Plus otherwise the build is broken for non-X distros, as it pulls in X11 deps due to RREPLACES... * Fix broken DEPENDS copy/paste typo. * Also, clean up after the previous changes - extra empty lines, indentation, etc. Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Diffstat (limited to 'recipes-graphics')
-rw-r--r--recipes-graphics/libgles/libgles-omap3-no-x.inc3
-rw-r--r--recipes-graphics/libgles/libgles-omap3-x11.inc21
-rw-r--r--recipes-graphics/libgles/libgles-omap3.inc1
3 files changed, 10 insertions, 15 deletions
diff --git a/recipes-graphics/libgles/libgles-omap3-no-x.inc b/recipes-graphics/libgles/libgles-omap3-no-x.inc
index 6d79bf6f..d4cb46bb 100644
--- a/recipes-graphics/libgles/libgles-omap3-no-x.inc
+++ b/recipes-graphics/libgles/libgles-omap3-no-x.inc
@@ -245,7 +245,7 @@ FILES_${PN}-dbg = "${libdir}/.debug/* ${bindir}/.debug/* \
245 ${libdir}/ES*/.debug ${bindir}/*/.debug\ 245 ${libdir}/ES*/.debug ${bindir}/*/.debug\
246 ${bindir}/SGX/demos/*/.debug/* \ 246 ${bindir}/SGX/demos/*/.debug/* \
247 ${bindir}/SGX/trainingcourses/*/.debug/* \ 247 ${bindir}/SGX/trainingcourses/*/.debug/* \
248 " 248"
249 249
250FILES_${PN}-rawdemos = "${bindir}/SGX/demos/Raw/*" 250FILES_${PN}-rawdemos = "${bindir}/SGX/demos/Raw/*"
251 251
@@ -315,4 +315,3 @@ rm -f $D${sysconfdir}/powervr-esrev
315pkg_postinst_${PN}-linuxfbwsegl() { 315pkg_postinst_${PN}-linuxfbwsegl() {
316rm -f $D${sysconfdir}/powervr-esrev 316rm -f $D${sysconfdir}/powervr-esrev
317} 317}
318
diff --git a/recipes-graphics/libgles/libgles-omap3-x11.inc b/recipes-graphics/libgles/libgles-omap3-x11.inc
index c4d08067..6621396d 100644
--- a/recipes-graphics/libgles/libgles-omap3-x11.inc
+++ b/recipes-graphics/libgles/libgles-omap3-x11.inc
@@ -7,27 +7,24 @@ PR = "r35"
7 7
8COMPATIBLE_MACHINE = "(omap3|ti814x|ti816x|ti33x)" 8COMPATIBLE_MACHINE = "(omap3|ti814x|ti816x|ti33x)"
9 9
10X11DEPENDS = "virtual/libx11 libxau libxdmcp libdrm" 10DEPENDS = "virtual/libx11 libxau libxdmcp libdrm"
11DEPENDS = "x11"
12 11
13export SUPPORT_XORG ?= "1" 12export SUPPORT_XORG ?= "1"
14PVR_INIT ?= "pvrsrvinit" 13PVR_INIT ?= "pvrsrvinit"
15 14
16PROVIDES += "virtual/egl virtual/libgles1 virtual/libgles2" 15PROVIDES += "virtual/egl virtual/libgles1 virtual/libgles2"
17 16
18RREPLACES_${PN} = "libegl libgles1 libgles2 libgles-omap3" 17RREPLACES_${PN} = "libegl libgles1 libgles2"
19RREPLACES_${PN}-dev = "libegl-dev libgles1-dev libgles2-dev libgles-omap3-dev" 18RREPLACES_${PN}-dev = "libegl-dev libgles1-dev libgles2-dev"
20RREPLACES_${PN}-dbg = "libegl-dbg libgles-omap3-dbg" 19RREPLACES_${PN}-dbg = "libegl-dbg"
21 20
22RPROVIDES_${PN} = "libegl libgles1 libgles2 libgles-omap3" 21RPROVIDES_${PN} = "libegl libgles1 libgles2"
23RPROVIDES_${PN}-dev = "libegl-dev libgles1-dev libgles2-dev libgles-omap3-dev" 22RPROVIDES_${PN}-dev = "libegl-dev libgles1-dev libgles2-dev"
24RPROVIDES_${PN}-dbg = "libegl-dbg libgles-omap3-dbg" 23RPROVIDES_${PN}-dbg = "libegl-dbg"
25 24
26RCONFLICTS_${PN} = "libegl libgles1 libgles2" 25RCONFLICTS_${PN} = "libegl libgles1 libgles2"
27RCONFLICTS_${PN}-dev = "libegl-dev libgles1-dev libgles2-dev libgles-omap3-dev" 26RCONFLICTS_${PN}-dev = "libegl-dev libgles1-dev libgles2-dev"
28RCONFLICTS_${PN}-dbg = "libegl-dbg libgles-omap3-dbg" 27RCONFLICTS_${PN}-dbg = "libegl-dbg"
29
30
31 28
32SRC_URI = "http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/gfxsdk/${SGXPV}/exports/${BINFILE} \ 29SRC_URI = "http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/gfxsdk/${SGXPV}/exports/${BINFILE} \
33 file://cputype \ 30 file://cputype \
diff --git a/recipes-graphics/libgles/libgles-omap3.inc b/recipes-graphics/libgles/libgles-omap3.inc
index 9a90c561..f417b8ee 100644
--- a/recipes-graphics/libgles/libgles-omap3.inc
+++ b/recipes-graphics/libgles/libgles-omap3.inc
@@ -437,4 +437,3 @@ echo "WindowSystem=libpvrPVR2D_X11WSEGL.so.1" >> $D${sysconfdir}/powervr.ini
437pkg_postinst_${PN}-driwsegl() { 437pkg_postinst_${PN}-driwsegl() {
438rm -f $D${sysconfdir}/powervr-esrev 438rm -f $D${sysconfdir}/powervr-esrev
439} 439}
440