p.license = "lgpl"
p.depends = ", ".join([
"python2.6 | python2.5",
- "python-gtk2 | python2.5-gtk2",
- "python-xml | python2.5-xml",
- "python-dbus | python2.5-dbus",
+ "python-simplejson",
])
- maemoSpecificDepends = ", python-osso | python2.5-osso, python-hildon | python2.5-hildon"
p.depends += {
- "debian": ", python-glade2",
- "diablo": maemoSpecificDepends + ", python2.5-conic",
- "fremantle": maemoSpecificDepends + ", python-glade2, python-alarm",
+ "debian": ", python-qt4",
+ "diablo": ", python2.5-qt4-core, python2.5-qt4-gui",
+ "fremantle": ", python2.5-qt4-core, python2.5-qt4-gui, python2.5-qt4-maemo5",
}[distribution]
p.recommends = ", ".join([
])
"|".join((oldName, newName))
for (oldName, newName) in files
)
+ for relPath, files in unflatten_files(find_files("data", ".")).iteritems():
+ fullPath = "/opt/%s/share" % __appname__
+ if relPath:
+ fullPath += os.sep+relPath
+ p[fullPath] = list(
+ "|".join((oldName, newName))
+ for (oldName, newName) in files
+ )
p["/usr/share/applications/hildon"] = ["dialcentral.desktop"]
p["/usr/share/icons/hicolor/26x26/hildon"] = ["26x26-dialcentral.png|dialcentral.png"]
p["/usr/share/icons/hicolor/64x64/hildon"] = ["64x64-dialcentral.png|dialcentral.png"]