diff options
author | Marcin Juszkiewicz <hrw@openembedded.org> | 2005-09-13 06:59:42 +0000 |
---|---|---|
committer | OpenEmbedded Project <openembedded-devel@lists.openembedded.org> | 2005-09-13 06:59:42 +0000 |
commit | f0dbf66a3c063fb9aaba621fdcf28002d7287a14 (patch) | |
tree | 01679ad8f5a6c56165d9639545b711b20703cbef /packages/opie-reader/opie-reader.inc | |
parent | a63613a7b4795860b74a9b45a9b0c2653050144c (diff) |
opie-reader: update common part with stuff from CVS version
- now 1.2.1 build and package correctly
Diffstat (limited to 'packages/opie-reader/opie-reader.inc')
-rw-r--r-- | packages/opie-reader/opie-reader.inc | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/packages/opie-reader/opie-reader.inc b/packages/opie-reader/opie-reader.inc index d581a9674d..42c097ba17 100644 --- a/packages/opie-reader/opie-reader.inc +++ b/packages/opie-reader/opie-reader.inc @@ -13,6 +13,9 @@ PARALLEL_MAKE = "" inherit opie +DEPENDS += " flite " +EXTRA_QMAKEVARS_POST += " SUBDIRS+=FliteDyn SUBDIRS+=FliteDyn16 " + do_install() { install -d ${D}${palmtopdir}/pics/${APPNAME}/ install -d ${D}${palmtopdir}/lib/ @@ -44,3 +47,26 @@ do_install() { install -m 0644 ${S}/HTMLentities ${D}${palmtopdir}/plugins/reader/data/ } +python populate_packages_prepend () { + print "opie-reader:", bb.data.getVar( 'RDEPENDS_opie-reader', d ) + plugindir = bb.data.expand('${palmtopdir}/plugins/reader', d) + for dir, type in [ ( 'codecs', 'codec' ), ( 'filters', 'filter' ), ( 'outcodecs', 'output' ) ]: + dir = plugindir + '/' + dir + do_split_packages(d, dir, + '^lib(.*)\.so$', 'opie-reader-' + type + '-%s', + 'Opie reader %s ' + type, + prepend=True) + + # input codes are small and should be installed together with opie-reader, + # flite output pulls in libflite and thus should only be installed if + # really wanted by the user + suggests=[] + recommends=[] + for package in bb.data.getVar('PACKAGES', d).split(): + if 'flite' in package: + suggests.append(package) + else: + recommends.append(package) + bb.data.setVar('RRECOMMENDS_opie-reader', " ".join( recommends ), d) + bb.data.setVar('RSUGGESTS_opie-reader', " ".join( suggests ), d) +} |