summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core
diff options
context:
space:
mode:
authorMartin Jansa <martin.jansa@gmail.com>2012-07-16 18:07:18 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-07-17 10:53:59 +0100
commit0fef0fff0a675c214408d4f85a45bc00ae5b6826 (patch)
tree39b082fd26f7238122f4441ed1dcd3927d67dde4 /meta/recipes-core
parenta94e5d27797a01e17b2aa698b11671219581b013 (diff)
downloadpoky-0fef0fff0a675c214408d4f85a45bc00ae5b6826.tar.gz
glib: package bash-completion files in separate package and move ${PN}-codegen to .inc
* 2.32.4 has completion files in ${datadir}/bash-completion and dbus also packages bash-competion files in separate package (From OE-Core rev: b070eb22372ad1ef5b21162d832772e560184cf8) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core')
-rw-r--r--meta/recipes-core/glib-2.0/glib-2.0_2.32.4.bb5
-rw-r--r--meta/recipes-core/glib-2.0/glib.inc9
2 files changed, 8 insertions, 6 deletions
diff --git a/meta/recipes-core/glib-2.0/glib-2.0_2.32.4.bb b/meta/recipes-core/glib-2.0/glib-2.0_2.32.4.bb
index fca5f8d029..85352edb23 100644
--- a/meta/recipes-core/glib-2.0/glib-2.0_2.32.4.bb
+++ b/meta/recipes-core/glib-2.0/glib-2.0_2.32.4.bb
@@ -1,5 +1,6 @@
1require glib.inc 1require glib.inc
2 2
3PR = "r1"
3PE = "1" 4PE = "1"
4 5
5DEPENDS += "libffi python-argparse-native zlib" 6DEPENDS += "libffi python-argparse-native zlib"
@@ -46,7 +47,3 @@ do_install_append() {
46 sed -i -e '1s,#!.*perl,#! ${PERLPATH},' ${D}${bindir}/glib-mkenums 47 sed -i -e '1s,#!.*perl,#! ${PERLPATH},' ${D}${bindir}/glib-mkenums
47 fi 48 fi
48} 49}
49
50PACKAGES += "${PN}-codegen"
51FILES_${PN}-codegen = "${libdir}/gdbus-2.0/codegen/*.py"
52FILES_${PN} += "${datadir}/glib-2.0/gettext/mkinstalldirs ${datadir}/glib-2.0/gettext/po/Makefile.in.in"
diff --git a/meta/recipes-core/glib-2.0/glib.inc b/meta/recipes-core/glib-2.0/glib.inc
index e7d547a758..9ae02d9456 100644
--- a/meta/recipes-core/glib-2.0/glib.inc
+++ b/meta/recipes-core/glib-2.0/glib.inc
@@ -16,7 +16,7 @@ SECTION = "libs"
16DEPENDS = "glib-2.0-native gtk-doc-native zip virtual/libiconv" 16DEPENDS = "glib-2.0-native gtk-doc-native zip virtual/libiconv"
17DEPENDS_virtclass-native = "gtk-doc-native pkgconfig-native gettext-native" 17DEPENDS_virtclass-native = "gtk-doc-native pkgconfig-native gettext-native"
18DEPENDS_virtclass-nativesdk = "libtool-nativesdk" 18DEPENDS_virtclass-nativesdk = "libtool-nativesdk"
19PACKAGES =+ "${PN}-utils " 19PACKAGES =+ "${PN}-utils ${PN}-bash-completion ${PN}-codegen"
20 20
21LEAD_SONAME = "libglib-2.0.*" 21LEAD_SONAME = "libglib-2.0.*"
22FILES_${PN}-utils = "${bindir}/* ${datadir}/glib-2.0/gettext" 22FILES_${PN}-utils = "${bindir}/* ${datadir}/glib-2.0/gettext"
@@ -31,12 +31,17 @@ EXTRA_OECONF = "--disable-debug --enable-included-printf=no ${CORECONF}"
31EXTRA_OECONF_virtclass-native = "${CORECONF}" 31EXTRA_OECONF_virtclass-native = "${CORECONF}"
32EXTRA_OECONF_linuxstdbase = "--enable-included-printf=no ${CORECONF}" 32EXTRA_OECONF_linuxstdbase = "--enable-included-printf=no ${CORECONF}"
33 33
34FILES_${PN} = "${libdir}/lib*${SOLIBS} ${sysconfdir}/bash_completion.d ${datadir}/glib-2.0/schemas" 34
35FILES_${PN} = "${libdir}/lib*${SOLIBS} ${datadir}/glib-2.0/schemas \
36 ${datadir}/glib-2.0/gettext/mkinstalldirs ${datadir}/glib-2.0/gettext/po/Makefile.in.in"
35FILES_${PN}-dev += "${libdir}/glib-2.0/include \ 37FILES_${PN}-dev += "${libdir}/glib-2.0/include \
36 ${libdir}/gio/modules/lib*${SOLIBSDEV} \ 38 ${libdir}/gio/modules/lib*${SOLIBSDEV} \
37 ${libdir}/gio/modules/*.la" 39 ${libdir}/gio/modules/*.la"
38FILES_${PN}-dbg += "${datadir}/glib-2.0/gdb ${datadir}/gdb \ 40FILES_${PN}-dbg += "${datadir}/glib-2.0/gdb ${datadir}/gdb \
39 ${libdir}/gio/modules/.debug" 41 ${libdir}/gio/modules/.debug"
42FILES_${PN}-codegen = "${libdir}/gdbus-2.0/codegen/*.py"
43FILES_${PN}-bash-completion = "${sysconfdir}/bash_completion.d \
44 ${datadir}/bash-completion"
40 45
41ARM_INSTRUCTION_SET = "arm" 46ARM_INSTRUCTION_SET = "arm"
42USE_NLS = "yes" 47USE_NLS = "yes"