QT += core network greaterThan(QT_MAJOR_VERSION, 4): QT += widgets x11extras multimedia TARGET=LuminaUtils isEmpty(PREFIX) { PREFIX = /usr/local } system(./make-global-h.sh $$PREFIX) isEmpty(LIBPREFIX) { LIBPREFIX = $$PREFIX/lib } target.path = $$LIBPREFIX DESTDIR= $$_PRO_FILE_PWD_/ TEMPLATE = lib LANGUAGE = C++ VERSION = 1 HEADERS += LuminaXDG.h \ LuminaUtils.h \ LuminaX11.h \ LuminaThemes.h \ LuminaOS.h \ LuminaSingleApplication.h SOURCES += LuminaXDG.cpp \ LuminaUtils.cpp \ LuminaX11.cpp \ LuminaThemes.cpp \ LuminaSingleApplication.cpp \ LuminaOS-FreeBSD.cpp \ LuminaOS-DragonFly.cpp \ LuminaOS-OpenBSD.cpp \ LuminaOS-Linux.cpp \ LuminaOS-kFreeBSD.cpp # new OS support can be added here INCLUDEPATH += $$PREFIX/include LIBS += -lX11 -lXrender -lXcomposite -lxcb -lxcb-ewmh -lxcb-icccm -lxcb-image -lxcb-composite include.path=$$PREFIX/include/ include.files=LuminaXDG.h \ LuminaUtils.h \ LuminaX11.h \ LuminaThemes.h \ LuminaOS.h \ LuminaSingleApplication.h colors.path=$$PREFIX/share/Lumina-DE/colors/ colors.files=colors/Lumina-Red.qss.colors \ colors/Lumina-Green.qss.colors \ colors/Lumina-Purple.qss.colors \ colors/Lumina-Gold.qss.colors \ colors/Lumina-Glass.qss.colors \ colors/PCBSD10-Default.qss.colors themes.path=$$PREFIX/share/Lumina-DE/themes/ themes.files=themes/Lumina-default.qss.template \ themes/None.qss.template INSTALLS += target include colors themes QMAKE_LIBDIR = $$LIBPREFIX/qt5 $$LIBPREFIX