except:\r
pass\r
\r
- p=py2deb.Py2deb("nqaap") #This is the package name and MUST be in\r
- #lowercase! (using e.g. "mClock" fails\r
- #miserably...)\r
+ p=py2deb.Py2deb("nqaap")\r
p.prettyName="NQA Audiobook Player"\r
p.description="""Very simple Audiobook player.\r
Supports playing, pausing, seeking (sort of) and saving state when changing book/closing.\r
"diablo": "user/multimedia",\r
"fremantle": "user/multimedia",\r
}[distribution]\r
- p.icon = "src/usr/share/icons/hicolor/48x48/hildon/nqaap.png"\r
- p.arch="all" #should be all for python, any for all arch\r
- p.urgency="low" #not used in maemo onl for deb os\r
+ p.icon = {\r
+ "debian": "src/usr/share/icons/hicolor/26x26/hildon/nqaap.png",\r
+ "diablo": "src/usr/share/icons/hicolor/26x26/hildon/nqaap.png",\r
+ "fremantle": "src/usr/share/icons/hicolor/48x48/hildon/nqaap.png",\r
+ }[distribution]\r
+ p.arch="all"\r
+ p.urgency="low"\r
p.distribution=distribution\r
p.repository="extras"\r
p.bugTracker="https://bugs.maemo.org/enter_bug.cgi?product=nQa%%20Audiobook%%20Player"\r
p.postinstall="""#!/bin/sh\r
rm -f ~/.nqaap/nqaap.log\r
"""\r
- # p.postremove="""#!/bin/sh\r
- # chmod +x /usr/bin/mclock.py""" #Set here your post remove script\r
- # p.preinstall="""#!/bin/sh\r
- # chmod +x /usr/bin/mclock.py""" #Set here your pre install script\r
- # p.preremove="""#!/bin/sh\r
- # chmod +x /usr/bin/mclock.py""" #Set here your pre remove script\r
- version = "0.8.6" #Version of your software, e.g. "1.2.0" or "0.8.2"\r
- build = "0" #Build number, e.g. "1" for the first build of this\r
- #version of your software. Increment\r
- #for later re-builds of the same\r
- #version of your software. Text with\r
- #changelog information to be displayed\r
- #in the package "Details" tab of the\r
- #Maemo Application Manager\r
+ version = "0.8.7"\r
+ build = "0"\r
changeloginformation = """\r
-* About window as requested by magnuslu\r
-* Switched how storage of active book, chapter, and chapter position is stored\r
+* Fixing a bug with initially configuring the book location\r
""".strip()\r
- dir_name = "src" #Name of the subfolder containing your package\r
- #source files\r
- #(e.g. usr\share\icons\hicolor\scalable\myappicon.svg,\r
- #usr\lib\myapp\somelib.py). We suggest\r
- #to leave it named src in all projects\r
- #and will refer to that in the wiki\r
- #article on maemo.org\r
+ dir_name = "src"\r
#Thanks to DareTheHair from talk.maemo.org for this snippet that\r
#recursively builds the file list\r
for root, dirs, files in os.walk(dir_name):\r