fingerterm.pro 1.61 KB
Newer Older
John Brooks's avatar
John Brooks committed
1
QT = core gui qml quick dbus
2 3 4 5 6 7

contains(MEEGO_EDITION,harmattan): {
    CONFIG += meegotouch
}

TEMPLATE = app
Aard's avatar
Aard committed
8
TARGET = fingerterm
9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51
DEPENDPATH += .
INCLUDEPATH += .
LIBS += -lutil

system($$PWD/updateversion.sh)

# Input
HEADERS += \
    ptyiface.h \
    terminal.h \
    textrender.h \
    version.h \
    util.h \
    keyloader.h \
    mainwindow.h \
    dbusadaptor.h
SOURCES += main.cpp terminal.cpp textrender.cpp \
    ptyiface.cpp \
    util.cpp \
    keyloader.cpp \
    mainwindow.cpp \
    dbusadaptor.cpp

OTHER_FILES += \
    qml/Main.qml \
    qml/Keyboard.qml \
    qml/Key.qml \
    qml/Lineview.qml \
    qtc_packaging/debian_harmattan/rules \
    qtc_packaging/debian_harmattan/copyright \
    qtc_packaging/debian_harmattan/control \
    qtc_packaging/debian_harmattan/compat \
    qtc_packaging/debian_harmattan/changelog \
    qml/Button.qml \
    qml/Menu.qml \
    qml/NotifyWin.qml \
    qml/UrlWindow.qml \
    qml/LayoutWindow.qml

RESOURCES += \
    resources.qrc

unix:!symbian:!maemo5 {
52
    target.path = /usr/bin
53 54 55 56
    INSTALLS += target
}

maemo5 {
57
    target.path = /usr/bin
58 59 60 61
    INSTALLS += target
}

contains(MEEGO_EDITION,harmattan) {
62
    desktopfile.files = $${TARGET}.desktop
63 64 65 66 67 68 69 70 71 72
    desktopfile.path = /usr/share/applications
    INSTALLS += desktopfile
}

contains(MEEGO_EDITION,harmattan) {
    icon.files = fingerterm.png
    icon.path = /usr/share/icons/hicolor/80x80/apps
    INSTALLS += icon
}

Aard's avatar
Aard committed
73
contains(MEEGO_EDITION,nemo) {
74
    desktopfile.extra = cp $${TARGET}.desktop.nemo $${TARGET}.desktop
Aard's avatar
Aard committed
75
    desktopfile.path = /usr/share/applications
76
    desktopfile.files = $${TARGET}.desktop
Aard's avatar
Aard committed
77 78
    INSTALLS += desktopfile
}