fingerterm.pro 1.14 KB
Newer Older
1
QT = core gui qml quick
2

3
CONFIG += link_pkgconfig
4

5
enable-feedback {
6 7
    QT += feedback
    DEFINES += HAVE_FEEDBACK
8 9 10
}

enable-nemonotifications {
11
    PKGCONFIG += nemonotifications-qt5
12 13 14
}

isEmpty(DEFAULT_FONT) {
15
    DEFAULT_FONT = monospace
16 17
}

18
DEFINES += DEFAULT_FONTFAMILY=\\\"$$DEFAULT_FONT\\\"
19

20
TEMPLATE = app
Aard's avatar
Aard committed
21
TARGET = fingerterm
22 23 24 25 26 27 28 29 30 31 32
DEPENDPATH += .
INCLUDEPATH += .
LIBS += -lutil

# Input
HEADERS += \
    ptyiface.h \
    terminal.h \
    textrender.h \
    version.h \
    util.h \
33
    keyloader.h
34

Herrie's avatar
Herrie committed
35 36 37 38
SOURCES += \
    main.cpp \
    terminal.cpp \
    textrender.cpp \
39 40
    ptyiface.cpp \
    util.cpp \
41
    keyloader.cpp
42 43 44 45 46 47 48

OTHER_FILES += \
    qml/Main.qml \
    qml/Keyboard.qml \
    qml/Key.qml \
    qml/Lineview.qml \
    qml/Button.qml \
49
    qml/MenuFingerterm.qml \
50 51
    qml/NotifyWin.qml \
    qml/UrlWindow.qml \
52 53
    qml/LayoutWindow.qml \
    qml/PopupWindow.qml
54 55 56 57

RESOURCES += \
    resources.qrc

58 59
target.path = /usr/bin
INSTALLS += target
60

Aard's avatar
Aard committed
61
contains(MEEGO_EDITION,nemo) {
62
    desktopfile.extra = cp $${TARGET}.desktop.nemo $${TARGET}.desktop
Aard's avatar
Aard committed
63
    desktopfile.path = /usr/share/applications
64
    desktopfile.files = $${TARGET}.desktop
Aard's avatar
Aard committed
65 66
    INSTALLS += desktopfile
}