summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/xorg-proto/xorgproto_2019.2.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-graphics/xorg-proto/xorgproto_2019.2.bb')
-rw-r--r--meta/recipes-graphics/xorg-proto/xorgproto_2019.2.bb16
1 files changed, 14 insertions, 2 deletions
diff --git a/meta/recipes-graphics/xorg-proto/xorgproto_2019.2.bb b/meta/recipes-graphics/xorg-proto/xorgproto_2019.2.bb
index 8acbe895aa..fb3f3aed3d 100644
--- a/meta/recipes-graphics/xorg-proto/xorgproto_2019.2.bb
+++ b/meta/recipes-graphics/xorg-proto/xorgproto_2019.2.bb
@@ -1,14 +1,26 @@
-require xorg-proto-common.inc
SUMMARY = "X Window System unified protocol definitions"
-
DESCRIPTION = "This package provides the headers and specification documents defining \
the core protocol and (many) extensions for the X Window System"
+HOMEPAGE = "http://www.x.org"
+BUGTRACKER = "https://bugs.freedesktop.org/enter_bug.cgi?product=xorg"
+SECTION = "x11/libs"
LICENSE = "MIT-style"
LIC_FILES_CHKSUM = "file://COPYING-x11proto;md5=b9e051107d5628966739a0b2e9b32676"
+SRC_URI = "${XORG_MIRROR}/individual/proto/${BP}.tar.bz2 \
+ file://legacy.patch"
SRC_URI[md5sum] = "a02dcaff48b4141b949ac99dfc344d86"
SRC_URI[sha256sum] = "46ecd0156c561d41e8aa87ce79340910cdf38373b759e737fcbba5df508e7b8e"
+inherit meson
+
+PACKAGECONFIG ??= ""
+PACKAGECONFIG[legacy] = "-Dlegacy=true,-Dlegacy=false"
+
+# ${PN} is empty so we need to tweak -dev and -dbg package dependencies
+RDEPENDS_${PN}-dev = ""
+RRECOMMENDS_${PN}-dbg = "${PN}-dev (= ${EXTENDPKGV})"
+
BBCLASSEXTEND = "native nativesdk"