aboutsummaryrefslogtreecommitdiff
path: root/lumina-screenshot/lumina-screenshot.pro
blob: 1681a12b144d69840ac97e66485dbeb18f7de61b (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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104

QT       += core gui

TARGET = lumina-screenshot
isEmpty(PREFIX) {
 PREFIX = /usr/local
}
target.path = $$PREFIX/bin

TEMPLATE = app

SOURCES += main.cpp \
		MainUI.cpp

HEADERS  += MainUI.h

FORMS    += MainUI.ui

INCLUDEPATH += ../libLumina $$PREFIX/include

  LIBS     += -L../libLumina -lLuminaUtils
freebsd-* {
  LIBS     += -lQtSolutions_SingleApplication-head
}

openbsd-g++4 {
  LRELEASE = lrelease4
} else {
  LRELEASE = lrelease-qt4
}

QMAKE_LIBDIR	= ../libLumina
DEPENDPATH	+= ../libLumina

TRANSLATIONS =  i18n/lumina-screenshot_af.ts \
                i18n/lumina-screenshot_ar.ts \
                i18n/lumina-screenshot_az.ts \
                i18n/lumina-screenshot_bg.ts \
                i18n/lumina-screenshot_bn.ts \
                i18n/lumina-screenshot_bs.ts \
                i18n/lumina-screenshot_ca.ts \
                i18n/lumina-screenshot_cs.ts \
                i18n/lumina-screenshot_cy.ts \
                i18n/lumina-screenshot_da.ts \
                i18n/lumina-screenshot_de.ts \
                i18n/lumina-screenshot_el.ts \
                i18n/lumina-screenshot_en_GB.ts \
                i18n/lumina-screenshot_en_ZA.ts \
                i18n/lumina-screenshot_es.ts \
                i18n/lumina-screenshot_et.ts \
                i18n/lumina-screenshot_eu.ts \
                i18n/lumina-screenshot_fa.ts \
                i18n/lumina-screenshot_fi.ts \
                i18n/lumina-screenshot_fr.ts \
                i18n/lumina-screenshot_fr_CA.ts \
                i18n/lumina-screenshot_gl.ts \
                i18n/lumina-screenshot_he.ts \
                i18n/lumina-screenshot_hi.ts \
                i18n/lumina-screenshot_hr.ts \
                i18n/lumina-screenshot_hu.ts \
                i18n/lumina-screenshot_id.ts \
                i18n/lumina-screenshot_is.ts \
                i18n/lumina-screenshot_it.ts \
                i18n/lumina-screenshot_ja.ts \
                i18n/lumina-screenshot_ka.ts \
                i18n/lumina-screenshot_ko.ts \
                i18n/lumina-screenshot_lt.ts \
                i18n/lumina-screenshot_lv.ts \
                i18n/lumina-screenshot_mk.ts \
                i18n/lumina-screenshot_mn.ts \
                i18n/lumina-screenshot_ms.ts \
                i18n/lumina-screenshot_mt.ts \
                i18n/lumina-screenshot_nb.ts \
                i18n/lumina-screenshot_nl.ts \
                i18n/lumina-screenshot_pa.ts \
                i18n/lumina-screenshot_pl.ts \
                i18n/lumina-screenshot_pt.ts \
                i18n/lumina-screenshot_pt_BR.ts \
                i18n/lumina-screenshot_ro.ts \
                i18n/lumina-screenshot_ru.ts \
                i18n/lumina-screenshot_sk.ts \
                i18n/lumina-screenshot_sl.ts \
                i18n/lumina-screenshot_sr.ts \
                i18n/lumina-screenshot_sv.ts \
                i18n/lumina-screenshot_sw.ts \
                i18n/lumina-screenshot_ta.ts \
                i18n/lumina-screenshot_tg.ts \
                i18n/lumina-screenshot_th.ts \
                i18n/lumina-screenshot_tr.ts \
                i18n/lumina-screenshot_uk.ts \
                i18n/lumina-screenshot_uz.ts \
                i18n/lumina-screenshot_vi.ts \
                i18n/lumina-screenshot_zh_CN.ts \
                i18n/lumina-screenshot_zh_HK.ts \
                i18n/lumina-screenshot_zh_TW.ts \
                i18n/lumina-screenshot_zu.ts

dotrans.path=$$PREFIX/share/Lumina-DE/i18n/
dotrans.extra=cd i18n && $${LRELEASE} -nounfinished *.ts && cp *.qm $(INSTALL_ROOT)$$PREFIX/share/Lumina-DE/i18n/

desktop.files=lumina-screenshot.desktop
desktop.path=$$PREFIX/share/applications/

INSTALLS += target dotrans desktop
bgstack15