aboutsummaryrefslogtreecommitdiff
path: root/recipes-xfce/xfce-pointers/de10-nano-xfce-pointers.bb
blob: c22d94971e9b938d0061b6d4ded26feeb6bd7978 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
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 \
		"