summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--meta/packages/xorg-lib/libx11-trim_git.bb18
1 files changed, 18 insertions, 0 deletions
diff --git a/meta/packages/xorg-lib/libx11-trim_git.bb b/meta/packages/xorg-lib/libx11-trim_git.bb
new file mode 100644
index 0000000000..056170fac7
--- /dev/null
+++ b/meta/packages/xorg-lib/libx11-trim_git.bb
@@ -0,0 +1,18 @@
+require libx11.inc
+PV = "1.1.99.1+gitr${SRCREV}"
+
+SRC_URI = "git://anongit.freedesktop.org/git/xorg/lib/libX11;protocol=git"
+S = "${WORKDIR}/git"
+
+SRC_URI += "file://x11_disable_makekeys.patch;patch=1 \
+ file://include_fix.patch;patch=1"
+
+DEPENDS += "bigreqsproto xproto xextproto xtrans libxau xcmiscproto \
+ libxdmcp xf86bigfontproto kbproto inputproto xproto-native"
+
+FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/libx11-git"
+
+EXTRA_OECONF += "--disable-xcms --with-xcb"
+CFLAGS += "-D_GNU_SOURCE"
+
+FILESPATH = "${FILE_DIRNAME}/libx11-trim" \ No newline at end of file