Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/qt
diff options
context:
space:
mode:
authorDarafei Praliaskouski <komzpa@gmail.com>2013-02-25 18:03:52 +0400
committerAlex Zolotarev <alex@maps.me>2015-09-23 01:51:28 +0300
commit34b33ab275bd359836a3e336d340c7a79579ba02 (patch)
treeb090cc1768ae82e0bce6c04ea55fdf4938a59c93 /qt
parenteb287847ed5320ff7a14cba33c795dfea5d3d695 (diff)
[linux][packaging] moved to /opt/
Diffstat (limited to 'qt')
-rw-r--r--qt/qt.pro17
-rw-r--r--qt/res/MapsWithMe.desktop6
-rw-r--r--qt/res/icons/128/MapsWithMe.pngbin17651 -> 0 bytes
3 files changed, 12 insertions, 11 deletions
diff --git a/qt/qt.pro b/qt/qt.pro
index 3b2124f011..f128c4d383 100644
--- a/qt/qt.pro
+++ b/qt/qt.pro
@@ -3,6 +3,7 @@ ROOT_DIR = ..
DEPENDENCIES = map gui search storage indexer graphics platform anim geometry coding base \
bzip2 freetype expat fribidi tomcrypt jansson protobuf zlib
+
include($$ROOT_DIR/common.pri)
TARGET = MapsWithMe
@@ -23,23 +24,23 @@ win32*|linux* {
linux* {
DEFINES += NO_DOWNLOADER
- isEmpty(PREFIX):PREFIX = /usr
+
+ isEmpty(PREFIX):PREFIX = /opt/MapsWithMe
+ DEFINES += INSTALL_PREFIX=$$(PREFIX)
BINDIR = $$PREFIX/bin
+
DATADIR = $$PREFIX/share
- RESDIR = $$DATADIR/$${TARGET}
+ RESDIR = $$DATADIR
target.path = $$BINDIR
- desktop.path = $$DATADIR/applications/
+ desktop.path = /usr/share/applications/
desktop.files += res/$${TARGET}.desktop
- pixmaps.path = $$DATADIR/pixmaps/
- pixmaps.files += res/icons/128/$${TARGET}.png
- icon128.path = $$DATADIR/icons/hicolor/128x128/apps/
- icon128.files += res/icons/128/$${TARGET}.png
+
OTHER_RES.path = $$RESDIR
OTHER_RES.files = ../data/about.html ../data/eula.html ../data/welcome.html \
../data/countries.txt \
../data/languages.txt ../data/categories.txt \
- ../data/packed_polygons.bin
+ ../data/packed_polygons.bin res/logo.png
CLASSIFICATOR_RES.path = $$RESDIR
CLASSIFICATOR_RES.files = ../data/classificator.txt \
../data/types.txt
diff --git a/qt/res/MapsWithMe.desktop b/qt/res/MapsWithMe.desktop
index 0cbbbab3e5..ba5730c7fc 100644
--- a/qt/res/MapsWithMe.desktop
+++ b/qt/res/MapsWithMe.desktop
@@ -4,9 +4,9 @@ Name=MapsWithMe
Version=1.0
GenericName=Detailed Offline Maps of the World
GenericName[ru]=Подробная оффлайновая карта мира
-Icon=MapsWithMe
-TryExec=/usr/bin/MapsWithMe
-Exec=/usr/bin/MapsWithMe
+Icon=/opt/MapsWithMe/share/logo.png
+TryExec=/opt/MapsWithMe/bin/MapsWithMe
+Exec=/opt/MapsWithMe/bin/MapsWithMe
Terminal=false
StartupNotify=false
Categories=Qt;Education;Science;Geography;Geoscience
diff --git a/qt/res/icons/128/MapsWithMe.png b/qt/res/icons/128/MapsWithMe.png
deleted file mode 100644
index 6dd5e09a61..0000000000
--- a/qt/res/icons/128/MapsWithMe.png
+++ /dev/null
Binary files differ