]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
libpciaccess: remove redundant feature check
authorRoss Burton <ross.burton@arm.com>
Mon, 11 Nov 2024 18:13:38 +0000 (18:13 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 12 Nov 2024 11:31:46 +0000 (11:31 +0000)
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>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-graphics/xorg-lib/libpciaccess_0.18.1.bb

index d311fd95e0bde8eb697449eb9fb3e5d3f67b4a12..247a14ac44ed84363c75ed3c6ba080208ca17f7c 100644 (file)
@@ -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"