diff options
author | Andreas Oberritter <obi@opendreambox.org> | 2013-07-11 01:05:13 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-07-13 18:23:32 +0100 |
commit | f8bee41377ccf9b4f614c687185d73c9e1286e22 (patch) | |
tree | 696c4de808f5285aebb67608ba231b00f41b6d94 /meta/recipes-graphics/xorg-xserver | |
parent | 5d17796c2440f691da28afe0e2e27a0f7bf8bf12 (diff) | |
download | poky-f8bee41377ccf9b4f614c687185d73c9e1286e22.tar.gz |
xserver-xorg: extend packageconfig and dependencies
- split glx into dri, dri2 and glx, to be able to select e.g. dri2 only
- update dependencies to match configure.ac
(From OE-Core rev: 408766da9cc1f2ca80d0b3f13575fea8f33cab3e)
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics/xorg-xserver')
-rw-r--r-- | meta/recipes-graphics/xorg-xserver/xserver-xorg.inc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/meta/recipes-graphics/xorg-xserver/xserver-xorg.inc b/meta/recipes-graphics/xorg-xserver/xserver-xorg.inc index 3d68413dfa..ab8171cc4b 100644 --- a/meta/recipes-graphics/xorg-xserver/xserver-xorg.inc +++ b/meta/recipes-graphics/xorg-xserver/xserver-xorg.inc | |||
@@ -23,7 +23,7 @@ S = "${WORKDIR}/${XORG_PN}-${PV}" | |||
23 | 23 | ||
24 | inherit autotools pkgconfig | 24 | inherit autotools pkgconfig |
25 | 25 | ||
26 | PROTO_DEPS = "randrproto renderproto fixesproto damageproto xextproto xproto xf86dgaproto xf86miscproto xf86vidmodeproto compositeproto recordproto resourceproto videoproto scrnsaverproto xineramaproto fontsproto kbproto inputproto bigreqsproto xcmiscproto glproto" | 26 | PROTO_DEPS = "randrproto renderproto fixesproto damageproto xextproto xproto xf86dgaproto xf86miscproto xf86vidmodeproto compositeproto recordproto resourceproto videoproto scrnsaverproto xineramaproto fontsproto kbproto inputproto bigreqsproto xcmiscproto" |
27 | LIB_DEPS = "pixman libxfont xtrans libxau libxext libxdmcp libdrm libxkbfile libpciaccess openssl libgcrypt" | 27 | LIB_DEPS = "pixman libxfont xtrans libxau libxext libxdmcp libdrm libxkbfile libpciaccess openssl libgcrypt" |
28 | DEPENDS = "${PROTO_DEPS} ${LIB_DEPS} font-util" | 28 | DEPENDS = "${PROTO_DEPS} ${LIB_DEPS} font-util" |
29 | 29 | ||
@@ -122,11 +122,11 @@ EXTRA_OECONF += "--with-fop=no \ | |||
122 | ac_cv_file__usr_share_sgml_X11_defs_ent=no \ | 122 | ac_cv_file__usr_share_sgml_X11_defs_ent=no \ |
123 | " | 123 | " |
124 | 124 | ||
125 | PACKAGECONFIG ??= "udev ${@base_contains('DISTRO_FEATURES', 'opengl', 'glx', '', d)}" | 125 | PACKAGECONFIG ??= "udev ${@base_contains('DISTRO_FEATURES', 'opengl', 'dri dri2 glx', '', d)}" |
126 | PACKAGECONFIG[udev] = "--enable-config-udev,--disable-config-udev,udev" | 126 | PACKAGECONFIG[udev] = "--enable-config-udev,--disable-config-udev,udev" |
127 | PACKAGECONFIG[glx] = "--enable-dri --enable-dri2 --enable-glx --enable-glx-tls,\ | 127 | PACKAGECONFIG[dri] = "--enable-dri,--disable-dri,glproto mesa xf86driproto" |
128 | --disable-dri --disable-dri2 --disable-glx,\ | 128 | PACKAGECONFIG[dri2] = "--enable-dri2,--disable-dri2,dri2proto" |
129 | xf86driproto dri2proto mesa" | 129 | PACKAGECONFIG[glx] = "--enable-glx --enable-glx-tls,--disable-glx,glproto virtual/libgl virtual/libx11" |
130 | 130 | ||
131 | do_install_append () { | 131 | do_install_append () { |
132 | # Its assumed base-files creates this for us | 132 | # Its assumed base-files creates this for us |