diff options
author | Michael Lauer <mickey@vanille-media.de> | 2005-02-02 22:07:05 +0000 |
---|---|---|
committer | Michael Lauer <mickey@vanille-media.de> | 2005-02-02 22:07:05 +0000 |
commit | 73ef7b5c0de85525c666e4cb8e0421bae4ec147e (patch) | |
tree | 6ab35cf3505f2ae8069386dd705f8a00f23d8265 /packages/opie-i18n | |
parent | 7b57ac2ec7359b00a7ab046a40ab037cb90177c2 (diff) |
compute TAG line in opie.bbclass instead of in (all) opie files
BKrev: 42014f09KAfHSQPBUOyP1omr2yGkzA
Diffstat (limited to 'packages/opie-i18n')
-rw-r--r-- | packages/opie-i18n/opie-i18n_1.1.9.bb | 67 | ||||
-rw-r--r-- | packages/opie-i18n/opie-lrelease-native_1.1.9.bb | 22 | ||||
-rw-r--r-- | packages/opie-i18n/opie-lupdate-native_1.1.9.bb | 22 |
3 files changed, 111 insertions, 0 deletions
diff --git a/packages/opie-i18n/opie-i18n_1.1.9.bb b/packages/opie-i18n/opie-i18n_1.1.9.bb index e69de29bb2..37049778aa 100644 --- a/packages/opie-i18n/opie-i18n_1.1.9.bb +++ b/packages/opie-i18n/opie-i18n_1.1.9.bb @@ -0,0 +1,67 @@ +DESCRIPTION = "Opie i18n files" +SECTION = "opie/base" +PRIORITY = "optional" +MAINTAINER = "Team Opie <opie@handhelds.org>" +LICENSE = "GPL" +DEPENDS = "opie-lrelease-native" + + +SRC_URI = "${HANDHELDS_CVS};tag=${TAG};module=opie/i18n \ + ${HANDHELDS_CVS};tag=${TAG};module=opie/etc/dict" +S = "${WORKDIR}/i18n" + +do_compile() { + for f in ?? ??_?? + do + cd ${S}/$f + for g in *.ts + do + opie-lrelease $g + done + done +} + +do_install() { + install -d ${D}${palmtopdir}/i18n/ + install -d ${D}${palmtopdir}/etc/dict/ + for f in ?? ??_?? + do + echo Installing language $f + install -d ${D}${palmtopdir}/i18n/$f/ + install -m 0644 $f/.directory ${D}${palmtopdir}/i18n/$f/ + install -m 0644 $f/*.qm ${D}${palmtopdir}/i18n/$f/ + if [ -e ${WORKDIR}/dict/dawg.$f ] + then + install -m 0644 ${WORKDIR}/dict/dawg.$f ${D}${palmtopdir}/etc/dict/ + fi + done +} + +PACKAGES = " opie-i18n-cz opie-i18n-da opie-i18n-de opie-i18n-dk opie-i18n-en opie-i18n-es opie-i18n-fr opie-i18n-hu \ + opie-i18n-it opie-i18n-ja opie-i18n-ko opie-i18n-lv opie-i18n-mk opie-i18n-nl opie-i18n-no opie-i18n-pl \ + opie-i18n-pt opie-i18n-pt-br opie-i18n-ru opie-i18n-sl opie-i18n-xx opie-i18n-zh-cn opie-i18n-zh-tw " + +FILES_opie-i18n-cz = "${palmtopdir}/i18n/cz ${palmtopdir}/etc/dict/dawg.cz" +FILES_opie-i18n-da = "${palmtopdir}/i18n/da ${palmtopdir}/etc/dict/dawg.da" +FILES_opie-i18n-de = "${palmtopdir}/i18n/de ${palmtopdir}/etc/dict/dawg.de" +FILES_opie-i18n-dk = "${palmtopdir}/i18n/dk ${palmtopdir}/etc/dict/dawg.dk" +FILES_opie-i18n-en = "${palmtopdir}/i18n/en ${palmtopdir}/etc/dict/dawg.en" +FILES_opie-i18n-es = "${palmtopdir}/i18n/es ${palmtopdir}/etc/dict/dawg.es" +FILES_opie-i18n-fr = "${palmtopdir}/i18n/fr ${palmtopdir}/etc/dict/dawg.fr" +FILES_opie-i18n-hu = "${palmtopdir}/i18n/hu ${palmtopdir}/etc/dict/dawg.hu" +FILES_opie-i18n-it = "${palmtopdir}/i18n/it ${palmtopdir}/etc/dict/dawg.it" +FILES_opie-i18n-ja = "${palmtopdir}/i18n/ja ${palmtopdir}/etc/dict/dawg.ja" +FILES_opie-i18n-ko = "${palmtopdir}/i18n/ko ${palmtopdir}/etc/dict/dawg.ko" +FILES_opie-i18n-lv = "${palmtopdir}/i18n/lv ${palmtopdir}/etc/dict/dawg.lv" +FILES_opie-i18n-mk = "${palmtopdir}/i18n/mk ${palmtopdir}/etc/dict/dawg.mk" +FILES_opie-i18n-nl = "${palmtopdir}/i18n/nl ${palmtopdir}/etc/dict/dawg.nl" +FILES_opie-i18n-no = "${palmtopdir}/i18n/no ${palmtopdir}/etc/dict/dawg.no" +FILES_opie-i18n-pl = "${palmtopdir}/i18n/pl ${palmtopdir}/etc/dict/dawg.pl" +FILES_opie-i18n-pt = "${palmtopdir}/i18n/pt ${palmtopdir}/etc/dict/dawg.pt" +FILES_opie-i18n-pt-br = "${palmtopdir}/i18n/pt_BR ${palmtopdir}/etc/dict/dawg.pt_BR" +FILES_opie-i18n-ru = "${palmtopdir}/i18n/ru ${palmtopdir}/etc/dict/dawg.ru" +FILES_opie-i18n-sl = "${palmtopdir}/i18n/sl ${palmtopdir}/etc/dict/dawg.sl" +FILES_opie-i18n-xx = "${palmtopdir}/i18n/xx ${palmtopdir}/etc/dict/dawg.xx" +FILES_opie-i18n-zh-cn = "${palmtopdir}/i18n/zh_CN ${palmtopdir}/etc/dict/dawg.zh_CN" +FILES_opie-i18n-zh-tw = "${palmtopdir}/i18n/zh_TW ${palmtopdir}/etc/dict/dawg.zh_TW" + diff --git a/packages/opie-i18n/opie-lrelease-native_1.1.9.bb b/packages/opie-i18n/opie-lrelease-native_1.1.9.bb index e69de29bb2..78878ea98e 100644 --- a/packages/opie-i18n/opie-lrelease-native_1.1.9.bb +++ b/packages/opie-i18n/opie-lrelease-native_1.1.9.bb @@ -0,0 +1,22 @@ +DESCRIPTION = "Opie native i18n tool lrelease" +SECTION = "opie/base" +PRIORITY = "optional" +MAINTAINER = "Holger Freyther <zecke@handhelds.org>" +LICENSE = "GPL" +DEPENDS = "uicmoc3-native" + + + +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-lupdate-native_1.1.9.bb b/packages/opie-i18n/opie-lupdate-native_1.1.9.bb index e69de29bb2..7caf2a09f5 100644 --- a/packages/opie-i18n/opie-lupdate-native_1.1.9.bb +++ b/packages/opie-i18n/opie-lupdate-native_1.1.9.bb @@ -0,0 +1,22 @@ +DESCRIPTION = "Opie native i18n tool lupdate" +SECTION = "opie/base" +PRIORITY = "optional" +MAINTAINER = "Holger Freyther <zecke@handhelds.org>" +LICENSE = "GPL" +DEPENDS = "uicmoc3-native" + + +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}/ +} |