summaryrefslogtreecommitdiff
path: root/recipes/xserver-common
diff options
context:
space:
mode:
authorFlorian Boor <florian.boor@kernelconcepts.de>2009-08-26 12:23:57 +0200
committerFlorian Boor <florian.boor@kernelconcepts.de>2009-09-01 01:01:46 +0200
commita8b95ab31b0fddb90ef9279c5436cc568d58b6e7 (patch)
tree870e0d261cdd391e92d9a99adde0bc7f538fb2d4 /recipes/xserver-common
parentccd18852f3dcba528bdfdf557ba9967f64625c11 (diff)
xserver-common: add 1.31
Diffstat (limited to 'recipes/xserver-common')
-rw-r--r--recipes/xserver-common/xserver-common_1.31.bb20
1 files changed, 20 insertions, 0 deletions
diff --git a/recipes/xserver-common/xserver-common_1.31.bb b/recipes/xserver-common/xserver-common_1.31.bb
new file mode 100644
index 0000000000..63368649c1
--- /dev/null
+++ b/recipes/xserver-common/xserver-common_1.31.bb
@@ -0,0 +1,20 @@
+DESCRIPTION = "Common X11 scripts and support files"
+LICENSE = "GPL"
+SECTION = "x11"
+RDEPENDS_${PN} = "xmodmap xrandr xdpyinfo"
+PR = "r0"
+
+PACKAGE_ARCH = "all"
+DEFAULT_PREFERENCE = "-1"
+
+# we are using a gpe-style Makefile
+inherit gpe
+
+SRC_URI_append = " file://setDPI.sh \
+ file://89xdgautostart.sh"
+
+do_install_append() {
+ install -m 0755 "${WORKDIR}/setDPI.sh" "${D}/etc/X11/Xinit.d/50setdpi"
+ install -m 0755 "${WORKDIR}/89xdgautostart.sh" "${D}/etc/X11/Xsession.d/89xdgautostart"
+ sed -i 's:^BINDIR=.*$:BINDIR=${bindir}:' ${D}/etc/X11/Xserver
+}