diff mbox series

[6/9] libpciaccess: remove redundant feature check

Message ID 20241111181341.3296523-6-ross.burton@arm.com
State New
Headers show
Series [1/9] cairo: disable some features explicitly | expand

Commit Message

Ross Burton Nov. 11, 2024, 6:13 p.m. UTC
This recipe once included the xorg common .inc file but had to reset
several variables. It no longer includes that file but there's a lot of
cruft to remove: the LICENSE being "MIT & MIT" and the features_check
class not checking for any features, specifically.

Signed-off-by: Ross Burton <ross.burton@arm.com>
---
 .../xorg-lib/libpciaccess_0.18.1.bb               | 15 ++++-----------
 1 file changed, 4 insertions(+), 11 deletions(-)
diff mbox series

Patch

diff --git a/meta/recipes-graphics/xorg-lib/libpciaccess_0.18.1.bb b/meta/recipes-graphics/xorg-lib/libpciaccess_0.18.1.bb
index d311fd95e0b..247a14ac44e 100644
--- a/meta/recipes-graphics/xorg-lib/libpciaccess_0.18.1.bb
+++ b/meta/recipes-graphics/xorg-lib/libpciaccess_0.18.1.bb
@@ -1,26 +1,19 @@ 
 SUMMARY = "Generic PCI access library for X"
-
 DESCRIPTION = "libpciaccess provides functionality for X to access the \
 PCI bus and devices in a platform-independent way."
 
 HOMEPAGE = "http://www.x.org"
 BUGTRACKER = "https://bugs.freedesktop.org/enter_bug.cgi?product=xorg"
-
 SECTION = "x11/libs"
+
 LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://COPYING;md5=54c978968e565218eea36cf03ef24352"
+
 DEPENDS = "util-macros"
 
 SRC_URI = "${XORG_MIRROR}/individual/lib/${BP}.tar.xz"
-
-inherit features_check pkgconfig meson
-
-REQUIRED_DISTRO_FEATURES ?= "x11"
-
 SRC_URI[sha256sum] = "4af43444b38adb5545d0ed1c2ce46d9608cc47b31c2387fc5181656765a6fa76"
 
-LICENSE = "MIT & MIT"
-LIC_FILES_CHKSUM = "file://COPYING;md5=54c978968e565218eea36cf03ef24352"
-
-REQUIRED_DISTRO_FEATURES = ""
+inherit pkgconfig meson
 
 BBCLASSEXTEND = "native nativesdk"