This repository has been archived by the owner on Apr 17, 2023. It is now read-only.
forked from tworaz/sailfish-ytplayer
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathharbour-ytplayer.pro
92 lines (77 loc) · 2.25 KB
/
harbour-ytplayer.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
# Copyright (c) 2015 Piotr Tworek. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE.YTPlayer file.
TARGET = harbour-ytplayer
CONFIG += sailfishapp sailfishapp_no_deploy_qml # sailfishapp_i18n
PKGCONFIG += nemonotifications-qt5
QT += dbus sql concurrent qml core multimedia
SOURCES += \
src/YTPlayer.cpp \
src/YTUtils.cpp \
src/YTLogger.cpp \
src/YTPrefs.cpp \
src/YTRequest.cpp \
src/YTListModel.cpp \
src/YTNetworkManager.cpp \
src/YTLocalVideo.cpp \
src/YTLocalVideoData.cpp \
src/YTLocalVideoManager.cpp \
src/YTLocalVideoListModel.cpp \
src/YTVideoDownloadNotification.cpp \
src/YTVIdeoUrlFetcher.cpp \
src/YTSuggestionEngine.cpp \
src/YTTranslations.cpp \
src/YTWatchedRecently.cpp \
src/YTFavorites.cpp \
src/YTSqlListModel.cpp \
src/YTUpdater.cpp \
src/YTUpdateWorker.cpp
HEADERS += \
src/YTPlayer.h \
src/YTUtils.h \
src/YTLogger.h \
src/YTPrefs.h \
src/YTRequest.h \
src/YTListModel.h \
src/YTNetworkManager.h \
src/YTLocalVideo.h \
src/YTLocalVideoData.h \
src/YTLocalVideoManager.h \
src/YTLocalVideoListModel.h \
src/YTVideoDownloadNotification.h \
src/YTVideoUrlFetcher.h \
src/YTSuggestionEngine.h \
src/YTTranslations.h \
src/YTWatchedRecently.h \
src/YTFavorites.h \
src/YTSqlListModel.h \
src/YTUpdater.h \
src/YTUpdateWorker.h
QML_SOURCES = \
qml/*.qml \
qml/pages/*.qml \
qml/cover/*.qml \
qml/common/*.qml \
qml/common/*.js
OTHER_FILES += \
$$QML_SOURCES \
harbour-ytplayer.desktop \
scripts/get_version_str.sh \
translations/*.ts
DISTFILES += \
rpm/harbour-ytplayer.spec \
rpm/harbour-ytplayer.yaml \
translations/*.qm \
rpm/harbour-ytplayer.changes
SAILFISHAPP_ICONS = 86x86 108x108 128x128 172x172
include(translations/translations.pri)
VERSION_RUN = $$system(bash $${top_srcdir}/scripts/get_version_str.sh)
DEFINES += VERSION_STR=\\\"$$system(cat $${top_srcdir}/scripts/version-str)\\\"
licenses.files = $$files($$top_srcdir/LICENSE.*)
licenses.path = /usr/share/$${TARGET}/licenses
INSTALLS += licenses
lupdate_only {
SOURCES += $$QML_SOURCES
}
RESOURCES += \
YTPlayer.qrc