diff options
Diffstat (limited to 'meta/recipes-graphics/mesa')
-rw-r--r-- | meta/recipes-graphics/mesa/libglu_9.0.0.bb | 2 | ||||
-rw-r--r-- | meta/recipes-graphics/mesa/mesa-common.inc | 5 | ||||
-rw-r--r-- | meta/recipes-graphics/mesa/mesa-dri_git.bb | 8 | ||||
-rw-r--r-- | meta/recipes-graphics/mesa/mesa-git.inc | 1 | ||||
-rw-r--r-- | meta/recipes-graphics/mesa/mesa.inc (renamed from meta/recipes-graphics/mesa/mesa-dri.inc) | 11 | ||||
-rw-r--r-- | meta/recipes-graphics/mesa/mesa_9.0.2.bb (renamed from meta/recipes-graphics/mesa/mesa-dri_9.0.2.bb) | 2 | ||||
-rw-r--r-- | meta/recipes-graphics/mesa/mesa_git.bb | 7 |
7 files changed, 18 insertions, 18 deletions
diff --git a/meta/recipes-graphics/mesa/libglu_9.0.0.bb b/meta/recipes-graphics/mesa/libglu_9.0.0.bb index 79807491bd..06d30f9bfa 100644 --- a/meta/recipes-graphics/mesa/libglu_9.0.0.bb +++ b/meta/recipes-graphics/mesa/libglu_9.0.0.bb @@ -8,7 +8,7 @@ LICENSE = "MIT" LIC_FILES_CHKSUM = "file://include/GL/glu.h;endline=29;md5=6b79c570f644363b356456e7d44471d9 \ file://src/libtess/tess.c;endline=29;md5=6b79c570f644363b356456e7d44471d9" -# Epoch as this used to be part of mesa-dri +# Epoch as this used to be part of mesa PE = "2" PR = "0" diff --git a/meta/recipes-graphics/mesa/mesa-common.inc b/meta/recipes-graphics/mesa/mesa-common.inc index aa26aee7db..c37ad69075 100644 --- a/meta/recipes-graphics/mesa/mesa-common.inc +++ b/meta/recipes-graphics/mesa/mesa-common.inc @@ -18,9 +18,6 @@ DEPENDS = "expat makedepend-native flex-native bison-native" PROVIDES = "virtual/libgl virtual/libgles1 virtual/libgles2 virtual/egl" -# for mesa-dri -FILESEXTRAPATHS_prepend := "${THISDIR}/mesa:" - inherit autotools pkgconfig pythonnative EXTRA_OECONF = "--disable-glu \ @@ -41,7 +38,7 @@ PACKAGECONFIG[wayland] = ",,wayland" # 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 +# Remove the mesa dependency on mesa-dev, as mesa is empty RDEPENDS_${PN}-dev = "" PACKAGES =+ "libegl-mesa libegl-mesa-dev \ diff --git a/meta/recipes-graphics/mesa/mesa-dri_git.bb b/meta/recipes-graphics/mesa/mesa-dri_git.bb deleted file mode 100644 index 69a433e7c3..0000000000 --- a/meta/recipes-graphics/mesa/mesa-dri_git.bb +++ /dev/null @@ -1,8 +0,0 @@ -require mesa-common.inc -require mesa-git.inc -require mesa-dri.inc - -# this needs to be lower than -1 because all mesa-dri have -1 and git version has highest PV, but shouldn't be default -DEFAULT_PREFERENCE = "-2" - -PR = "${INC_PR}.0" diff --git a/meta/recipes-graphics/mesa/mesa-git.inc b/meta/recipes-graphics/mesa/mesa-git.inc index 25093af3fe..ee9a552757 100644 --- a/meta/recipes-graphics/mesa/mesa-git.inc +++ b/meta/recipes-graphics/mesa/mesa-git.inc @@ -3,7 +3,6 @@ SRCREV = "1665af3066f3d58c42e9d5b13098f13615a7672c" PV = "9.1~git${SRCPV}" LIC_FILES_CHKSUM = "file://docs/license.html;md5=42d77d95cba529a3637129be87d6555d" -FILESEXTRAPATHS_prepend := "${THISDIR}/mesa-git:" SRC_URI = "git://anongit.freedesktop.org/git/mesa/mesa;protocol=git \ file://0002-cross-compile.patch \ diff --git a/meta/recipes-graphics/mesa/mesa-dri.inc b/meta/recipes-graphics/mesa/mesa.inc index e43150b326..a692bb7a04 100644 --- a/meta/recipes-graphics/mesa/mesa-dri.inc +++ b/meta/recipes-graphics/mesa/mesa.inc @@ -18,11 +18,16 @@ PACKAGECONFIG[egl] = "--enable-egl --with-egl-platforms=${EGL_PLATFORMS}, --disa python populate_packages_prepend() { dri_drivers_root = os.path.join(d.getVar('libdir', True), "dri") - - do_split_packages(d, dri_drivers_root, '^(.*)_dri\.so$', 'mesa-dri-driver-%s', 'Mesa %s DRI driver', extra_depends='') + + pkgs = ['mesa', 'mesa-dev', 'mesa-dbg'] + pkgs += do_split_packages(d, dri_drivers_root, '^(.*)_dri\.so$', 'mesa-driver-%s', 'Mesa %s DRI driver', extra_depends='') + for pkg in pkgs: + d.setVar("RPROVIDES_%s" % pkg, pkg.replace("mesa-", "mesa-dri-")) + d.setVar("RCONFLICTS_%s" % pkg, pkg.replace("mesa-", "mesa-dri-")) + d.setVar("RREPLACES_%s" % pkg, pkg.replace("mesa-", "mesa-dri-")) } -PACKAGES_DYNAMIC += "^mesa-dri-driver-.*" +PACKAGES_DYNAMIC += "^mesa-driver-.*" FILES_${PN}-dbg += "${libdir}/dri/.debug/*" diff --git a/meta/recipes-graphics/mesa/mesa-dri_9.0.2.bb b/meta/recipes-graphics/mesa/mesa_9.0.2.bb index 26b56e426c..1a1bf24e10 100644 --- a/meta/recipes-graphics/mesa/mesa-dri_9.0.2.bb +++ b/meta/recipes-graphics/mesa/mesa_9.0.2.bb @@ -1,4 +1,4 @@ require mesa-common.inc require mesa-${PV}.inc -require mesa-dri.inc +require mesa.inc PR = "${INC_PR}.0" diff --git a/meta/recipes-graphics/mesa/mesa_git.bb b/meta/recipes-graphics/mesa/mesa_git.bb new file mode 100644 index 0000000000..6a4bc3803e --- /dev/null +++ b/meta/recipes-graphics/mesa/mesa_git.bb @@ -0,0 +1,7 @@ +require mesa-common.inc +require mesa-git.inc +require mesa.inc + +DEFAULT_PREFERENCE = "-1" + +PR = "${INC_PR}.0" |