summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/xorg-proto
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-graphics/xorg-proto')
-rw-r--r--meta/recipes-graphics/xorg-proto/xcb-proto.inc25
-rw-r--r--meta/recipes-graphics/xorg-proto/xcb-proto_1.9.bb9
-rw-r--r--meta/recipes-graphics/xorg-proto/xcb-proto_git.bb9
3 files changed, 43 insertions, 0 deletions
diff --git a/meta/recipes-graphics/xorg-proto/xcb-proto.inc b/meta/recipes-graphics/xorg-proto/xcb-proto.inc
new file mode 100644
index 0000000000..2e1b57bae4
--- /dev/null
+++ b/meta/recipes-graphics/xorg-proto/xcb-proto.inc
@@ -0,0 +1,25 @@
1SUMMARY = "XCB: The X protocol C binding headers"
2DESCRIPTION = "Function prototypes for the X protocol C-language Binding \
3(XCB). XCB is a replacement for Xlib featuring a small footprint, \
4latency hiding, direct access to the protocol, improved threading \
5support, and extensibility."
6HOMEPAGE = "http://xcb.freedesktop.org"
7BUGTRACKER = "https://bugs.freedesktop.org/enter_bug.cgi?product=XCB"
8
9SECTION = "x11/libs"
10LICENSE = "MIT-X"
11
12SRC_URI = "http://xcb.freedesktop.org/dist/xcb-proto-${PV}.tar.bz2"
13
14inherit autotools pkgconfig pythonnative
15
16PACKAGES += "python-xcbgen"
17
18FILES_${PN}-dev += "${datadir}/xcb/*.xml ${datadir}/xcb/*.xsd"
19FILES_python-xcbgen = "${libdir}/python*"
20
21RDEPENDS_${PN}-dev = ""
22RRECOMMENDS_${PN}-dbg = "${PN}-dev (= ${EXTENDPKGV})"
23
24DEPENDS_append_class-native = " python-native"
25BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-graphics/xorg-proto/xcb-proto_1.9.bb b/meta/recipes-graphics/xorg-proto/xcb-proto_1.9.bb
new file mode 100644
index 0000000000..617501d91f
--- /dev/null
+++ b/meta/recipes-graphics/xorg-proto/xcb-proto_1.9.bb
@@ -0,0 +1,9 @@
1include xcb-proto.inc
2
3LICENSE = "MIT"
4LIC_FILES_CHKSUM = "file://COPYING;md5=d763b081cb10c223435b01e00dc0aba7 \
5 file://src/dri2.xml;beginline=2;endline=28;md5=f8763b13ff432e8597e0d610cf598e65"
6
7
8SRC_URI[md5sum] = "311817f844c45c0c3d76dd72e6560c10"
9SRC_URI[sha256sum] = "895afe21793e6e26c5ce999b1900c02a5984c201d96d55cc42c182d3c3bde43c"
diff --git a/meta/recipes-graphics/xorg-proto/xcb-proto_git.bb b/meta/recipes-graphics/xorg-proto/xcb-proto_git.bb
new file mode 100644
index 0000000000..2ea4d04217
--- /dev/null
+++ b/meta/recipes-graphics/xorg-proto/xcb-proto_git.bb
@@ -0,0 +1,9 @@
1DEFAULT_PREFERENCE = "-1"
2
3include xcb-proto.inc
4SRCREV = "d81ca233e98be8fa59e8c90d262c0516944c5a66"
5PV = "1.2+gitr${SRCPV}"
6PR = "r4"
7
8SRC_URI = "git://anongit.freedesktop.org/git/xcb/proto"
9S = "${WORKDIR}/git"