diff options
author | Ken Moore <ken@pcbsd.org> | 2015-04-20 12:34:06 -0400 |
---|---|---|
committer | Ken Moore <ken@pcbsd.org> | 2015-04-20 12:34:06 -0400 |
commit | 5260eecf035a37e54eaceef2f7a45e8162400864 (patch) | |
tree | ab53cc05b31f19e06e89e3d2474886847c5d1aef /libLumina/libLumina.pro | |
parent | Remove the last libX11 usage in the sytem tray protocols. Move the damage ID ... (diff) | |
download | lumina-5260eecf035a37e54eaceef2f7a45e8162400864.tar.gz lumina-5260eecf035a37e54eaceef2f7a45e8162400864.tar.bz2 lumina-5260eecf035a37e54eaceef2f7a45e8162400864.zip |
Update th elibLumina.pro:
1)Require the xcb-damage library
2) Verify the existance of "lsb_release" before trying to use it (Linux/Debian distinction utility).
Diffstat (limited to 'libLumina/libLumina.pro')
-rw-r--r-- | libLumina/libLumina.pro | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/libLumina/libLumina.pro b/libLumina/libLumina.pro index 8da9598c..ef30bd20 100644 --- a/libLumina/libLumina.pro +++ b/libLumina/libLumina.pro @@ -43,7 +43,9 @@ SOURCES += LuminaXDG.cpp \ # LuminaOS support functions (or fall back to # generic one -LINUX_DISTRIBUTION = $$system(lsb_release -si) +exists(/bin/lsb_release){ + LINUX_DISTRIBUTION = $$system(lsb_release -si) +} equals(LINUX_DISTRIBUTION, "Debian"): { SOURCES += LuminaOS-Debian.cpp @@ -52,9 +54,10 @@ equals(LINUX_DISTRIBUTION, "Debian"): { } + INCLUDEPATH += $$PREFIX/include -LIBS += -lX11 -lXrender -lXcomposite -lxcb -lxcb-ewmh -lxcb-icccm -lxcb-image -lxcb-composite +LIBS += -lX11 -lXrender -lXcomposite -lxcb -lxcb-ewmh -lxcb-icccm -lxcb-image -lxcb-composite -lxcb-damage include.path=$$PREFIX/include/ include.files=LuminaXDG.h \ |