4 DEFINES += APP_VERSION="$$VERSION"
5 INCLUDEPATH += /usr/include/phonon
7 # TODO Saner string behaviour
8 # DEFINES += QT_NO_CAST_FROM_ASCII QT_NO_CAST_TO_ASCII QT_STRICT_ITERATORS
13 include(src/qtsingleapplication/qtsingleapplication.pri)
14 HEADERS += src/MainWindow.h \
20 src/youtubestreamreader.h \
22 src/searchlineedit.h \
26 src/iconloader/qticonloader.h \
27 src/faderwidget/FaderWidget.h \
29 src/playlist/PrettyItemDelegate.h \
34 src/playlistwidget.h \
38 src/videoareawidget.h \
41 src/videodefinition.h \
43 src/thlibrary/thblackbar.h \
44 src/globalshortcuts.h \
45 src/globalshortcutbackend.h \
46 src/downloadmanager.h \
50 src/downloadlistview.h \
51 src/downloadsettings.h
52 SOURCES += src/main.cpp \
57 src/youtubesearch.cpp \
58 src/youtubestreamreader.cpp \
59 src/searchlineedit.cpp \
63 src/iconloader/qticonloader.cpp \
64 src/faderwidget/FaderWidget.cpp \
66 src/playlist/PrettyItemDelegate.cpp \
67 src/videomimedata.cpp \
68 src/updatechecker.cpp \
69 src/networkaccess.cpp \
70 src/playlistwidget.cpp \
71 src/searchparams.cpp \
72 src/minisplitter.cpp \
73 src/loadingwidget.cpp \
74 src/videoareawidget.cpp \
75 src/googlesuggest.cpp \
77 src/videodefinition.cpp \
80 src/thlibrary/thblackbar.cpp \
81 src/globalshortcuts.cpp \
82 src/globalshortcutbackend.cpp \
83 src/downloadmanager.cpp \
84 src/downloaditem.cpp \
85 src/downloadview.cpp \
86 src/downloadmodel.cpp \
87 src/downloadlistview.cpp \
88 src/downloadsettings.cpp
89 RESOURCES += resources.qrc
90 DESTDIR = build/target/
91 OBJECTS_DIR = build/obj/
95 # Tell Qt Linguist that we use UTF-8 strings in our sources
98 include(locale/locale.pri)
101 DISTFILES += CHANGES \
105 HEADERS += src/gnomeglobalshortcutbackend.h
106 SOURCES += src/gnomeglobalshortcutbackend.cpp
107 isEmpty(PREFIX):PREFIX = /usr
108 BINDIR = $$PREFIX/bin
110 target.path = $$BINDIR
111 DATADIR = $$PREFIX/share
112 PKGDATADIR = $$DATADIR/minitube
113 DEFINES += DATADIR=\\\"$$DATADIR\\\" \
114 PKGDATADIR=\\\"$$PKGDATADIR\\\"
115 INSTALLS += translations \
126 translations.path = $$PKGDATADIR
127 translations.files += $$DESTDIR/locale
128 desktop.path = $$DATADIR/applications
129 desktop.files += minitube.desktop
130 iconsvg.path = $$DATADIR/icons/hicolor/scalable/apps
131 iconsvg.files += data/minitube.svg
132 icon16.path = $$DATADIR/icons/hicolor/16x16/apps
133 icon16.files += data/16x16/minitube.png
134 icon22.path = $$DATADIR/icons/hicolor/22x22/apps
135 icon22.files += data/22x22/minitube.png
136 icon32.path = $$DATADIR/icons/hicolor/32x32/apps
137 icon32.files += data/32x32/minitube.png
138 icon48.path = $$DATADIR/icons/hicolor/48x48/apps
139 icon48.files += data/48x48/minitube.png
140 icon64.path = $$DATADIR/icons/hicolor/64x64/apps
141 icon64.files += data/64x64/minitube.png
142 icon128.path = $$DATADIR/icons/hicolor/128x128/apps
143 icon128.files += data/128x128/minitube.png
144 icon256.path = $$DATADIR/icons/hicolor/256x256/apps
145 icon256.files += data/256x256/minitube.png
146 icon256.path = $$DATADIR/icons/hicolor/512x512/apps
147 icon256.files += data/256x256/minitube.png
148 icon512.path = $$DATADIR/icons/hicolor/512x512/apps
149 icon512.files += data/512x512/minitube.png
151 mac|win32:include(local/local.pri)