This repository has been archived by the owner on Oct 4, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 43
/
phototonic.pro
90 lines (72 loc) · 3.3 KB
/
phototonic.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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
#
# Copyright (C) 2013-2018 Ofer Kashayov <[email protected]>
# This file is part of Phototonic Image Viewer.
#
# Phototonic is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# Phototonic is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with Phototonic. If not, see <http://www.gnu.org/licenses/>.
#
TEMPLATE = app
TARGET = phototonic
INCLUDEPATH += .
INCLUDEPATH += /usr/local/include
win32-g++ {
MINGWEXIVPATH = $$PWD/mingw
LIBS += -L$$MINGWEXIVPATH/lib/ -lexiv2 -lexpat -lz
INCLUDEPATH += $$MINGWEXIVPATH/include
DEPENDPATH += $$MINGWEXIVPATH/include
PRE_TARGETDEPS += $$MINGWEXIVPATH/lib/libexiv2.a $$MINGWEXIVPATH/lib/libexpat.a $$MINGWEXIVPATH/lib/libz.a
}
else: LIBS += -L/usr/local/lib -lexiv2
QT += widgets
QMAKE_CXXFLAGS += $$(CXXFLAGS)
QMAKE_CFLAGS += $$(CFLAGS)
QMAKE_LFLAGS += $$(LDFLAGS)
CONFIG += c++11
# Let's get some basic optimization from the compiler, it's the safe ones by default
CONFIG += optimize
HEADERS += Phototonic.h ThumbsViewer.h ImageViewer.h CropRubberband.h SettingsDialog.h Settings.h InfoViewer.h \
FileSystemTree.h Bookmarks.h DirCompleter.h Tags.h MetadataCache.h ShortcutsTable.h CopyMoveDialog.h \
CopyMoveToDialog.h CropDialog.h ProgressDialog.h ColorsDialog.h ResizeDialog.h ExternalAppsDialog.h \
ImagePreview.h ImageWidget.h FileSystemModel.h FileListWidget.h RenameDialog.h Trashcan.h MessageBox.h \
GuideWidget.h RangeInputDialog.h SmartCrop.h
SOURCES += main.cpp Phototonic.cpp ThumbsViewer.cpp ImageViewer.cpp CropRubberband.cpp SettingsDialog.cpp \
Settings.cpp InfoViewer.cpp FileSystemTree.cpp Bookmarks.cpp DirCompleter.cpp Tags.cpp \
MetadataCache.cpp ShortcutsTable.cpp CopyMoveDialog.cpp CopyMoveToDialog.cpp CropDialog.cpp \
ProgressDialog.cpp ExternalAppsDialog.cpp ColorsDialog.cpp ResizeDialog.cpp ImagePreview.cpp \
ImageWidget.cpp FileSystemModel.cpp FileListWidget.cpp RenameDialog.cpp Trashcan.cpp MessageBox.cpp \
GuideWidget.cpp RangeInputDialog.cpp IconProvider.cpp SmartCrop.cpp
FORMS += RangeInputDialog.ui
RESOURCES += phototonic.qrc
target.path = /usr/bin/
icon.files = images/phototonic.png
icon.path = /usr/share/icons/hicolor/48x48/apps
icon16.files = images/icon16/phototonic.png
icon16.path = /usr/share/icons/hicolor/16x16/apps
iconPixmaps.files = images/icon16/phototonic.png
iconPixmaps.path = /usr/share/pixmaps
desktop.files = phototonic.desktop
desktop.path = /usr/share/applications
metainfo.files = phototonic.appdata.xml
metainfo.path = /usr/share/metainfo
INSTALLS += target icon icon16 iconPixmaps desktop metainfo
TRANSLATIONS = translations/phototonic_en.ts \
translations/phototonic_pl.ts \
translations/phototonic_de.ts \
translations/phototonic_ru.ts \
translations/phototonic_cs.ts \
translations/phototonic_fr.ts \
translations/phototonic_bs.ts \
translations/phototonic_hr.ts \
translations/phototonic_sr.ts \
translations/phototonic_pt.ts \
translations/phototonic_zh.ts