diff options
author | Ken Moore <moorekou@gmail.com> | 2015-04-20 09:17:31 -0400 |
---|---|---|
committer | Ken Moore <moorekou@gmail.com> | 2015-04-20 09:17:31 -0400 |
commit | d0344b77cbac2fa23535c1b50e176c758b33d249 (patch) | |
tree | 6d9b4a1e45d977b9556d39e2e47fb4dfb41eaf7a /libLumina | |
parent | Clean up the new suspend support in Lumina, and add it to the system "log out... (diff) | |
parent | auto-detect Debian vs. non-Debian Linux distribution (diff) | |
download | lumina-d0344b77cbac2fa23535c1b50e176c758b33d249.tar.gz lumina-d0344b77cbac2fa23535c1b50e176c758b33d249.tar.bz2 lumina-d0344b77cbac2fa23535c1b50e176c758b33d249.zip |
Merge pull request #88 from Nanolx/master
Debian: runtime dependencies
Diffstat (limited to 'libLumina')
-rw-r--r-- | libLumina/libLumina.pro | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/libLumina/libLumina.pro b/libLumina/libLumina.pro index 1b78367a..8da9598c 100644 --- a/libLumina/libLumina.pro +++ b/libLumina/libLumina.pro @@ -36,10 +36,22 @@ SOURCES += LuminaXDG.cpp \ LuminaOS-FreeBSD.cpp \ LuminaOS-DragonFly.cpp \ LuminaOS-OpenBSD.cpp \ - LuminaOS-Linux.cpp \ LuminaOS-kFreeBSD.cpp # new OS support can be added here +# check linux distribution and use specific +# LuminaOS support functions (or fall back to +# generic one + +LINUX_DISTRIBUTION = $$system(lsb_release -si) + +equals(LINUX_DISTRIBUTION, "Debian"): { + SOURCES += LuminaOS-Debian.cpp +} else { + SOURCES += LuminaOS-Linux.cpp +} + + INCLUDEPATH += $$PREFIX/include LIBS += -lX11 -lXrender -lXcomposite -lxcb -lxcb-ewmh -lxcb-icccm -lxcb-image -lxcb-composite |