A lot of our recipes had short one-line DESCRIPTION values and no SUMMARY value set. In this case it's much better to just set SUMMARY since DESCRIPTION is defaulted from SUMMARY anyway and then the SUMMARY is at least useful. I also took the opportunity to fix up a lot of the new SUMMARY values, making them concisely explain the function of the recipe / package where possible. (From OE-Core rev: b8feee3cf21f70ba4ec3b822d2f596d4fc02a292) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
26 lines
686 B
BlitzBasic
26 lines
686 B
BlitzBasic
SUMMARY = "Sets default Qt4 Graphics System to ${QT_GRAPHICS_SYSTEM}"
|
|
SECTION = "x11/base"
|
|
LICENSE = "MIT-X"
|
|
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
|
|
|
|
PR = "r1"
|
|
|
|
QT_GRAPHICS_SYSTEM ?= "raster"
|
|
|
|
def _get_extra_rdepends(d):
|
|
gs = d.getVar('QT_GRAPHICS_SYSTEM', True)
|
|
if gs == "opengl":
|
|
return "qt4-plugin-graphicssystems-glgraphicssystem"
|
|
|
|
return ""
|
|
|
|
do_install () {
|
|
install -d ${D}/${sysconfdir}/profile.d/
|
|
cfg_file=${D}/${sysconfdir}/profile.d/qt-graphicssystem
|
|
echo "export QT_GRAPHICSSYSTEM=${QT_GRAPHICS_SYSTEM}" > $cfg_file
|
|
}
|
|
|
|
RDEPENDS_${PN} = "${@_get_extra_rdepends(d)}"
|
|
|
|
PACKAGE_ARCH = "${MACHINE_ARCH}"
|