mirror of
https://git.yoctoproject.org/meta-ti
synced 2026-06-04 18:00:36 +00:00
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>
This commit is contained in:
@@ -71,4 +71,3 @@ do_install() {
|
||||
|
||||
cp ${S}/services4/3rdparty/linux_drm/drm.ko ${D}/lib/modules/${KERNEL_VERSION}/kernel/drivers/gpu/pvr
|
||||
}
|
||||
|
||||
|
||||
@@ -48,4 +48,3 @@ do_install() {
|
||||
${S}/services4/3rdparty/bufferclass_ti/bufferclass_ti.ko \
|
||||
${D}/lib/modules/${KERNEL_VERSION}/kernel/drivers/gpu/pvr
|
||||
}
|
||||
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
|
||||
@@ -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 \
|
||||
|
||||
@@ -437,4 +437,3 @@ echo "WindowSystem=libpvrPVR2D_X11WSEGL.so.1" >> $D${sysconfdir}/powervr.ini
|
||||
pkg_postinst_${PN}-driwsegl() {
|
||||
rm -f $D${sysconfdir}/powervr-esrev
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user