4 DEFINES += APP_VERSION="$$VERSION"
7 DEFINES += APP_NAME="$$APP_NAME"
9 APP_UNIX_NAME = minitube
10 DEFINES += APP_UNIX_NAME="$$APP_UNIX_NAME"
12 DEFINES += QT_USE_FAST_CONCATENATION
13 DEFINES += QT_USE_FAST_OPERATOR_PLUS
14 DEFINES += QT_STRICT_ITERATORS
17 QT += network xml phonon
18 include(src/qtsingleapplication/qtsingleapplication.pri)
21 src/searchlineedit.h \
25 src/playlistitemdelegate.h \
33 src/videoareawidget.h \
35 src/videodefinition.h \
37 src/globalshortcuts.h \
38 src/globalshortcutbackend.h \
39 src/downloadmanager.h \
43 src/downloadlistview.h \
44 src/downloadsettings.h \
46 src/channelsuggest.h \
48 src/segmentedcontrol.h \
50 src/refinesearchwidget.h \
51 src/refinesearchbutton.h \
63 src/ytstandardfeed.h \
64 src/standardfeedsview.h \
69 src/videosourcewidget.h \
71 src/ytsinglevideosource.h \
74 SOURCES += src/main.cpp \
75 src/searchlineedit.cpp \
79 src/videomimedata.cpp \
80 src/updatechecker.cpp \
81 src/networkaccess.cpp \
82 src/searchparams.cpp \
83 src/minisplitter.cpp \
84 src/loadingwidget.cpp \
85 src/videoareawidget.cpp \
86 src/autocomplete.cpp \
87 src/videodefinition.cpp \
90 src/globalshortcuts.cpp \
91 src/globalshortcutbackend.cpp \
92 src/downloadmanager.cpp \
93 src/downloaditem.cpp \
94 src/downloadview.cpp \
95 src/downloadmodel.cpp \
96 src/downloadlistview.cpp \
97 src/downloadsettings.cpp \
98 src/channelsuggest.cpp \
100 src/segmentedcontrol.cpp \
101 src/playlistview.cpp \
102 src/refinesearchwidget.cpp \
103 src/refinesearchbutton.cpp \
104 src/sidebarwidget.cpp \
111 src/playlistitemdelegate.cpp \
112 src/playlistmodel.cpp \
113 src/videosource.cpp \
115 src/ytstandardfeed.cpp \
116 src/standardfeedsview.cpp \
118 src/ytcategories.cpp \
119 src/ytfeedreader.cpp \
120 src/ytsuggester.cpp \
121 src/videosourcewidget.cpp \
122 src/regionsview.cpp \
123 src/ytsinglevideosource.cpp \
124 src/sidebarheader.cpp \
126 RESOURCES += resources.qrc
127 DESTDIR = build/target/
128 OBJECTS_DIR = build/obj/
132 # Tell Qt Linguist that we use UTF-8 strings in our sources
135 include(locale/locale.pri)
138 DISTFILES += CHANGES COPYING
140 INCLUDEPATH += /usr/include/phonon
142 HEADERS += src/gnomeglobalshortcutbackend.h
143 SOURCES += src/gnomeglobalshortcutbackend.cpp
144 isEmpty(PREFIX):PREFIX = /usr
145 BINDIR = $$PREFIX/bin
147 target.path = $$BINDIR
148 DATADIR = $$PREFIX/share
149 PKGDATADIR = $$DATADIR/minitube
150 DEFINES += DATADIR=\\\"$$DATADIR\\\" \
151 PKGDATADIR=\\\"$$PKGDATADIR\\\"
152 INSTALLS += translations \
163 translations.path = $$PKGDATADIR
164 translations.files += $$DESTDIR/locale
165 desktop.path = $$DATADIR/applications
166 desktop.files += minitube.desktop
167 iconsvg.path = $$DATADIR/icons/hicolor/scalable/apps
168 iconsvg.files += data/minitube.svg
169 icon16.path = $$DATADIR/icons/hicolor/16x16/apps
170 icon16.files += data/16x16/minitube.png
171 icon22.path = $$DATADIR/icons/hicolor/22x22/apps
172 icon22.files += data/22x22/minitube.png
173 icon32.path = $$DATADIR/icons/hicolor/32x32/apps
174 icon32.files += data/32x32/minitube.png
175 icon48.path = $$DATADIR/icons/hicolor/48x48/apps
176 icon48.files += data/48x48/minitube.png
177 icon64.path = $$DATADIR/icons/hicolor/64x64/apps
178 icon64.files += data/64x64/minitube.png
179 icon128.path = $$DATADIR/icons/hicolor/128x128/apps
180 icon128.files += data/128x128/minitube.png
181 icon256.path = $$DATADIR/icons/hicolor/256x256/apps
182 icon256.files += data/256x256/minitube.png
183 icon512.path = $$DATADIR/icons/hicolor/512x512/apps
184 icon512.files += data/512x512/minitube.png
186 mac|win32:include(local/local.pri)