~jakuje/wallpaper-changer/unbundle-unity

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
28
29
30
31
32
33
34
35
TEMPLATE = app
TARGET = wallch
DEPENDPATH += . data/translations
INCLUDEPATH += .

CONFIG += c++11

QT += network widgets webkitwidgets

win32 {
    QT += gui-private
    RC_FILE = data/win-icon/wallch.rc
} else {
    CONFIG += link_pkgconfig
    PKGCONFIG += unity libnotify libexif keybinder
}

isEmpty(PREFIX) {
    PREFIX = /usr
}

DEFINES += "PREFIX=\\\"$$PREFIX\\\""

SOURCES += src/main.cpp
RESOURCES += src/resources.qrc

TRANSLATIONS += data/translations/wallch_el.ts

configfiles.files += data/to_usr_share/*
configfiles.path = $$PREFIX/share
unix:configfiles.extra = lrelease -silent data/translations/wallch_el.ts -qm data/to_usr_share/wallch/translations/wallch_el.qm
INSTALLS += configfiles

include(src/tools/tools.pri)
include(src/gui/gui.pri)