1 # On some distro, Phonon headers cannot be found
2 INCLUDEPATH += /usr/include/phonon
7 # Saner string behaviour
8 # DEFINES += QT_NO_CAST_FROM_ASCII QT_NO_CAST_TO_ASCII QT_STRICT_ITERATORS
12 QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.4
17 include(src/qtsingleapplication/qtsingleapplication.pri)
18 include(src/thlibrary/thlibrary.pri)
19 HEADERS += src/MainWindow.h \
26 src/youtubestreamreader.h \
28 src/searchlineedit.h \
32 src/iconloader/qticonloader.h \
33 src/faderwidget/FaderWidget.h \
35 src/playlist/PrettyItemDelegate.h \
40 src/playlistwidget.h \
45 SOURCES += src/main.cpp \
49 src/SettingsView.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 RESOURCES += resources.qrc
70 DESTDIR = build/target/
71 OBJECTS_DIR = build/obj/
75 # Tell Qt Linguist that we use UTF-8 strings in our sources
78 include(locale/locale.pri)
81 DISTFILES += CHANGES \
86 QMAKE_INFO_PLIST = Info.plist
90 isEmpty(PREFIX):PREFIX = /usr/local
93 target.path = $$BINDIR
94 DATADIR = $$PREFIX/share
95 PKGDATADIR = $$DATADIR/minitube
96 DEFINES += DATADIR=\\\"$$DATADIR\\\" \
97 PKGDATADIR=\\\"$$PKGDATADIR\\\"
98 INSTALLS += translations \
104 translations.path = $$PKGDATADIR
105 translations.files += $$DESTDIR/locale
106 desktop.path = $$DATADIR/applications
107 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