-
Notifications
You must be signed in to change notification settings - Fork 12
/
pirateplayer.pro
175 lines (150 loc) · 5.41 KB
/
pirateplayer.pro
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
#-------------------------------------------------
#
# Project created by QtCreator 2013-02-20T21:08:55
#
#-------------------------------------------------
QT += core gui declarative network
CONFIG += mobility
MOBILITY =
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
TARGET = pirateplayer
TEMPLATE = app
SOURCES += src/network/download.cpp \
src/network/systemdownload.cpp \
src/network/piratenetworkaccessmanager.cpp \
src/network/piratenetworkreply.cpp \
src/network/rtmpsession.cpp \
src/network/downloadlistmodel.cpp \
src/network/tidynetworkreply.cpp \
src/network/tempplayer.cpp \
src/gui/myqmlapplicationviewer.cpp \
src/gui/pirateplayerdesktopviewer.cpp \
src/gui/maingui.cpp \
src/extra/archiveextractor.cpp \
src/pirateplayercontext.cpp \
src/main.cpp\
src/mediaplayerinterface.cpp
HEADERS += src/network/download.h \
src/network/systemdownload.h \
src/network/piratenetworkreply.h \
src/network/piratenetworkaccessmanager.h \
src/network/rtmpsession.h \
src/network/downloadlistmodel.h \
src/network/tidynetworkreply.h \
src/network/tempplayer.h \
src/gui/myqmlapplicationviewer.h \
src/gui/pirateplayerdesktopviewer.h \
src/gui/abstractqmlviewer.h \
src/gui/maingui.h \
src/extra/archiveextractor.h \
src/pirateplayercontext.h \
src/mediaplayerinterface.h
OTHER_FILES += \
android/AndroidManifest.xml \
android/version.xml \
android/res/values-fr/strings.xml \
android/res/values-et/strings.xml \
android/res/values-fa/strings.xml \
android/res/values-ro/strings.xml \
android/res/values-zh-rCN/strings.xml \
android/res/values-pt-rBR/strings.xml \
android/res/values-ja/strings.xml \
android/res/values-de/strings.xml \
android/res/drawable/icon.png \
android/res/drawable/logo.png \
android/res/values-id/strings.xml \
android/res/values-rs/strings.xml \
android/res/values-ms/strings.xml \
android/res/drawable-ldpi/icon.png \
android/res/layout/splash.xml \
android/res/values-ru/strings.xml \
android/res/values-zh-rTW/strings.xml \
android/res/values-it/strings.xml \
android/res/values-es/strings.xml \
android/res/drawable-mdpi/icon.png \
android/res/drawable-hdpi/icon.png \
android/res/values-nb/strings.xml \
android/res/values-el/strings.xml \
android/res/values/libs.xml \
android/res/values/strings.xml \
android/res/values-pl/strings.xml \
android/res/values-nl/strings.xml \
android/src/org/kde/necessitas/ministro/IMinistro.aidl \
android/src/org/kde/necessitas/ministro/IMinistroCallback.aidl \
android/src/org/kde/necessitas/origo/QtApplication.java \
android/src/org/kde/necessitas/origo/QtActivity.java \
android/src/org/kde/necessitas/origo/QJavaInterface.java
RESOURCES += resources.qrc
win32 {
INCLUDEPATH += "C:/Users/chucky/include"
INCLUDEPATH += "C:/Users/chucky/src/tidy-html5/include"
INCLUDEPATH += "C:/Program Files/libarchive/include"
LIBS += -L"C:/Program Files/rtmpdump-git" -lws2_32
LIBS += -L"C:/Users/chucky/src/tidy-html5/src/.libs"
LIBS += -L"C:/Program Files/libarchive/lib"
DESTDIR = build/target/
OBJECTS_DIR = build/obj/
MOC_DIR = build/moc/
UI_DIR = build/ui/
RC_FILE = pirateplayer.rc
}
android {
LIBS += -L/home/chucky/src/tidy-html5-android/libs/armeabi
INCLUDEPATH += /home/chucky/src/tidy-html5-android/include
INCLUDEPATH += /home/chucky/src/librtmp-2.4-android-armeabi-v7a/include
LIBS += -L/home/chucky/src/rtmpdump-master/librtmp
LIBS += /home/chucky/src/libarchive-3.1.2/libarchive/libarchive.a
INCLUDEPATH += /home/chucky/src/libarchive_include
ffmpeg.files=/home/chucky/src/android-ffmpeg/ffmpeg/ffmpeg
ffmpeg.path=/assets
INSTALLS += ffmpeg
} else {
LIBS += -larchive
}
mac {
QT += opengl
LIBS += -L/usr/lib -L/usr/local/lib
INCLUDEPATH += /usr/local/include
DEPENDPATH += /usr/local/include
ICON = pirateplayer.icns
}
unix {
isEmpty(PREFIX):PREFIX = /usr/local
DATADIR = $$PREFIX/share
target.path = $$PREFIX/bin
INSTALLS += target \
desktop \
iconsvg \
icon16 \
icon32 \
icon48 \
icon64 \
icon128 \
icon256 \
icon512
desktop.path = $$DATADIR/applications
desktop.files += pirateplayer.desktop
iconsvg.path = $$DATADIR/icons/hicolor/scalable/apps
iconsvg.files += data/pirateplayer.svg
icon16.path = $$DATADIR/icons/hicolor/16x16/apps
icon16.files += data/16x16/pirateplayer.png
icon32.path = $$DATADIR/icons/hicolor/32x32/apps
icon32.files += data/32x32/pirateplayer.png
icon48.path = $$DATADIR/icons/hicolor/48x48/apps
icon48.files += data/48x48/pirateplayer.png
icon64.path = $$DATADIR/icons/hicolor/64x64/apps
icon64.files += data/64x64/pirateplayer.png
icon128.path = $$DATADIR/icons/hicolor/128x128/apps
icon128.files += data/128x128/pirateplayer.png
icon256.path = $$DATADIR/icons/hicolor/256x256/apps
icon256.files += data/256x256/pirateplayer.png
icon512.path = $$DATADIR/icons/hicolor/512x512/apps
icon512.files += data/512x512/pirateplayer.png
}
LIBS += -lrtmp
LIBS += -ltidy
# Please do not modify the following two lines. Required for deployment.
include(qmlapplicationviewer/qmlapplicationviewer.pri)
android {
qtcAddDeployment()
}