Patchwork mesa: remove dependency on mesa-dri in mesa-dri-dev

login
register
mail settings
Submitter Ross Burton
Date Dec. 13, 2012, 3:30 p.m.
Message ID <1355412631-29499-1-git-send-email-ross.burton@intel.com>
Download mbox | patch
Permalink /patch/40911/
State Accepted
Commit 02cb80816e9d40dd3e0ca63d0777a45c12efc961
Headers show

Comments

Ross Burton - Dec. 13, 2012, 3:30 p.m.
Move /etc/drirc to libdricommon so mesa-dri is empty, and remove the automatic
dependency on mesa-dri in mesa-dri-dev.

Signed-off-by: Ross Burton <ross.burton@intel.com>
---
 meta/recipes-graphics/mesa/mesa-common.inc |    8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

Patch

diff --git a/meta/recipes-graphics/mesa/mesa-common.inc b/meta/recipes-graphics/mesa/mesa-common.inc
index 1d3655f..70957eb 100644
--- a/meta/recipes-graphics/mesa/mesa-common.inc
+++ b/meta/recipes-graphics/mesa/mesa-common.inc
@@ -12,7 +12,7 @@  SECTION = "x11"
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://docs/license.html;md5=03ccdc4c379c4289aecfb8892c546f67"
 
-INC_PR = "r8"
+INC_PR = "r9"
 PE = "2"
 
 DEPENDS = "libxml2-native makedepend-native flex-native bison-native"
@@ -37,6 +37,9 @@  PACKAGECONFIG[x11] = "--enable-glx-tls,--disable-glx,${X11_DEPS}"
 # Multiple virtual/gl providers being built breaks staging
 EXCLUDE_FROM_WORLD = "1"
 
+# Remove the mesa-dri dependency on mesa-dri-dev, as mesa-dri is empty
+RDEPENDS_${PN}-dev = ""
+
 PACKAGES =+ "libegl-mesa libegl-mesa-dev \
              libosmesa libosmesa-dev \
              libgl-mesa libgl-mesa-dev \
@@ -79,8 +82,7 @@  python __anonymous() {
         d.appendVar("RCONFLICTS_" + fullp, pkgs)
 }
 
-FILES_${PN} = "${sysconfdir}/drirc"
-FILES_libdricore = "${libdir}/libdricore*.so.*"
+FILES_libdricore = "${sysconfdir}/drirc ${libdir}/libdricore*.so.*"
 FILES_libegl-mesa = "${libdir}/libEGL.so.*"
 FILES_libgbm = "${libdir}/libgbm.so.*"
 FILES_libgles1-mesa = "${libdir}/libGLESv1*.so.*"