diff options
author | Richard Purdie <richard@openedhand.com> | 2006-11-20 09:17:58 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2006-11-20 09:17:58 +0000 |
commit | fac260b021b4962783914eb26603e6b84da6b1b6 (patch) | |
tree | a13e29bf4d65025f4c4a417a62d3793a2ab67abf | |
parent | 8aee6b32a09dbbce304018f169eb6623182622c5 (diff) | |
download | openembedded-core-fac260b021b4962783914eb26603e6b84da6b1b6.tar.gz openembedded-core-fac260b021b4962783914eb26603e6b84da6b1b6.tar.bz2 openembedded-core-fac260b021b4962783914eb26603e6b84da6b1b6.tar.xz openembedded-core-fac260b021b4962783914eb26603e6b84da6b1b6.zip |
glib-2.0: Clean up anonymous methods
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@876 311d38ba-8fff-0310-9ca6-ca027cbcb966
-rw-r--r-- | meta/packages/glib-2.0/glib-2.0-native_2.10.3.bb | 5 | ||||
-rw-r--r-- | meta/packages/glib-2.0/glib-2.0-native_2.12.0.bb | 5 | ||||
-rw-r--r-- | meta/packages/glib-2.0/glib-2.0.inc | 6 | ||||
-rw-r--r-- | meta/packages/glib-2.0/glib-2.0_2.10.3.bb | 5 | ||||
-rw-r--r-- | meta/packages/glib-2.0/glib-2.0_2.12.0.bb | 5 | ||||
-rw-r--r-- | meta/packages/glib-2.0/glib-2.0_2.6.4.bb | 5 | ||||
-rw-r--r-- | meta/packages/glib-2.0/glib-2.0_2.8.6.bb | 5 |
7 files changed, 10 insertions, 26 deletions
diff --git a/meta/packages/glib-2.0/glib-2.0-native_2.10.3.bb b/meta/packages/glib-2.0/glib-2.0-native_2.10.3.bb index 402ec2d39..753e6ad2c 100644 --- a/meta/packages/glib-2.0/glib-2.0-native_2.10.3.bb +++ b/meta/packages/glib-2.0/glib-2.0-native_2.10.3.bb @@ -20,11 +20,6 @@ S = "${WORKDIR}/glib-${PV}" inherit autotools pkgconfig native gettext -python () { - if bb.data.getVar("USE_NLS", d, 1) == "no": - raise bb.parse.SkipPackage("${PN} requires native language support.") -} - acpaths = "" do_configure_prepend () { install -m 0644 ${WORKDIR}/glibconfig-sysdefs.h . diff --git a/meta/packages/glib-2.0/glib-2.0-native_2.12.0.bb b/meta/packages/glib-2.0/glib-2.0-native_2.12.0.bb index 768f2777d..065f5bc3e 100644 --- a/meta/packages/glib-2.0/glib-2.0-native_2.12.0.bb +++ b/meta/packages/glib-2.0/glib-2.0-native_2.12.0.bb @@ -19,11 +19,6 @@ S = "${WORKDIR}/glib-${PV}" inherit autotools pkgconfig native gettext -python () { - if bb.data.getVar("USE_NLS", d, 1) == "no": - raise bb.parse.SkipPackage("${PN} requires native language support.") -} - acpaths = "" do_configure_prepend () { install -m 0644 ${WORKDIR}/glibconfig-sysdefs.h . diff --git a/meta/packages/glib-2.0/glib-2.0.inc b/meta/packages/glib-2.0/glib-2.0.inc new file mode 100644 index 000000000..ccbbd2b35 --- /dev/null +++ b/meta/packages/glib-2.0/glib-2.0.inc @@ -0,0 +1,6 @@ + +python () { + import bb + if bb.data.getVar("USE_NLS", d, 1) == "no": + raise bb.parse.SkipPackage("${PN} requires native language support.") +} diff --git a/meta/packages/glib-2.0/glib-2.0_2.10.3.bb b/meta/packages/glib-2.0/glib-2.0_2.10.3.bb index df0f3bd82..799101d43 100644 --- a/meta/packages/glib-2.0/glib-2.0_2.10.3.bb +++ b/meta/packages/glib-2.0/glib-2.0_2.10.3.bb @@ -24,10 +24,7 @@ S = "${WORKDIR}/glib-${PV}" inherit autotools pkgconfig gettext -python () { - if bb.data.getVar("USE_NLS", d, 1) == "no": - raise bb.parse.SkipPackage("${PN} requires native language support.") -} +require glib-2.0.inc acpaths = "" do_configure_prepend () { diff --git a/meta/packages/glib-2.0/glib-2.0_2.12.0.bb b/meta/packages/glib-2.0/glib-2.0_2.12.0.bb index 31d7347a0..ff2ff98a8 100644 --- a/meta/packages/glib-2.0/glib-2.0_2.12.0.bb +++ b/meta/packages/glib-2.0/glib-2.0_2.12.0.bb @@ -23,10 +23,7 @@ S = "${WORKDIR}/glib-${PV}" inherit autotools pkgconfig gettext -python () { - if bb.data.getVar("USE_NLS", d, 1) == "no": - raise bb.parse.SkipPackage("${PN} requires native language support.") -} +require glib-2.0.inc acpaths = "" do_configure_prepend () { diff --git a/meta/packages/glib-2.0/glib-2.0_2.6.4.bb b/meta/packages/glib-2.0/glib-2.0_2.6.4.bb index f1cb21740..9295338d8 100644 --- a/meta/packages/glib-2.0/glib-2.0_2.6.4.bb +++ b/meta/packages/glib-2.0/glib-2.0_2.6.4.bb @@ -24,10 +24,7 @@ S = "${WORKDIR}/glib-${PV}" inherit autotools pkgconfig gettext -python () { - if bb.data.getVar("USE_NLS", d, 1) == "no": - raise bb.parse.SkipPackage("${PN} requires native language support.") -} +require glib-2.0.inc acpaths = "" do_configure_prepend () { diff --git a/meta/packages/glib-2.0/glib-2.0_2.8.6.bb b/meta/packages/glib-2.0/glib-2.0_2.8.6.bb index 3c106246c..654b99114 100644 --- a/meta/packages/glib-2.0/glib-2.0_2.8.6.bb +++ b/meta/packages/glib-2.0/glib-2.0_2.8.6.bb @@ -24,10 +24,7 @@ S = "${WORKDIR}/glib-${PV}" inherit autotools pkgconfig gettext -python () { - if bb.data.getVar("USE_NLS", d, 1) == "no": - raise bb.parse.SkipPackage("${PN} requires native language support.") -} +require glib-2.0.inc acpaths = "" do_configure_prepend () { |