1 INCLUDEPATH += /usr/include/phonon
5 # TODO Saner string behaviour
6 # DEFINES += QT_NO_CAST_FROM_ASCII QT_NO_CAST_TO_ASCII QT_STRICT_ITERATORS
10 QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.4
15 include(src/qtsingleapplication/qtsingleapplication.pri)
16 include(src/thlibrary/thlibrary.pri)
17 HEADERS += src/MainWindow.h \
23 src/youtubestreamreader.h \
25 src/searchlineedit.h \
29 src/iconloader/qticonloader.h \
30 src/faderwidget/FaderWidget.h \
32 src/playlist/PrettyItemDelegate.h \
37 src/playlistwidget.h \
41 src/videoareawidget.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
73 RESOURCES += resources.qrc
74 DESTDIR = build/target/
75 OBJECTS_DIR = build/obj/
79 # Tell Qt Linguist that we use UTF-8 strings in our sources
82 include(locale/locale.pri)
85 DISTFILES += CHANGES \
90 QMAKE_INFO_PLIST = Info.plist
94 isEmpty(PREFIX):PREFIX = /usr
97 target.path = $$BINDIR
98 DATADIR = $$PREFIX/share
99 PKGDATADIR = $$DATADIR/minitube
100 DEFINES += DATADIR=\\\"$$DATADIR\\\" \
101 PKGDATADIR=\\\"$$PKGDATADIR\\\"
102 INSTALLS += translations \
111 translations.path = $$PKGDATADIR
112 translations.files += $$DESTDIR/locale
113 desktop.path = $$DATADIR/applications
114 desktop.files += minitube.desktop
115 iconsvg.path = $$DATADIR/icons/hicolor/scalable/apps
116 iconsvg.files += data/minitube.svg
117 icon16.path = $$DATADIR/icons/hicolor/16x16/apps
118 icon16.files += data/16x16/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
130 win32:RC_FILE = minitube.rc