Harmattan: add app launcher, icon, fix fonts.

This commit is contained in:
Sacha 2013-04-12 04:02:29 +10:00
parent 4164e81de0
commit e44a00dc8f
3 changed files with 25 additions and 7 deletions

11
Qt/PPSSPP.desktop Normal file
View File

@ -0,0 +1,11 @@
[Desktop Entry]
Encoding=UTF-8
Version=0.7.5
Type=Application
Terminal=false
Name=PPSSPP
Exec=/opt/PPSSPP/bin/PPSSPPQt
Icon=/usr/share/icons/hicolor/114x114/apps/icon-114.png
X-Window-Icon=
X-HildonDesk-ShowInToolbar=true
X-Osso-Type=application/x-executable

View File

@ -85,9 +85,14 @@ symbian {
}
contains(MEEGO_EDITION,harmattan) {
target.path = /opt/PPSSPP/bin
assets.sources = ../assets/flash
assets.path = /home/user/MyDocs/PPSSPP
INSTALLS += target assets
target.path = /opt/PPSSPP/bin
assets.files = ../assets/flash
assets.path = /opt/PPSSPP
desktopfile.files = PPSSPP.desktop
desktopfile.path = /usr/share/applications
icon.files = ../assets/icon-114.png
icon.path = /usr/share/icons/hicolor/114x114/apps
INSTALLS += target assets desktopfile icon
ICON = ../assets/icon-114.png
}

View File

@ -272,7 +272,7 @@ void NativeInit(int argc, const char *argv[], const char *savegame_directory, co
if (g_Config.currentDirectory == "") {
#if defined(ANDROID)
g_Config.currentDirectory = external_directory;
#elif defined(BLACKBERRY) || defined(__SYMBIAN32__) || defined(IOS) || defined(_WIN32)
#elif defined(BLACKBERRY) || defined(__SYMBIAN32__) || defined(MEEGO_EDITION_HARMATTAN) || defined(IOS) || defined(_WIN32)
g_Config.currentDirectory = savegame_directory;
#else
g_Config.currentDirectory = getenv("HOME");
@ -285,12 +285,14 @@ void NativeInit(int argc, const char *argv[], const char *savegame_directory, co
// most sense.
g_Config.memCardDirectory = std::string(external_directory) + "/";
g_Config.flashDirectory = std::string(external_directory)+"/flash/";
#elif defined(BLACKBERRY) || defined(__SYMBIAN32__) || defined(IOS) || defined(_WIN32)
#elif defined(BLACKBERRY) || defined(__SYMBIAN32__) || defined(MEEGO_EDITION_HARMATTAN) || defined(IOS) || defined(_WIN32)
g_Config.memCardDirectory = user_data_path;
#ifdef BLACKBERRY
g_Config.flashDirectory = "app/native/assets/flash/";
#elif IOS
#elif defined(IOS)
g_Config.flashDirectory = std::string(external_directory) + "flash0/";
#elif defined(MEEGO_EDITION_HARMATTAN)
g_Config.flashDirectory = "/opt/PPSSPP/flash/";
#else
g_Config.flashDirectory = user_data_path+"/flash/";
#endif