summaryrefslogtreecommitdiff
path: root/recipes
diff options
context:
space:
mode:
authorStanislav Brabec <utx@penguin.cz>2010-01-10 13:00:18 +0000
committerutx@penguin.cz <utx@penguin.cz>2010-01-10 13:00:18 +0000
commitf3aefd497f216d9fe0240625305f7a9a28da16c7 (patch)
treee17461c323d4f6c8f2487b08c6aa673784c2110d /recipes
parent371ee0f79ef1ee4d5ba01035ff1e99c0ba59ae7f (diff)
xextproto-70-includes: New old package, that provides headers required to compile ancient X servers (e. g. kdrive).
Diffstat (limited to 'recipes')
-rw-r--r--recipes/xorg-proto/xextproto-70-includes_7.0.5.bb26
1 files changed, 26 insertions, 0 deletions
diff --git a/recipes/xorg-proto/xextproto-70-includes_7.0.5.bb b/recipes/xorg-proto/xextproto-70-includes_7.0.5.bb
new file mode 100644
index 0000000000..db9cec6c09
--- /dev/null
+++ b/recipes/xorg-proto/xextproto-70-includes_7.0.5.bb
@@ -0,0 +1,26 @@
+# Build of xserver-kdrive is not possible with xextproto >= 7.1.
+# This package allows to install old 7.0 includes in parallel.
+# akita and spitz needs them:
+FILESPATH = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/xextproto-7.0:${@os.path.dirname(bb.data.getVar('FILE',d,1))}/xextproto:${@os.path.dirname(bb.data.getVar('FILE',d,1))}/files"
+PR_append = ".0"
+
+require xextproto_7.0.5.bb
+
+XORG_PN = "xextproto"
+EXTRA_OECONF += "--includedir=${includedir}/xextproto-70"
+
+#export INHIBIT_AUTO_STAGE = "1"
+#SYSROOT_PREPROCESS_FUNCS = "${@bb.data.getVar('SYSROOT_PREPROCESS_FUNCS',d,1).replace('pkgconfig_sysroot_preprocess', '')}"
+
+do_install_append() {
+ rm -r ${D}${libdir}
+}
+## xorg-proto-common.inc would stage all. We need to overwrite it.
+do_stage() {
+# export INHIBIT_AUTO_STAGE=1
+ autotools_stage_includes
+# rm -r ${STAGE_TEMP_PREFIX}${libdir}
+}
+# No, we really do not want to install .pc file and overwrite newer one:
+pkgconfig_sysroot_preprocess() {
+}