aboutsummaryrefslogtreecommitdiff
path: root/recipes-xfce/xfce-pointers/de10-nano-xfce-pointers.bb
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-xfce/xfce-pointers/de10-nano-xfce-pointers.bb')
-rw-r--r--recipes-xfce/xfce-pointers/de10-nano-xfce-pointers.bb32
1 files changed, 32 insertions, 0 deletions
diff --git a/recipes-xfce/xfce-pointers/de10-nano-xfce-pointers.bb b/recipes-xfce/xfce-pointers/de10-nano-xfce-pointers.bb
new file mode 100644
index 0000000..c22d949
--- /dev/null
+++ b/recipes-xfce/xfce-pointers/de10-nano-xfce-pointers.bb
@@ -0,0 +1,32 @@
+SUMMARY = "DE10-Nano XFCE Pointers config"
+DESCRIPTION = "Disable ADXL accelerometer as mouse input"
+AUTHOR = "Dalon Westergreen <dwesterg@gmail.com>"
+SECTION = "DE10-Nano"
+
+PR = "r0"
+
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=4d92cd373abda3937c2bc47fbc49d690"
+
+PACKAGE_ARCH = "${MACHINE_ARCH}"
+
+PV = "1.0${PR}"
+FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
+SRC_URI = "file://pointers.xml \
+ "
+
+do_install() {
+ install -d ${D}${sysconfdir}/skel/
+ install -d ${D}${sysconfdir}/skel/.config/xfce4
+ install -d ${D}${sysconfdir}/skel/.config/xfce4/xfconf
+ install -d ${D}${sysconfdir}/skel/.config/xfce4/xfconf/xfce-perchannel-xml
+ install -m 0644 ${WORKDIR}/pointers.xml ${D}${sysconfdir}/skel/.config/xfce4/xfconf/xfce-perchannel-xml/pointers.xml
+
+ install -d ${D}/home/root/.config/xfce4/xfconf/xfce-perchannel-xml
+ install -m 0644 ${WORKDIR}/pointers.xml ${D}/home/root/.config/xfce4/xfconf/xfce-perchannel-xml/pointers.xml
+}
+
+FILES_${PN} = "\
+ ${sysconfdir}/skel/.config/xfce4/xfconf/xfce-perchannel-xml/pointers.xml \
+ /home/root/.config/xfce4/xfconf/xfce-perchannel-xml/pointers.xml \
+ "