diff options
author | Ken Moore <moorekou@gmail.com> | 2020-04-03 14:12:39 -0400 |
---|---|---|
committer | Ken Moore <moorekou@gmail.com> | 2020-04-03 14:12:39 -0400 |
commit | 31cf03a30e41b695375cf14d1bbd05e157f0b502 (patch) | |
tree | d0432df6ca78554c73a8441e2442e4dd95772744 /src-qt5/OS-detect.pri | |
parent | Get the window transparency and ring animation finished up. (diff) | |
download | lumina-31cf03a30e41b695375cf14d1bbd05e157f0b502.tar.gz lumina-31cf03a30e41b695375cf14d1bbd05e157f0b502.tar.bz2 lumina-31cf03a30e41b695375cf14d1bbd05e157f0b502.zip |
Get lumina-pingcursor integrated into the core package.
Also fix a couple random errors. Adjust the default "PREFIX" to /usr for all Linux distros for instance.
Diffstat (limited to 'src-qt5/OS-detect.pri')
-rw-r--r-- | src-qt5/OS-detect.pri | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src-qt5/OS-detect.pri b/src-qt5/OS-detect.pri index 2214016d..b61a137e 100644 --- a/src-qt5/OS-detect.pri +++ b/src-qt5/OS-detect.pri @@ -30,8 +30,7 @@ isEmpty(OS){ QMAKE_LIBDIR = $${PWD}/core/libLumina $$[QT_INSTALL_LIBS] $$LIBPREFIX/qt5 $$LIBPREFIX #Setup the default values for build settings (if not explicitly set previously) - isEmpty(PREFIX){ PREFIX=/usr/local } - isEmpty(LIBPREFIX){ LIBPREFIX=$${PREFIX}/lib } + #message("General Settings: PREFIX=$${PREFIX}, LIBPREFIX=$${LIBPREFIX}") #Now go through and setup any known OS build settings # which are different from the defaults @@ -41,21 +40,25 @@ isEmpty(OS){ LIBS += -L/usr/local/lib -L/usr/lib }else : freebsd-*{ + isEmpty(PREFIX){ PREFIX=/usr/local } OS = FreeBSD LIBS += -L/usr/local/lib -L/usr/lib #Use the defaults for everything else }else : openbsd-*{ + isEmpty(PREFIX){ PREFIX=/usr/local } OS = OpenBSD LIBS += -L/usr/local/lib -L/usr/lib #Use the defaults for everything else }else : netbsd-*{ + isEmpty(PREFIX){ PREFIX=/usr/local } OS = NetBSD LIBS += -L/usr/local/lib -L/usr/lib #Use the defaults for everything else }else : linux-*{ + isEmpty(PREFIX){ PREFIX=/usr } L_SESSDIR=/usr/share/xsessions OS=Linux LIBS += -L/usr/local/lib -L/usr/lib -L/lib @@ -87,6 +90,7 @@ isEmpty(OS){ isEmpty(L_MANDIR){ L_MANDIR = $${PREFIX}/share/man } } }else{ + isEmpty(PREFIX){ PREFIX=/usr/local } OS="Unknown"; } @@ -96,6 +100,7 @@ isEmpty(OS){ # Setup the dirs needed to find/load libraries INCLUDEPATH +=$${PREFIX}/include + isEmpty(LIBPREFIX){ LIBPREFIX=$${PREFIX}/lib } # If the detailed install variables are not set - create them from the general vars isEmpty(L_BINDIR){ L_BINDIR = $${PREFIX}/bin } |