summaryrefslogtreecommitdiff
path: root/recipes/xorg-lib/libx11_1.3.4.bb
diff options
context:
space:
mode:
authorMartin Jansa <Martin.Jansa@gmail.com>2010-06-22 12:32:30 +0200
committerMartin Jansa <Martin.Jansa@gmail.com>2010-06-22 19:51:03 +0200
commit5cb3bdc4a3151c4ee9f7822e75ac9bf6d70395a4 (patch)
tree2e795749e30328e8bfeda4ccc882a18e9bdb3e53 /recipes/xorg-lib/libx11_1.3.4.bb
parent034c2cd49aa881b1b9dbc4f0abc203d5eaff11dd (diff)
xorg: bump packages 2010-06-22
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'recipes/xorg-lib/libx11_1.3.4.bb')
-rw-r--r--recipes/xorg-lib/libx11_1.3.4.bb37
1 files changed, 37 insertions, 0 deletions
diff --git a/recipes/xorg-lib/libx11_1.3.4.bb b/recipes/xorg-lib/libx11_1.3.4.bb
new file mode 100644
index 0000000000..1a7432caa6
--- /dev/null
+++ b/recipes/xorg-lib/libx11_1.3.4.bb
@@ -0,0 +1,37 @@
+require xorg-lib-common.inc
+
+DESCRIPTION = "Base X libs."
+DEPENDS += "bigreqsproto xproto xextproto xtrans libxau xcmiscproto \
+ libxdmcp xf86bigfontproto kbproto inputproto xproto-native"
+PROVIDES = "virtual/libx11"
+PE = "1"
+PR = "r7"
+
+XORG_PN = "libX11"
+
+SRC_URI += "file://x11_disable_makekeys.patch \
+ file://dolt-fix.patch \
+ ${@['file://keysymdef_include.patch', ''][(bb.data.inherits_class('native', d))]} \
+"
+
+# --with-keysymdef has intentionally no effect in native build without without keysymdef_include.patch
+EXTRA_OECONF += "--without-xcb --with-keysymdef=${STAGING_INCDIR}/X11/keysymdef.h"
+
+do_compile() {
+ (
+ unset CC LD CXX CCLD CFLAGS CPPFLAGS LDFLAGS CXXFLAGS
+ cd src/util;
+ mv makekeys.c.orig makekeys.c || true
+ touch makekeys-makekeys.o ; ${BUILD_CC} ${BUILD_CFLAGS} -I${STAGING_INCDIR_NATIVE} makekeys.c -o makekeys
+ # mv to stop it getting rebuilt
+ mv makekeys.c makekeys.c.orig
+ cd ../../
+ ) || exit 1
+ oe_runmake
+}
+
+FILES_${PN} += "${datadir}/X11/XKeysymDB ${datadir}/X11/XErrorDB ${libdir}/X11/Xcms.txt"
+FILES_${PN}-locale += "${datadir}/X11/locale ${libdir}/X11/locale"
+
+SRC_URI[archive.md5sum] = "f65c9c7ecbfb64c19dbd7927160d63fd"
+SRC_URI[archive.sha256sum] = "88d7238ce5f7cd123450567de7a3b56a43556e4ccc45df38b8324147c889a844"