aboutsummaryrefslogtreecommitdiff
path: root/libLumina/libLumina.pro
blob: 97ebb799156176f2ec828c2c50a7f3f4a503efe4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59

QT       += core

TARGET=LuminaUtils

isEmpty(PREFIX) {
 PREFIX = /usr/local
}

system(./make-global-h.sh $$PREFIX)

isEmpty(LIBPREFIX) {
 LIBPREFIX = $$PREFIX/lib
}
target.path = $$LIBPREFIX

DESTDIR= $$_PRO_FILE_PWD_/

TEMPLATE	= lib
LANGUAGE	= C++
VERSION		= 1

HEADERS	+= LuminaXDG.h \
	LuminaUtils.h \
	LuminaX11.h \
	LuminaThemes.h \
	LuminaOS.h

SOURCES	+= LuminaXDG.cpp \
	LuminaUtils.cpp \
	LuminaX11.cpp \
	LuminaThemes.cpp \
	LuminaOS-FreeBSD.cpp \
	LuminaOS-DragonFly.cpp \
	LuminaOS-OpenBSD.cpp \
	LuminaOS-Linux.cpp \
        LuminaOS-kFreeBSD.cpp
#       new OS support can be added here

INCLUDEPATH += $$PREFIX/include

LIBS	+= -lX11 -lXrender -lXcomposite

include.path=$$PREFIX/include/
include.files=LuminaXDG.h \
	LuminaUtils.h \
	LuminaX11.h \
	LuminaThemes.h \
	LuminaOS.h

colors.path=$$PREFIX/share/Lumina-DE/colors/
colors.files=colors/SampleColors.qss.colors

themes.path=$$PREFIX/share/Lumina-DE/themes/
themes.files=themes/SampleTheme.qss.template

INSTALLS += target include colors themes

QMAKE_LIBDIR = $$LIBPREFIX/qt4 $$LIBPREFIX
bgstack15