-
Notifications
You must be signed in to change notification settings - Fork 0
/
elokab-polkit.pro
executable file
·62 lines (48 loc) · 1.57 KB
/
elokab-polkit.pro
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
QT += core gui dbus
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
CONFIG += qt \
release
TARGET = elokab-polkit-agent
DESTDIR = usr/bin
TEMPLATE = app
OBJECTS_DIR = build
MOC_DIR = build
UI_DIR = build
INCLUDEPATH +=build
INCLUDEPATH +=user
#isEmpty(LIBPOLKIT_QT) {
# LIBPOLKIT_QT = LIBPOLKIT_QT_1_0
#}
DEFINES +=$${LIBPOLKIT_QT}
equals(QT_MAJOR_VERSION, 4) {
LIBS += $(SUBLIBS) -lpolkit-qt-agent-1 -lpolkit-qt-core-1
}
equals(QT_MAJOR_VERSION, 5) {
LIBS += $(SUBLIBS) -lpolkit-qt5-agent-1 -lpolkit-qt5-core-1
}
#QMAKE_INCDIR += $$PWD/../library $$PWD/../library/include
HEADERS += \
dialogagent.h \
authenticationagent.h \
notificationutill.h
SOURCES += \
main.cpp \
dialogagent.cpp \
authenticationagent.cpp
FORMS += \
dialogagent.ui
TRANSLATIONS =../usr/share/elokab/translations/ar/elokab-polkit-agent.ts\
../usr/share/elokab/translations/fr/elokab-polkit-agent.ts\
../usr/share/elokab/translations/en/elokab-polkit-agent.ts\
target.path = /usr/bin
INSTALLS += target
linux-g++*: {
# Provide relative path from application to elokab librarys
# ex:app=usr/bin/elokab-applications library=usr/lib/libelokabmimicon.so
QMAKE_LFLAGS += -Wl,--rpath=\\\$\$ORIGIN/../lib
}
DISTFILES += \
usr/share/elokab/translations/ar/elokab-polkit-agent.qm \
usr/share/elokab/translations/ar/elokab-polkit-agent.ts \
usr/share/elokab/translations/en/elokab-polkit-agent.ts \
usr/share/elokab/translations/fr/elokab-polkit-agent.ts