libgles-omap3: don't RCONFLICT/RREPLACE no-x version with x11 as it breaks non-X...
authorDenys Dmytriyenko <denys@ti.com>
Fri, 21 Jun 2013 18:24:50 +0000 (14:24 -0400)
committerDenys Dmytriyenko <denys@ti.com>
Fri, 21 Jun 2013 18:43:25 +0000 (14:43 -0400)
* 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>
recipes-bsp/powervr-drivers/omap3-sgx-modules-x11_4.09.00.01.bb
recipes-bsp/powervr-drivers/omap3-sgx-modules_4.09.00.01.bb
recipes-graphics/libgles/libgles-omap3-no-x.inc
recipes-graphics/libgles/libgles-omap3-x11.inc
recipes-graphics/libgles/libgles-omap3.inc

index 84938141c00de7ed6f48bd77777e5f8f6d24aa5a..d439d8382733739be1dcd04160e807742847e6f4 100644 (file)
@@ -71,4 +71,3 @@ do_install() {
 
     cp ${S}/services4/3rdparty/linux_drm/drm.ko ${D}/lib/modules/${KERNEL_VERSION}/kernel/drivers/gpu/pvr
 }
-
index 923e6a553218e8401c5e8af3354b664ba31980b4..399374d4b842a2cc9049c894503687c3665e2194 100644 (file)
@@ -48,4 +48,3 @@ do_install() {
         ${S}/services4/3rdparty/bufferclass_ti/bufferclass_ti.ko \
         ${D}/lib/modules/${KERNEL_VERSION}/kernel/drivers/gpu/pvr
 }
-
index 6d79bf6faa3696fa7854433855451f5065329e82..d4cb46bbb3f510acd003eb0015901ce1cd5720d5 100644 (file)
@@ -245,7 +245,7 @@ FILES_${PN}-dbg = "${libdir}/.debug/* ${bindir}/.debug/* \
                    ${libdir}/ES*/.debug ${bindir}/*/.debug\
                    ${bindir}/SGX/demos/*/.debug/* \
                    ${bindir}/SGX/trainingcourses/*/.debug/* \
-       "
+"
 
 FILES_${PN}-rawdemos = "${bindir}/SGX/demos/Raw/*"
 
@@ -315,4 +315,3 @@ rm -f $D${sysconfdir}/powervr-esrev
 pkg_postinst_${PN}-linuxfbwsegl() {
 rm -f $D${sysconfdir}/powervr-esrev
 }
-
index c4d08067a065a2d7ce5c242765b377203f1454b5..6621396d453c7ae842394148cf2ae0b331893c64 100644 (file)
@@ -7,27 +7,24 @@ PR = "r35"
 
 COMPATIBLE_MACHINE = "(omap3|ti814x|ti816x|ti33x)"
 
-X11DEPENDS = "virtual/libx11 libxau libxdmcp libdrm"
-DEPENDS = "x11"
+DEPENDS = "virtual/libx11 libxau libxdmcp libdrm"
 
 export SUPPORT_XORG ?= "1"
 PVR_INIT ?= "pvrsrvinit"
 
 PROVIDES += "virtual/egl virtual/libgles1 virtual/libgles2"
 
-RREPLACES_${PN} = "libegl libgles1 libgles2 libgles-omap3"
-RREPLACES_${PN}-dev = "libegl-dev libgles1-dev libgles2-dev libgles-omap3-dev"
-RREPLACES_${PN}-dbg = "libegl-dbg libgles-omap3-dbg"
+RREPLACES_${PN} = "libegl libgles1 libgles2"
+RREPLACES_${PN}-dev = "libegl-dev libgles1-dev libgles2-dev"
+RREPLACES_${PN}-dbg = "libegl-dbg"
 
-RPROVIDES_${PN} = "libegl libgles1 libgles2 libgles-omap3"
-RPROVIDES_${PN}-dev = "libegl-dev libgles1-dev libgles2-dev libgles-omap3-dev"
-RPROVIDES_${PN}-dbg = "libegl-dbg libgles-omap3-dbg"
+RPROVIDES_${PN} = "libegl libgles1 libgles2"
+RPROVIDES_${PN}-dev = "libegl-dev libgles1-dev libgles2-dev"
+RPROVIDES_${PN}-dbg = "libegl-dbg"
 
 RCONFLICTS_${PN} = "libegl libgles1 libgles2"
-RCONFLICTS_${PN}-dev = "libegl-dev libgles1-dev libgles2-dev libgles-omap3-dev"
-RCONFLICTS_${PN}-dbg = "libegl-dbg libgles-omap3-dbg"
-
-
+RCONFLICTS_${PN}-dev = "libegl-dev libgles1-dev libgles2-dev"
+RCONFLICTS_${PN}-dbg = "libegl-dbg"
 
 SRC_URI = "http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/gfxsdk/${SGXPV}/exports/${BINFILE} \
                   file://cputype \
index 9a90c5618a2317a01a0deafb15469e79412239c3..f417b8eebd1c4df80ef4ed59f085a7c218758e2d 100644 (file)
@@ -437,4 +437,3 @@ echo "WindowSystem=libpvrPVR2D_X11WSEGL.so.1" >> $D${sysconfdir}/powervr.ini
 pkg_postinst_${PN}-driwsegl() {
 rm -f $D${sysconfdir}/powervr-esrev
 }
-