From 6fb3886511e7d2308a4e4806ce4a42ae27cb1fad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20M=C3=BCller?= Date: Thu, 20 Oct 2016 21:28:03 +0200 Subject: [PATCH] dosbox: add PACKAGECONFIG opengl to ,ake build deterministic MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Andreas Müller --- recipes-emulators/dosbox/dosbox_0.74.bb | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/recipes-emulators/dosbox/dosbox_0.74.bb b/recipes-emulators/dosbox/dosbox_0.74.bb index fdcbb2c..181fa24 100644 --- a/recipes-emulators/dosbox/dosbox_0.74.bb +++ b/recipes-emulators/dosbox/dosbox_0.74.bb @@ -18,6 +18,12 @@ SRC_URI = " \ SRC_URI[md5sum] = "b9b240fa87104421962d14eee71351e8" SRC_URI[sha256sum] = "13f74916e2d4002bad1978e55727f302ff6df3d9be2f9b0e271501bd0a938e05" +PACKAGECONFIG ??= " \ + ${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'opengl', '', d)} \ +" + +PACKAGECONFIG[opengl] = "--enable-opengl,--disable-opengl,virtual/libgl" + do_install_append() { install -d ${D}/${datadir}/applications install -m 0644 ${WORKDIR}/*.desktop ${D}/${datadir}/applications