summaryrefslogtreecommitdiff
path: root/packages/opie-i18n
diff options
context:
space:
mode:
authorHolger Freyther <zecke@selfish.org>2005-08-14 14:44:26 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2005-08-14 14:44:26 +0000
commitd1ce1ec2f684aa2bee1e1d90bdf7d1a315b7bfb1 (patch)
treebe52c5b4b5573ce3cd6c0db1a77df8bd177b9370 /packages/opie-i18n
parent0dd8629cbaad95b0fab1040e8ebd97bd19c6f210 (diff)
Qt3 Native builds:
-Add a qt3e.bbclass similiar to the x11 bbclasses for Qt -Use this class in uicmoc3-native, opie-lrelease-native, opie-lupdate-native -Stage the headers of uicmoc3 and the static library to a dedicated qt3e staging directory -Add two .inc files to share common data between the cvs and 1.2.0 bbfile of opie-lupdate and opie-lrelease
Diffstat (limited to 'packages/opie-i18n')
-rw-r--r--packages/opie-i18n/opie-lrelease-native.inc17
-rw-r--r--packages/opie-i18n/opie-lrelease-native_1.2.0.bb18
-rw-r--r--packages/opie-i18n/opie-lrelease-native_cvs.bb20
-rw-r--r--packages/opie-i18n/opie-lupdate-native.inc18
-rw-r--r--packages/opie-i18n/opie-lupdate-native_1.2.0.bb18
-rw-r--r--packages/opie-i18n/opie-lupdate-native_cvs.bb21
6 files changed, 41 insertions, 71 deletions
diff --git a/packages/opie-i18n/opie-lrelease-native.inc b/packages/opie-i18n/opie-lrelease-native.inc
new file mode 100644
index 0000000000..16d983693b
--- /dev/null
+++ b/packages/opie-i18n/opie-lrelease-native.inc
@@ -0,0 +1,17 @@
+DESCRIPTION = "Opie native i18n tool lrelease"
+SECTION = "opie/base"
+PRIORITY = "optional"
+MAINTAINER = "Holger Freyther <zecke@handhelds.org>"
+LICENSE = "GPL"
+DEPENDS = "uicmoc3-native"
+
+S = "${WORKDIR}/opie-lrelease"
+
+inherit native qmake qt3e
+
+export OE_QMAKE_LINK="${CXX}"
+EXTRA_QMAKEVARS_POST_append = "LIBS+=-ldl"
+
+do_stage() {
+ install -m 0755 opie-lrelease ${STAGING_BINDIR}/
+}
diff --git a/packages/opie-i18n/opie-lrelease-native_1.2.0.bb b/packages/opie-i18n/opie-lrelease-native_1.2.0.bb
index 17a662d957..699a72256c 100644
--- a/packages/opie-i18n/opie-lrelease-native_1.2.0.bb
+++ b/packages/opie-i18n/opie-lrelease-native_1.2.0.bb
@@ -1,21 +1,5 @@
-DESCRIPTION = "Opie native i18n tool lrelease"
-SECTION = "opie/base"
-PRIORITY = "optional"
-MAINTAINER = "Holger Freyther <zecke@handhelds.org>"
-LICENSE = "GPL"
-DEPENDS = "uicmoc3-native"
+include ${PN}.inc
TAG = "${@'v' + bb.data.getVar('PV',d,1).replace('.', '_')}"
SRC_URI = "${HANDHELDS_CVS};tag=${TAG};module=opie/development/translation/opie-lrelease \
${HANDHELDS_CVS};tag=${TAG};module=opie/development/translation/shared"
-
-S = "${WORKDIR}/opie-lrelease"
-
-inherit native qmake
-
-export OE_QMAKE_LINK="${CXX}"
-EXTRA_QMAKEVARS_POST_append = "LIBS+=-ldl"
-
-do_stage() {
- install -m 0755 opie-lrelease ${STAGING_BINDIR}/
-}
diff --git a/packages/opie-i18n/opie-lrelease-native_cvs.bb b/packages/opie-i18n/opie-lrelease-native_cvs.bb
index 637746bdf3..e6809cc9da 100644
--- a/packages/opie-i18n/opie-lrelease-native_cvs.bb
+++ b/packages/opie-i18n/opie-lrelease-native_cvs.bb
@@ -1,21 +1,5 @@
-DESCRIPTION = "Opie native i18n tool lrelease"
-SECTION = "opie/base"
-PRIORITY = "optional"
-MAINTAINER = "Holger Freyther <zecke@handhelds.org>"
-LICENSE = "GPL"
-DEPENDS = "uicmoc3-native"
-PV = "1.2.0+cvs-${CVSDATE}"
+include ${PN}.inc
+PV = "1.2.0+cvs-${CVSDATE}"
SRC_URI = "${HANDHELDS_CVS};module=opie/development/translation/opie-lrelease \
${HANDHELDS_CVS};module=opie/development/translation/shared"
-
-S = "${WORKDIR}/opie-lrelease"
-
-inherit native qmake
-
-export OE_QMAKE_LINK="${CXX}"
-EXTRA_QMAKEVARS_POST_append = "LIBS+=-ldl"
-
-do_stage() {
- install -m 0755 opie-lrelease ${STAGING_BINDIR}/
-}
diff --git a/packages/opie-i18n/opie-lupdate-native.inc b/packages/opie-i18n/opie-lupdate-native.inc
new file mode 100644
index 0000000000..98eb30a864
--- /dev/null
+++ b/packages/opie-i18n/opie-lupdate-native.inc
@@ -0,0 +1,18 @@
+DESCRIPTION = "Opie native i18n tool lupdate"
+SECTION = "opie/base"
+PRIORITY = "optional"
+MAINTAINER = "Holger Freyther <zecke@handhelds.org>"
+LICENSE = "GPL"
+DEPENDS = "uicmoc3-native"
+
+S = "${WORKDIR}/opie-lupdate"
+
+inherit native qmake qt3e
+
+export OE_QMAKE_LINK="${CXX}"
+EXTRA_QMAKEVARS_POST_append = "LIBS+=-ldl "
+EXTRA_QMAKEVARS_POST_append = "CONFIG-=thread "
+
+do_stage() {
+ install -m 0755 opie-lupdate ${STAGING_BINDIR}/
+}
diff --git a/packages/opie-i18n/opie-lupdate-native_1.2.0.bb b/packages/opie-i18n/opie-lupdate-native_1.2.0.bb
index 29076a4bd7..d4e7f18284 100644
--- a/packages/opie-i18n/opie-lupdate-native_1.2.0.bb
+++ b/packages/opie-i18n/opie-lupdate-native_1.2.0.bb
@@ -1,22 +1,6 @@
-DESCRIPTION = "Opie native i18n tool lupdate"
-SECTION = "opie/base"
-PRIORITY = "optional"
-MAINTAINER = "Holger Freyther <zecke@handhelds.org>"
-LICENSE = "GPL"
-DEPENDS = "uicmoc3-native"
+include ${PN}.inc
TAG = "${@'v' + bb.data.getVar('PV',d,1).replace('.', '_')}"
SRC_URI = "${HANDHELDS_CVS};tag=${TAG};module=opie/development/translation/opie-lupdate \
${HANDHELDS_CVS};tag=${TAG};module=opie/development/translation/shared"
-S = "${WORKDIR}/opie-lupdate"
-
-inherit native qmake
-
-export OE_QMAKE_LINK="${CXX}"
-EXTRA_QMAKEVARS_POST_append = "LIBS+=-ldl "
-EXTRA_QMAKEVARS_POST_append = "CONFIG-=thread "
-
-do_stage() {
- install -m 0755 opie-lupdate ${STAGING_BINDIR}/
-}
diff --git a/packages/opie-i18n/opie-lupdate-native_cvs.bb b/packages/opie-i18n/opie-lupdate-native_cvs.bb
index acc15176d0..57fba3893e 100644
--- a/packages/opie-i18n/opie-lupdate-native_cvs.bb
+++ b/packages/opie-i18n/opie-lupdate-native_cvs.bb
@@ -1,22 +1,5 @@
-DESCRIPTION = "Opie native i18n tool lupdate"
-SECTION = "opie/base"
-PRIORITY = "optional"
-MAINTAINER = "Holger Freyther <zecke@handhelds.org>"
-LICENSE = "GPL"
-DEPENDS = "uicmoc3-native"
-PV = "1.2.0+cvs-${CVSDATE}"
+include ${PN}.inc
+PV = "1.2.0+cvs-${CVSDATE}"
SRC_URI = "${HANDHELDS_CVS};module=opie/development/translation/opie-lupdate \
${HANDHELDS_CVS};module=opie/development/translation/shared"
-
-S = "${WORKDIR}/opie-lupdate"
-
-inherit native qmake
-
-export OE_QMAKE_LINK="${CXX}"
-EXTRA_QMAKEVARS_POST_append = "LIBS+=-ldl "
-EXTRA_QMAKEVARS_POST_append = "CONFIG-=thread "
-
-do_stage() {
- install -m 0755 opie-lupdate ${STAGING_BINDIR}/
-}