X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=minitube.pro;h=71420f3121d6789d22d86592ebafefad0bea293e;hb=fe9d17324e88a65d4f28afccf21857c5a5e60649;hp=e75a41dc0e9dd8ee802a4680110f946b53e618a4;hpb=a13f0f35d60eebc2873081f0cc9a767adeccc260;p=minitube diff --git a/minitube.pro b/minitube.pro index e75a41d..71420f3 100644 --- a/minitube.pro +++ b/minitube.pro @@ -1,7 +1,7 @@ -CONFIG += c++17 exceptions_off rtti_off optimize_full object_parallel_to_source +CONFIG += c++17 exceptions_off rtti_off object_parallel_to_source TEMPLATE = app -VERSION = 3.6.1 +VERSION = 3.9.1 DEFINES += APP_VERSION="$$VERSION" APP_NAME = Minitube @@ -22,13 +22,14 @@ CONFIG(debug, debug|release): { CONFIG(release, debug|release): { message(Building for release) DEFINES *= QT_NO_DEBUG_OUTPUT + CONFIG += optimize_full } DEFINES *= QT_USE_QSTRINGBUILDER QT_STRICT_ITERATORS QT_DEPRECATED_WARNINGS -!contains(DEFINES, APP_GOOGLE_API_KEY=.+) { - warning("You need to specify a Google API Key, refer to the README.md file for details") -} +#!contains(DEFINES, APP_GOOGLE_API_KEY=.+) { +# warning("You need to specify a Google API Key, refer to the README.md file for details") +#} TARGET = $${APP_UNIX_NAME} @@ -36,13 +37,14 @@ QT += widgets network sql qml include(lib/http/http.pri) include(lib/idle/idle.pri) +include(lib/js/js.pri) +include(lib/promises/promises.pri) DEFINES += MEDIA_MPV include(lib/media/media.pri) include(src/qtsingleapplication/qtsingleapplication.pri) -include(src/invidious/invidious.pri) -include(src/ytjs/ytjs.pri) +include(src/yt/yt.pri) INCLUDEPATH += $$PWD/src @@ -51,6 +53,7 @@ HEADERS += src/video.h \ src/spacer.h \ src/constants.h \ src/playlistitemdelegate.h \ + src/subscriptionimportview.h \ src/updateutils.h \ src/videoapi.h \ src/videomimedata.h \ @@ -127,6 +130,7 @@ HEADERS += src/video.h \ SOURCES += src/main.cpp \ src/messagebar.cpp \ src/spacer.cpp \ + src/subscriptionimportview.cpp \ src/updateutils.cpp \ src/video.cpp \ src/videomimedata.cpp \ @@ -252,8 +256,8 @@ unix:!mac { sounds.files += sounds/ desktop.path = $$DATADIR/applications desktop.files += minitube.desktop - appdata.path = $$DATADIR/appdata - appdata.files += minitube.appdata.xml + appdata.path = $$DATADIR/metainfo + appdata.files += org.tordini.flavio.minitube.metainfo.xml iconsvg.path = $$DATADIR/icons/hicolor/scalable/apps iconsvg.files += data/minitube.svg icon16.path = $$DATADIR/icons/hicolor/16x16/apps @@ -276,11 +280,7 @@ unix:!mac { mac|win32|contains(DEFINES, APP_UBUNTU):include(local/local.pri) -!contains(DEFINES, APP_MAC_STORE) { - # DEFINES += UPDATER_NO_SPARKLE - include(lib/updater/updater.pri) -} - +message(QT: $$QT) message(CONFIG: $$CONFIG) message(DEFINES: $$DEFINES) message(QMAKE_CXXFLAGS: $$QMAKE_CXXFLAGS)