forked from RazrFalcon/svgcleaner
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsvgcleaner.pro
70 lines (56 loc) · 2.05 KB
/
svgcleaner.pro
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
QT += core gui svg
TEMPLATE = app
unix:TARGET = svgcleaner-gui
windows:TARGET = SVGCleaner
SOURCES += src/main.cpp \
src/thumbwidget.cpp \
src/mainwindow.cpp \
src/cleanerthread.cpp \
src/someutils.cpp \
src/itemwidget.cpp \
src/aboutdialog.cpp \
src/lineedit.cpp \
src/wizarddialog.cpp \
src/iconswidget.cpp \
src/filefinder.cpp
HEADERS += src/thumbwidget.h \
src/mainwindow.h \
src/cleanerthread.h \
src/arguments.h \
src/someutils.h \
src/itemwidget.h \
src/aboutdialog.h \
src/lineedit.h \
src/wizarddialog.h \
src/iconswidget.h \
src/filefinder.h
FORMS += src/thumbwidget.ui \
src/mainwindow.ui \
src/aboutdialog.ui \
src/wizarddialog.ui
RESOURCES += icons/icons.qrc
CODECFORSRC = UTF-8
windows:RC_FILE = icons/icon.rc
include(translations/translations.pri)
unix { # // FIXME move to .pri
isEmpty (PREFIX):PREFIX = /usr
INSTALLS += target desktop logo script presets interface translations
desktop.path = $$PREFIX/share/applications
desktop.files += svgcleaner.desktop
logo.path = $$PREFIX/share/icons/hicolor/scalable/apps
logo.files += icons/svgcleaner.svg
interface.path = $$PREFIX/share/svgcleaner
interface.files += interface.xml
presets.path = $$PREFIX/share/svgcleaner/presets
presets.files += presets/Soft.preset \
presets/Normal.preset \
presets/Optimal.preset
translations.path = $$PREFIX/share/svgcleaner/translations
translations.files += svgcleaner_cs.qm \
svgcleaner_ru.qm \
svgcleaner_uk.qm \
svgcleaner_de.qm
script.path = $$PREFIX/bin
script.files += svgcleaner.pl
target.path = $$PREFIX/bin
}