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 \
75 SOURCES += src/main.cpp \
76 src/searchlineedit.cpp \
80 src/videomimedata.cpp \
81 src/updatechecker.cpp \
82 src/networkaccess.cpp \
83 src/searchparams.cpp \
84 src/minisplitter.cpp \
85 src/loadingwidget.cpp \
86 src/videoareawidget.cpp \
87 src/autocomplete.cpp \
88 src/videodefinition.cpp \
91 src/globalshortcuts.cpp \
92 src/globalshortcutbackend.cpp \
93 src/downloadmanager.cpp \
94 src/downloaditem.cpp \
95 src/downloadview.cpp \
96 src/downloadmodel.cpp \
97 src/downloadlistview.cpp \
98 src/downloadsettings.cpp \
99 src/channelsuggest.cpp \
101 src/segmentedcontrol.cpp \
102 src/playlistview.cpp \
103 src/refinesearchwidget.cpp \
104 src/refinesearchbutton.cpp \
105 src/sidebarwidget.cpp \
112 src/playlistitemdelegate.cpp \
113 src/playlistmodel.cpp \
114 src/videosource.cpp \
116 src/ytstandardfeed.cpp \
117 src/standardfeedsview.cpp \
119 src/ytcategories.cpp \
120 src/ytfeedreader.cpp \
121 src/ytsuggester.cpp \
122 src/videosourcewidget.cpp \
123 src/regionsview.cpp \
124 src/ytsinglevideosource.cpp \
125 src/sidebarheader.cpp \
128 RESOURCES += resources.qrc
129 DESTDIR = build/target/
130 OBJECTS_DIR = build/obj/
134 # Tell Qt Linguist that we use UTF-8 strings in our sources
137 include(locale/locale.pri)
140 DISTFILES += CHANGES COPYING
142 INCLUDEPATH += /usr/include/phonon
144 HEADERS += src/gnomeglobalshortcutbackend.h
145 SOURCES += src/gnomeglobalshortcutbackend.cpp
146 isEmpty(PREFIX):PREFIX = /usr
147 BINDIR = $$PREFIX/bin
149 target.path = $$BINDIR
150 DATADIR = $$PREFIX/share
151 PKGDATADIR = $$DATADIR/minitube
152 DEFINES += DATADIR=\\\"$$DATADIR\\\" \
153 PKGDATADIR=\\\"$$PKGDATADIR\\\"
154 INSTALLS += translations \
165 translations.path = $$PKGDATADIR
166 translations.files += $$DESTDIR/locale
167 desktop.path = $$DATADIR/applications
168 desktop.files += minitube.desktop
169 iconsvg.path = $$DATADIR/icons/hicolor/scalable/apps
170 iconsvg.files += data/minitube.svg
171 icon16.path = $$DATADIR/icons/hicolor/16x16/apps
172 icon16.files += data/16x16/minitube.png
173 icon22.path = $$DATADIR/icons/hicolor/22x22/apps
174 icon22.files += data/22x22/minitube.png
175 icon32.path = $$DATADIR/icons/hicolor/32x32/apps
176 icon32.files += data/32x32/minitube.png
177 icon48.path = $$DATADIR/icons/hicolor/48x48/apps
178 icon48.files += data/48x48/minitube.png
179 icon64.path = $$DATADIR/icons/hicolor/64x64/apps
180 icon64.files += data/64x64/minitube.png
181 icon128.path = $$DATADIR/icons/hicolor/128x128/apps
182 icon128.files += data/128x128/minitube.png
183 icon256.path = $$DATADIR/icons/hicolor/256x256/apps
184 icon256.files += data/256x256/minitube.png
185 icon512.path = $$DATADIR/icons/hicolor/512x512/apps
186 icon512.files += data/512x512/minitube.png
188 mac|win32:include(local/local.pri)