Make the glib-2.0 builds skip themselves if USE_NLS is no, since they arent buildable...
authorChris Larson <clarson@kergoth.com>
Tue, 16 Nov 2004 09:24:05 +0000 (09:24 +0000)
committerChris Larson <clarson@kergoth.com>
Tue, 16 Nov 2004 09:24:05 +0000 (09:24 +0000)
BKrev: 4199c735pHUS602hqVoHCxXQo_i_yQ

glib-2.0/glib-2.0_2.2.3.oe
glib-2.0/glib-2.0_2.4.1.oe
glib-2.0/glib-2.0_2.4.4.oe
glib-2.0/glib-2.0_2.4.5.oe
glib-2.0/glib-2.0_2.4.6.oe

index dc1bd11..dbc9bb9 100644 (file)
@@ -17,6 +17,11 @@ S = "${WORKDIR}/glib-${PV}"
 
 inherit autotools  pkgconfig gettext
 
+python () {
+       if oe.data.getVar("USE_NLS", d, 1) == "no":
+               raise oe.parse.SkipPackage("${PN} requires native language support.")
+}
+
 acpaths = ""
 do_configure_prepend () {
        install -m 0644 ${WORKDIR}/glibconfig-sysdefs.h .
index 6e68ee4..cee350f 100644 (file)
@@ -23,6 +23,11 @@ S = "${WORKDIR}/glib-${PV}"
 
 inherit autotools pkgconfig gettext
 
+python () {
+       if oe.data.getVar("USE_NLS", d, 1) == "no":
+               raise oe.parse.SkipPackage("${PN} requires native language support.")
+}
+
 acpaths = ""
 do_configure_prepend () {
        install -m 0644 ${WORKDIR}/glibconfig-sysdefs.h .
index 6e68ee4..cee350f 100644 (file)
@@ -23,6 +23,11 @@ S = "${WORKDIR}/glib-${PV}"
 
 inherit autotools pkgconfig gettext
 
+python () {
+       if oe.data.getVar("USE_NLS", d, 1) == "no":
+               raise oe.parse.SkipPackage("${PN} requires native language support.")
+}
+
 acpaths = ""
 do_configure_prepend () {
        install -m 0644 ${WORKDIR}/glibconfig-sysdefs.h .
index 6e68ee4..cee350f 100644 (file)
@@ -23,6 +23,11 @@ S = "${WORKDIR}/glib-${PV}"
 
 inherit autotools pkgconfig gettext
 
+python () {
+       if oe.data.getVar("USE_NLS", d, 1) == "no":
+               raise oe.parse.SkipPackage("${PN} requires native language support.")
+}
+
 acpaths = ""
 do_configure_prepend () {
        install -m 0644 ${WORKDIR}/glibconfig-sysdefs.h .
index cf56a6c..eb668e9 100644 (file)
@@ -23,6 +23,11 @@ S = "${WORKDIR}/glib-${PV}"
 
 inherit autotools pkgconfig gettext
 
+python () {
+       if oe.data.getVar("USE_NLS", d, 1) == "no":
+               raise oe.parse.SkipPackage("${PN} requires native language support.")
+}
+
 acpaths = ""
 do_configure_prepend () {
        install -m 0644 ${WORKDIR}/glibconfig-sysdefs.h .