summaryrefslogtreecommitdiffstats
path: root/meta/packages
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2006-11-20 09:17:58 +0000
committerRichard Purdie <richard@openedhand.com>2006-11-20 09:17:58 +0000
commitfac260b021b4962783914eb26603e6b84da6b1b6 (patch)
treea13e29bf4d65025f4c4a417a62d3793a2ab67abf /meta/packages
parent8aee6b32a09dbbce304018f169eb6623182622c5 (diff)
downloadpoky-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
Diffstat (limited to 'meta/packages')
-rw-r--r--meta/packages/glib-2.0/glib-2.0-native_2.10.3.bb5
-rw-r--r--meta/packages/glib-2.0/glib-2.0-native_2.12.0.bb5
-rw-r--r--meta/packages/glib-2.0/glib-2.0.inc6
-rw-r--r--meta/packages/glib-2.0/glib-2.0_2.10.3.bb5
-rw-r--r--meta/packages/glib-2.0/glib-2.0_2.12.0.bb5
-rw-r--r--meta/packages/glib-2.0/glib-2.0_2.6.4.bb5
-rw-r--r--meta/packages/glib-2.0/glib-2.0_2.8.6.bb5
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
21inherit autotools pkgconfig native gettext 21inherit autotools pkgconfig native gettext
22 22
23python () {
24 if bb.data.getVar("USE_NLS", d, 1) == "no":
25 raise bb.parse.SkipPackage("${PN} requires native language support.")
26}
27
28acpaths = "" 23acpaths = ""
29do_configure_prepend () { 24do_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
20inherit autotools pkgconfig native gettext 20inherit autotools pkgconfig native gettext
21 21
22python () {
23 if bb.data.getVar("USE_NLS", d, 1) == "no":
24 raise bb.parse.SkipPackage("${PN} requires native language support.")
25}
26
27acpaths = "" 22acpaths = ""
28do_configure_prepend () { 23do_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
2python () {
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
25inherit autotools pkgconfig gettext 25inherit autotools pkgconfig gettext
26 26
27python () { 27require 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
32acpaths = "" 29acpaths = ""
33do_configure_prepend () { 30do_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
24inherit autotools pkgconfig gettext 24inherit autotools pkgconfig gettext
25 25
26python () { 26require 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
31acpaths = "" 28acpaths = ""
32do_configure_prepend () { 29do_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
25inherit autotools pkgconfig gettext 25inherit autotools pkgconfig gettext
26 26
27python () { 27require 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
32acpaths = "" 29acpaths = ""
33do_configure_prepend () { 30do_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
25inherit autotools pkgconfig gettext 25inherit autotools pkgconfig gettext
26 26
27python () { 27require 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
32acpaths = "" 29acpaths = ""
33do_configure_prepend () { 30do_configure_prepend () {