aboutsummaryrefslogtreecommitdiff
path: root/lumina-desktop
diff options
context:
space:
mode:
authorKen Moore <ken@pcbsd.org>2015-01-03 08:32:54 -0500
committerKen Moore <ken@pcbsd.org>2015-01-03 08:32:54 -0500
commit4d7afcb227992d8fb7f93e65aee21acf266cd179 (patch)
tree91f69dbf93fdfa5904cdbeec93324e707e7103ff /lumina-desktop
parentMake sure to adjust the lumina-[fm/config] main.cpp to account for the new Lu... (diff)
downloadlumina-4d7afcb227992d8fb7f93e65aee21acf266cd179.tar.gz
lumina-4d7afcb227992d8fb7f93e65aee21acf266cd179.tar.bz2
lumina-4d7afcb227992d8fb7f93e65aee21acf266cd179.zip
Add support for the LIBPREFIX qmake variable for all the project files. This allows a user to run qmake LIBPREFIX="something" PREFIX="something" to ensure that libraries are found in the proper location.
Diffstat (limited to 'lumina-desktop')
-rw-r--r--lumina-desktop/lumina-desktop.pro9
1 files changed, 7 insertions, 2 deletions
diff --git a/lumina-desktop/lumina-desktop.pro b/lumina-desktop/lumina-desktop.pro
index 4b232de2..5258eca3 100644
--- a/lumina-desktop/lumina-desktop.pro
+++ b/lumina-desktop/lumina-desktop.pro
@@ -8,16 +8,21 @@ isEmpty(PREFIX) {
}
target.path = $$PREFIX/bin
-LIBS += -L../libLumina -L$$PREFIX/lib -lLuminaUtils -lXdamage -lX11 -lxcb -lxcb-damage
+isEmpty(LIBPREFIX) {
+ LIBPREFIX = $$PREFIX/lib
+}
+
+LIBS += -L../libLumina -L$$LIBPREFIX -lLuminaUtils -lXdamage -lX11 -lxcb -lxcb-damage
QMAKE_LIBDIR = ../libLumina
DEPENDPATH += ../libLumina
TEMPLATE = app
-LRELEASE = $$PREFIX/lib/qt5/bin/lrelease
+LRELEASE = $$LIBPREFIX/qt5/bin/lrelease
SOURCES += main.cpp \
WMProcess.cpp \
+ LXcbEventFilter.cpp \
LSession.cpp \
LDesktop.cpp \
LPanel.cpp \
bgstack15