aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/core/libLumina/libLumina.pro
diff options
context:
space:
mode:
authorKen Moore <moorekou@gmail.com>2016-04-25 13:08:12 -0400
committerKen Moore <moorekou@gmail.com>2016-04-25 13:08:12 -0400
commited5ecf7ea7a482b4649e66ecb35fbc60af680684 (patch)
treeacc0fa17d228259e847f55c678db9fb0a9b50f0c /src-qt5/core/libLumina/libLumina.pro
parentMerge branch 'master' of github.com:pcbsd/lumina (diff)
downloadlumina-ed5ecf7ea7a482b4649e66ecb35fbc60af680684.tar.gz
lumina-ed5ecf7ea7a482b4649e66ecb35fbc60af680684.tar.bz2
lumina-ed5ecf7ea7a482b4649e66ecb35fbc60af680684.zip
Rearrange the Lumina source tree quite a bit:
Now the utilites are arranged by category (core, core-utils, desktop-utils), so all the -utils may be excluded by a package system (or turned into separate packages) as needed.
Diffstat (limited to 'src-qt5/core/libLumina/libLumina.pro')
-rw-r--r--src-qt5/core/libLumina/libLumina.pro65
1 files changed, 65 insertions, 0 deletions
diff --git a/src-qt5/core/libLumina/libLumina.pro b/src-qt5/core/libLumina/libLumina.pro
new file mode 100644
index 00000000..63c56824
--- /dev/null
+++ b/src-qt5/core/libLumina/libLumina.pro
@@ -0,0 +1,65 @@
+include("$${PWD}/../../OS-detect.pri")
+
+QT += core network widgets x11extras multimedia concurrent svg
+
+define
+#Setup any special defines (qmake -> C++)
+GIT_VERSION=$$system(git describe --always)
+!isEmpty(GIT_VERSION){
+ DEFINES += GIT_VERSION='"\\\"$${GIT_VERSION}\\\""'
+}
+DEFINES += BUILD_DATE='"\\\"$$system(date)\\\""'
+
+TARGET=LuminaUtils
+
+target.path = $${L_LIBDIR}
+
+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
+
+# Also load the OS template as available for
+# LuminaOS support functions (or fall back to generic one)
+exists($${PWD}/LuminaOS-$${LINUX_DISTRO}.cpp){
+ SOURCES += LuminaOS-$${LINUX_DISTRO}.cpp
+}else:exists($${PWD}/LuminaOS-$${OS}.cpp){
+ SOURCES += LuminaOS-$${OS}.cpp
+}else{
+ SOURCES += LuminaOS-template.cpp
+}
+
+LIBS += -lc -lxcb -lxcb-ewmh -lxcb-icccm -lxcb-image -lxcb-composite -lxcb-damage -lxcb-util -lXdamage
+
+include.path=$${L_INCLUDEDIR}
+include.files=LuminaXDG.h \
+ LuminaUtils.h \
+ LuminaX11.h \
+ LuminaThemes.h \
+ LuminaOS.h \
+ LuminaSingleApplication.h
+
+colors.path=$${L_SHAREDIR}/Lumina-DE/colors
+colors.files=colors/*.qss.colors
+
+themes.path=$${L_SHAREDIR}/Lumina-DE/themes/
+themes.files=themes/*.qss.template
+
+#quickplugins.path=$${L_SHAREDIR}/Lumina-DE/quickplugins/
+#quickplugins.files=quickplugins/*
+
+INSTALLS += target include colors themes
bgstack15