diff options
author | Javier Martinez Canillas <javier@dowhile0.org> | 2012-08-05 21:48:37 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-08-06 15:18:48 +0100 |
commit | 781fe78e0decce343aee1741a5338f80fb65ce31 (patch) | |
tree | 4680017ad2355437f2f1afda604e97dbb91cc1da /meta/recipes-graphics | |
parent | 0334d47ae5301502267ae3f75b5ff2d5a3a414e6 (diff) | |
download | poky-781fe78e0decce343aee1741a5338f80fb65ce31.tar.gz |
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>
Diffstat (limited to 'meta/recipes-graphics')
-rw-r--r-- | meta/recipes-graphics/xorg-lib/xkeyboard-config_2.1.bb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/recipes-graphics/xorg-lib/xkeyboard-config_2.1.bb b/meta/recipes-graphics/xorg-lib/xkeyboard-config_2.1.bb index b077fa3ca6..1b28208f53 100644 --- a/meta/recipes-graphics/xorg-lib/xkeyboard-config_2.1.bb +++ b/meta/recipes-graphics/xorg-lib/xkeyboard-config_2.1.bb | |||
@@ -19,7 +19,7 @@ SRC_URI[sha256sum] = "e293aa4b0dd259dbb4f0e7f56fdd95db5047d052c7b3b80922fe566392 | |||
19 | SECTION = "x11/libs" | 19 | SECTION = "x11/libs" |
20 | DEPENDS = "intltool-native xkbcomp-native glib-2.0" | 20 | DEPENDS = "intltool-native xkbcomp-native glib-2.0" |
21 | 21 | ||
22 | PR = "r1" | 22 | PR = "r2" |
23 | 23 | ||
24 | EXTRA_OECONF = "--with-xkb-rules-symlink=xorg" | 24 | EXTRA_OECONF = "--with-xkb-rules-symlink=xorg" |
25 | 25 | ||
@@ -29,6 +29,6 @@ FILES_${PN} += "${datadir}/X11/xkb" | |||
29 | inherit autotools pkgconfig | 29 | inherit autotools pkgconfig |
30 | 30 | ||
31 | do_install_append () { | 31 | do_install_append () { |
32 | install -d ${D}/usr/share/X11/xkb/compiled | 32 | install -d ${D}${datadir}/X11/xkb/compiled |
33 | cd ${D}${datadir}/X11/xkb/rules && ln -sf base xorg | 33 | cd ${D}${datadir}/X11/xkb/rules && ln -sf base xorg |
34 | } | 34 | } |