summaryrefslogtreecommitdiffstats
path: root/meta/recipes-qt/qt4-graphics-system
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-qt/qt4-graphics-system')
-rw-r--r--meta/recipes-qt/qt4-graphics-system/qt4-graphics-system_1.0.bb25
1 files changed, 0 insertions, 25 deletions
diff --git a/meta/recipes-qt/qt4-graphics-system/qt4-graphics-system_1.0.bb b/meta/recipes-qt/qt4-graphics-system/qt4-graphics-system_1.0.bb
deleted file mode 100644
index ff3f3da2bd..0000000000
--- a/meta/recipes-qt/qt4-graphics-system/qt4-graphics-system_1.0.bb
+++ /dev/null
@@ -1,25 +0,0 @@
1SUMMARY = "Sets default Qt4 Graphics System to ${QT_GRAPHICS_SYSTEM}"
2SECTION = "x11/base"
3LICENSE = "MIT-X"
4LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
5
6PR = "r1"
7
8QT_GRAPHICS_SYSTEM ?= "raster"
9
10def _get_extra_rdepends(d):
11 gs = d.getVar('QT_GRAPHICS_SYSTEM', True)
12 if gs == "opengl":
13 return "qt4-plugin-graphicssystems-glgraphicssystem"
14
15 return ""
16
17do_install () {
18 install -d ${D}/${sysconfdir}/profile.d/
19 cfg_file=${D}/${sysconfdir}/profile.d/qt-graphicssystem
20 echo "export QT_GRAPHICSSYSTEM=${QT_GRAPHICS_SYSTEM}" > $cfg_file
21}
22
23RDEPENDS_${PN} = "${@_get_extra_rdepends(d)}"
24
25PACKAGE_ARCH = "${MACHINE_ARCH}"