xkeyboard-config: use ${datadir} instead of /usr/share for packaging
It is considered good practice to use the build system provided variables instead of directly specify hardcoded paths. (From OE-Core rev: c0ebcac02023705aead0d2588224a62d64fe1752) Signed-off-by: Javier Martinez Canillas <javier@dowhile0.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
0334d47ae5
commit
781fe78e0d
|
@ -19,7 +19,7 @@ SRC_URI[sha256sum] = "e293aa4b0dd259dbb4f0e7f56fdd95db5047d052c7b3b80922fe566392
|
|||
SECTION = "x11/libs"
|
||||
DEPENDS = "intltool-native xkbcomp-native glib-2.0"
|
||||
|
||||
PR = "r1"
|
||||
PR = "r2"
|
||||
|
||||
EXTRA_OECONF = "--with-xkb-rules-symlink=xorg"
|
||||
|
||||
|
@ -29,6 +29,6 @@ FILES_${PN} += "${datadir}/X11/xkb"
|
|||
inherit autotools pkgconfig
|
||||
|
||||
do_install_append () {
|
||||
install -d ${D}/usr/share/X11/xkb/compiled
|
||||
install -d ${D}${datadir}/X11/xkb/compiled
|
||||
cd ${D}${datadir}/X11/xkb/rules && ln -sf base xorg
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue