1 # If Phonon cannot be found, uncomment the following (and set the correct path)
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 \
44 SOURCES += src/main.cpp \
48 src/SettingsView.cpp \
50 src/youtubesearch.cpp \
51 src/youtubestreamreader.cpp \
52 src/searchlineedit.cpp \
56 src/iconloader/qticonloader.cpp \
57 src/faderwidget/FaderWidget.cpp \
59 src/playlist/PrettyItemDelegate.cpp \
60 src/videomimedata.cpp \
61 src/updatechecker.cpp \
62 src/networkaccess.cpp \
63 src/playlistwidget.cpp \
64 src/searchparams.cpp \
65 src/minisplitter.cpp \
66 src/loadingwidget.cpp \
67 src/videoareawidget.cpp
68 RESOURCES += resources.qrc
69 DESTDIR = build/target/
70 OBJECTS_DIR = build/obj/
74 # Tell Qt Linguist that we use UTF-8 strings in our sources
77 include(locale/locale.pri)
80 DISTFILES += CHANGES \
85 QMAKE_INFO_PLIST = Info.plist
89 isEmpty(PREFIX):PREFIX = /usr/local
92 target.path = $$BINDIR
93 DATADIR = $$PREFIX/share
94 PKGDATADIR = $$DATADIR/minitube
95 DEFINES += DATADIR=\\\"$$DATADIR\\\" \
96 PKGDATADIR=\\\"$$PKGDATADIR\\\"
97 INSTALLS += translations \
103 translations.path = $$PKGDATADIR
104 translations.files += .qm/locale
105 desktop.path = $$DATADIR/applications
106 desktop.files += minitube.desktop
108 # iconxpm.path = $$DATADIR/pixmaps
109 # iconxpm.files += data/minitube.xpm
110 iconsvg.path = $$DATADIR/icons/hicolor/scalable/apps
111 iconsvg.files += data/minitube.svg
112 icon16.path = $$DATADIR/icons/hicolor/16x16/apps
113 icon16.files += data/16x16/minitube.png
114 icon32.path = $$DATADIR/icons/hicolor/32x32/apps
115 icon32.files += data/32x32/minitube.png
116 icon128.path = $$DATADIR/icons/hicolor/128x128/apps
117 icon128.files += data/128x128/minitube.png