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
14 include(src/qtsingleapplication/qtsingleapplication.pri)
15 include(src/thlibrary/thlibrary.pri)
16 HEADERS += src/MainWindow.h \
22 src/youtubestreamreader.h \
24 src/searchlineedit.h \
28 src/iconloader/qticonloader.h \
29 src/faderwidget/FaderWidget.h \
31 src/playlist/PrettyItemDelegate.h \
36 src/playlistwidget.h \
40 src/videoareawidget.h \
44 src/videodefinition.h \
46 SOURCES += src/main.cpp \
51 src/youtubesearch.cpp \
52 src/youtubestreamreader.cpp \
53 src/searchlineedit.cpp \
57 src/iconloader/qticonloader.cpp \
58 src/faderwidget/FaderWidget.cpp \
60 src/playlist/PrettyItemDelegate.cpp \
61 src/videomimedata.cpp \
62 src/updatechecker.cpp \
63 src/networkaccess.cpp \
64 src/playlistwidget.cpp \
65 src/searchparams.cpp \
66 src/minisplitter.cpp \
67 src/loadingwidget.cpp \
68 src/videoareawidget.cpp \
69 src/googlesuggest.cpp \
72 src/videodefinition.cpp \
75 RESOURCES += resources.qrc
76 DESTDIR = build/target/
77 OBJECTS_DIR = build/obj/
81 # Tell Qt Linguist that we use UTF-8 strings in our sources
84 include(locale/locale.pri)
87 DISTFILES += CHANGES \
90 isEmpty(PREFIX):PREFIX = /usr
93 target.path = $$BINDIR
94 DATADIR = $$PREFIX/share
95 PKGDATADIR = $$DATADIR/minitube
96 DEFINES += DATADIR=\\\"$$DATADIR\\\" \
97 PKGDATADIR=\\\"$$PKGDATADIR\\\"
98 INSTALLS += translations \
109 translations.path = $$PKGDATADIR
110 translations.files += $$DESTDIR/locale
111 desktop.path = $$DATADIR/applications
112 desktop.files += minitube.desktop
113 iconsvg.path = $$DATADIR/icons/hicolor/scalable/apps
114 iconsvg.files += data/minitube.svg
115 icon16.path = $$DATADIR/icons/hicolor/16x16/apps
116 icon16.files += data/16x16/minitube.png
117 icon22.path = $$DATADIR/icons/hicolor/22x22/apps
118 icon22.files += data/22x22/minitube.png
119 icon32.path = $$DATADIR/icons/hicolor/32x32/apps
120 icon32.files += data/32x32/minitube.png
121 icon48.path = $$DATADIR/icons/hicolor/48x48/apps
122 icon48.files += data/48x48/minitube.png
123 icon64.path = $$DATADIR/icons/hicolor/64x64/apps
124 icon64.files += data/64x64/minitube.png
125 icon128.path = $$DATADIR/icons/hicolor/128x128/apps
126 icon128.files += data/128x128/minitube.png
127 icon256.path = $$DATADIR/icons/hicolor/256x256/apps
128 icon256.files += data/256x256/minitube.png
129 icon256.path = $$DATADIR/icons/hicolor/512x512/apps
130 icon256.files += data/256x256/minitube.png
131 icon512.path = $$DATADIR/icons/hicolor/512x512/apps
132 icon512.files += data/512x512/minitube.png
134 mac|win32:include(local/local.pri)