diff options
author | Michael Lauer <mickey@vanille-media.de> | 2004-04-27 10:40:54 +0000 |
---|---|---|
committer | Michael Lauer <mickey@vanille-media.de> | 2004-04-27 10:40:54 +0000 |
commit | 9a4e596172f58859d024baa49eb8907ea0b4459e (patch) | |
tree | fd67253db72c307a00dd0b9987743fd62a050fd6 /opie | |
parent | 8d203627619c8b57aad9b980f70b08860352107b (diff) |
gather depends at runtime using OE's elegant python functions
BKrev: 408e38b6zRWU1rzlNi8IGXsRgEK6Kw
Diffstat (limited to 'opie')
-rw-r--r-- | opie/meta-opie.oe | 22 |
1 files changed, 12 insertions, 10 deletions
diff --git a/opie/meta-opie.oe b/opie/meta-opie.oe index 36906b2658..25a880c116 100644 --- a/opie/meta-opie.oe +++ b/opie/meta-opie.oe @@ -1,12 +1,14 @@ DESCRIPTION = "Meta-package for Opie" -DEPENDS = "qte-for-opie libqpe-opie libopie2 \ -opie-aboutapplet opie-addressbook opie-advancedfm opie-alarm opie-bartender opie-batteryapplet \ -opie-button-settings opie-calibrate opie-camera opie-cardmon opie-checkbook opie-citytime \ -opie-clipboardapplet opie-clock opie-clockapplet opie-confeditor opie-console \ -opie-embeddedkonsole opie-helpbrowser opie-homeapplet opie-i18n opie-irdaapplet opie-keypebble opie-keyz-cfg \ -opie-light-and-power opie-login opie-logoutapplet opie-multikeyapplet opie-odict opie-oxygen opie-packagemanager \ -opie-qashmoney opie-qcop opie-quicklauncher opie-reader opie-restartapplet opie-rotateapplet opie-screenshotapplet \ -opie-search opie-security opie-sheet opie-solitaire opie-suspendapplet opie-tableviewer opie-taskbar \ -opie-textedit opie-vmemo opie-volumeapplet opie-vtapplet opie-write opie-zsafe " - +DEPENDS = "qte-for-opie libqpe-opie libopie2" MAINTAINER = "Greg Gilbert <greg@treke.net>" + +def opie_packages(d): + import oe, os + files = os.listdir( oe.data.getVar( "TOPDIR", d, True ) ) + pkgs = [ f for f in files if f.startswith( "opie-" ) ] + return " ".join( pkgs ) + +OPIE_PACKAGES := "${@opie_packages(d)}" + +DEPENDS = "qte-for-opie libqpe-opie libopie2 ${OPIE_PACKAGES}" + |