File: maemo5pkgrules.pri

package info (click to toggle)
qt4-x11 4%3A4.8.7%2Bdfsg-11
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 748,976 kB
  • ctags: 445,125
  • sloc: cpp: 2,694,099; ansic: 384,353; python: 25,859; sh: 19,554; xml: 17,092; perl: 14,767; yacc: 5,383; asm: 5,038; makefile: 1,258; lex: 555; ruby: 526; objc: 347; cs: 112; pascal: 112; php: 54; sed: 34
file content (27 lines) | stat: -rw-r--r-- 725 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
!maemo5: error(Only include this file for Maemo5 platforms)

PREFIX = /opt/usr
BINDIR = $$PREFIX/bin
DATADIR = $$PREFIX/share

provide_icon.commands = "$$QMAKE_COPY \"$$PWD/qt.png\" \"$$OUT_PWD/$${TARGET}.png\""
QMAKE_EXTRA_TARGETS += provide_icon
CLEANFILES += $$OUT_PWD/$${TARGET}.png

icon.CONFIG += no_check_exist
icon.files = $$OUT_PWD/$${TARGET}.png
icon.path = /usr/share/icons/hicolor/64x64/apps/
icon.depends = provide_icon

desktopfile.path = /usr/share/applications/hildon
desktopfile.files = $${TARGET}.desktop

DEFINES += DATADIR=\\\"$$DATADIR\\\" \
        PKGDATADIR=\\\"$$PKGDATADIR\\\"

target.path = $$BINDIR

INSTALLS += desktopfile icon

# Don't install sources on the embedded target
INSTALLS -= sources