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 | poky-fac260b021b4962783914eb26603e6b84da6b1b6.tar.gz | |
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 402ec2d390..753e6ad2c7 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}" | |||
| 20 | 20 | ||
| 21 | inherit autotools pkgconfig native gettext | 21 | inherit autotools pkgconfig native gettext |
| 22 | 22 | ||
| 23 | python () { | ||
| 24 | if bb.data.getVar("USE_NLS", d, 1) == "no": | ||
| 25 | raise bb.parse.SkipPackage("${PN} requires native language support.") | ||
| 26 | } | ||
| 27 | |||
| 28 | acpaths = "" | 23 | acpaths = "" |
| 29 | do_configure_prepend () { | 24 | do_configure_prepend () { |
| 30 | install -m 0644 ${WORKDIR}/glibconfig-sysdefs.h . | 25 | 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 768f2777d8..065f5bc3e7 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}" | |||
| 19 | 19 | ||
| 20 | inherit autotools pkgconfig native gettext | 20 | inherit autotools pkgconfig native gettext |
| 21 | 21 | ||
| 22 | python () { | ||
| 23 | if bb.data.getVar("USE_NLS", d, 1) == "no": | ||
| 24 | raise bb.parse.SkipPackage("${PN} requires native language support.") | ||
| 25 | } | ||
| 26 | |||
| 27 | acpaths = "" | 22 | acpaths = "" |
| 28 | do_configure_prepend () { | 23 | do_configure_prepend () { |
| 29 | install -m 0644 ${WORKDIR}/glibconfig-sysdefs.h . | 24 | 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 0000000000..ccbbd2b35a --- /dev/null +++ b/meta/packages/glib-2.0/glib-2.0.inc | |||
| @@ -0,0 +1,6 @@ | |||
| 1 | |||
| 2 | python () { | ||
| 3 | import bb | ||
| 4 | if bb.data.getVar("USE_NLS", d, 1) == "no": | ||
| 5 | raise bb.parse.SkipPackage("${PN} requires native language support.") | ||
| 6 | } | ||
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 df0f3bd82c..799101d43f 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}" | |||
| 24 | 24 | ||
| 25 | inherit autotools pkgconfig gettext | 25 | inherit autotools pkgconfig gettext |
| 26 | 26 | ||
| 27 | python () { | 27 | require glib-2.0.inc |
| 28 | if bb.data.getVar("USE_NLS", d, 1) == "no": | ||
| 29 | raise bb.parse.SkipPackage("${PN} requires native language support.") | ||
| 30 | } | ||
| 31 | 28 | ||
| 32 | acpaths = "" | 29 | acpaths = "" |
| 33 | do_configure_prepend () { | 30 | 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 31d7347a06..ff2ff98a86 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}" | |||
| 23 | 23 | ||
| 24 | inherit autotools pkgconfig gettext | 24 | inherit autotools pkgconfig gettext |
| 25 | 25 | ||
| 26 | python () { | 26 | require glib-2.0.inc |
| 27 | if bb.data.getVar("USE_NLS", d, 1) == "no": | ||
| 28 | raise bb.parse.SkipPackage("${PN} requires native language support.") | ||
| 29 | } | ||
| 30 | 27 | ||
| 31 | acpaths = "" | 28 | acpaths = "" |
| 32 | do_configure_prepend () { | 29 | 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 f1cb21740a..9295338d87 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}" | |||
| 24 | 24 | ||
| 25 | inherit autotools pkgconfig gettext | 25 | inherit autotools pkgconfig gettext |
| 26 | 26 | ||
| 27 | python () { | 27 | require glib-2.0.inc |
| 28 | if bb.data.getVar("USE_NLS", d, 1) == "no": | ||
| 29 | raise bb.parse.SkipPackage("${PN} requires native language support.") | ||
| 30 | } | ||
| 31 | 28 | ||
| 32 | acpaths = "" | 29 | acpaths = "" |
| 33 | do_configure_prepend () { | 30 | 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 3c106246c0..654b991144 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}" | |||
| 24 | 24 | ||
| 25 | inherit autotools pkgconfig gettext | 25 | inherit autotools pkgconfig gettext |
| 26 | 26 | ||
| 27 | python () { | 27 | require glib-2.0.inc |
| 28 | if bb.data.getVar("USE_NLS", d, 1) == "no": | ||
| 29 | raise bb.parse.SkipPackage("${PN} requires native language support.") | ||
| 30 | } | ||
| 31 | 28 | ||
| 32 | acpaths = "" | 29 | acpaths = "" |
| 33 | do_configure_prepend () { | 30 | do_configure_prepend () { |
