37 lines
1.1 KiB
Prolog
37 lines
1.1 KiB
Prolog
include(../config.pri)
|
|
include(../gui/defines.pri)
|
|
|
|
TARGET = qcma_appindicator
|
|
TEMPLATE = lib
|
|
CONFIG += plugin link_pkgconfig
|
|
DEFINES += QCMA_TRAYINDICATOR_LIBRARY
|
|
QT += gui widgets
|
|
|
|
QT_CONFIG -= no-pkg-config
|
|
|
|
PKGCONFIG = appindicator-0.1 libnotify
|
|
|
|
SOURCES += \
|
|
unityindicator.cpp
|
|
|
|
HEADERS += \
|
|
trayindicator.h \
|
|
unityindicator.h
|
|
|
|
CXXFLAGS_WARNINGS = -Wall -Wextra -Wshadow -Wcast-align -Wctor-dtor-privacy \
|
|
-Wdisabled-optimization -Wformat=2 -Winit-self -Wmissing-declarations \
|
|
-Wmissing-include-dirs -Woverloaded-virtual -Wredundant-decls \
|
|
-Wstrict-overflow=5 -Wundef -Wno-unused -Wno-missing-field-initializers \
|
|
-Wno-format-nonliteral
|
|
|
|
QMAKE_CXXFLAGS += -Wno-write-strings -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS $$CXXFLAGS_WARNINGS
|
|
|
|
DATADIR = $$PREFIX/share
|
|
|
|
actions64.path = $$DATADIR/icons/hicolor/64x64/actions
|
|
actions64.files += ../gui/resources/images/qcma_on.png
|
|
actions64.files += ../gui/resources/images/qcma_off.png
|
|
|
|
target.path = /usr/lib/qcma
|
|
INSTALLS += target actions64
|