1 # On some distro, Phonon headers cannot be found
2 INCLUDEPATH += /usr/include/phonon
6 # Saner string behaviour
7 # DEFINES += QT_NO_CAST_FROM_ASCII QT_NO_CAST_TO_ASCII QT_STRICT_ITERATORS
11 QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.4
16 include(src/qtsingleapplication/qtsingleapplication.pri)
17 include(src/thlibrary/thlibrary.pri)
18 HEADERS += src/MainWindow.h \
25 src/youtubestreamreader.h \
27 src/searchlineedit.h \
31 src/iconloader/qticonloader.h \
32 src/faderwidget/FaderWidget.h \
34 src/playlist/PrettyItemDelegate.h \
39 src/playlistwidget.h \
43 src/videoareawidget.h \
46 SOURCES += src/main.cpp \
50 src/SettingsView.cpp \
52 src/youtubesearch.cpp \
53 src/youtubestreamreader.cpp \
54 src/searchlineedit.cpp \
58 src/iconloader/qticonloader.cpp \
59 src/faderwidget/FaderWidget.cpp \
61 src/playlist/PrettyItemDelegate.cpp \
62 src/videomimedata.cpp \
63 src/updatechecker.cpp \
64 src/networkaccess.cpp \
65 src/playlistwidget.cpp \
66 src/searchparams.cpp \
67 src/minisplitter.cpp \
68 src/loadingwidget.cpp \
69 src/videoareawidget.cpp \
70 src/googlesuggest.cpp \
72 RESOURCES += resources.qrc
73 DESTDIR = build/target/
74 OBJECTS_DIR = build/obj/
78 # Tell Qt Linguist that we use UTF-8 strings in our sources
81 include(locale/locale.pri)
84 DISTFILES += CHANGES \
89 QMAKE_INFO_PLIST = Info.plist
93 isEmpty(PREFIX):PREFIX = /usr/local
96 target.path = $$BINDIR
97 DATADIR = $$PREFIX/share
98 PKGDATADIR = $$DATADIR/minitube
99 DEFINES += DATADIR=\\\"$$DATADIR\\\" \
100 PKGDATADIR=\\\"$$PKGDATADIR\\\"
101 INSTALLS += translations \
107 translations.path = $$PKGDATADIR
108 translations.files += $$DESTDIR/locale
109 desktop.path = $$DATADIR/applications
110 desktop.files += minitube.desktop
112 # iconxpm.path = $$DATADIR/pixmaps
113 # iconxpm.files += data/minitube.xpm
114 iconsvg.path = $$DATADIR/icons/hicolor/scalable/apps
115 iconsvg.files += data/minitube.svg
116 icon16.path = $$DATADIR/icons/hicolor/16x16/apps
117 icon16.files += data/16x16/minitube.png
118 icon32.path = $$DATADIR/icons/hicolor/32x32/apps
119 icon32.files += data/32x32/minitube.png
120 icon128.path = $$DATADIR/icons/hicolor/128x128/apps
121 icon128.files += data/128x128/minitube.png