Ignore:
Timestamp:
May 3, 2016, 2:14:41 PM (9 years ago)
Author:
Silvan Scherrer
Message:

smplayer: update vendor to version 16.4

File:
1 edited

Legend:

Unmodified
Added
Removed
  • smplayer/vendor/current/src/smplayer.pro

    r168 r175  
    1515DEFINES += VIDEOPREVIEW
    1616DEFINES += YOUTUBE_SUPPORT
    17 DEFINES += YT_USE_SCRIPT
    1817DEFINES += BLURAY_SUPPORT
    1918DEFINES += GUI_CHANGE_ON_RUNTIME
    2019DEFINES += LOG_MPLAYER
    2120DEFINES += LOG_SMPLAYER
     21DEFINES += DEFAULTGUI
     22DEFINES += MINIGUI
    2223DEFINES += MPCGUI
    2324DEFINES += SKINS
     25DEFINES += MPRIS2
    2426DEFINES += UPDATE_CHECKER
    2527DEFINES += CHECK_UPGRADED
    26 DEFINES += REMINDER_ACTIONS
    27 #DEFINES += USE_FONTCONFIG_OPTIONS
    2828DEFINES += AUTO_SHUTDOWN_PC
     29DEFINES += CAPTURE_STREAM
     30DEFINES += BOOKMARKS
     31DEFINES += MOUSE_GESTURES
     32
     33DEFINES += MPV_SUPPORT
     34DEFINES += MPLAYER_SUPPORT
     35
     36# Whether to include support for the obsolete mplayer2 or not
     37# (requires MPLAYER_SUPPORT)
     38DEFINES += MPLAYER2_SUPPORT
     39
     40# Note to distro maintainers:
     41# By disabling SHARE_ACTIONS or SHARE_WIDGET
     42# you're preventing SMPlayer to receive donations and thus
     43# SERIOUSLY HURTING THE DEVELOPMENT AND PUTTING
     44# AT RISK THE CONTINUATION OF THIS PROJECT
     45# Please don't.
     46
     47DEFINES += SHARE_ACTIONS
     48DEFINES += SHARE_WIDGET
     49
     50
     51#DEFINES += SIMPLE_BUILD
     52
     53contains( DEFINES, SIMPLE_BUILD ) {
     54        DEFINES -= SINGLE_INSTANCE
     55        DEFINES -= FIND_SUBTITLES
     56        DEFINES -= VIDEOPREVIEW
     57        DEFINES -= LOG_MPLAYER
     58        DEFINES -= LOG_SMPLAYER
     59        DEFINES -= MINIGUI
     60        DEFINES -= MPCGUI
     61        DEFINES -= SKINS
     62        DEFINES -= MPRIS2
     63        DEFINES -= UPDATE_CHECKER
     64        DEFINES -= CHECK_UPGRADED
     65        DEFINES -= SHARE_ACTIONS
     66        DEFINES -= SHARE_WIDGET
     67        DEFINES -= AUTO_SHUTDOWN_PC
     68        DEFINES -= BOOKMARKS
     69}
    2970
    3071isEqual(QT_MAJOR_VERSION, 5) {
     
    3273        #DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x040000
    3374        DEFINES -= MPCGUI
     75        win32 {
     76                DEFINES -= MPRIS2
     77        }
    3478}
    3579
     
    66110        config.h \
    67111        constants.h \
     112        links.h \
    68113        svn_revision.h \
    69114        version.h \
     
    82127        myprocess.h \
    83128        mplayerversion.h \
    84         mplayerprocess.h \
     129        playerid.h \
     130        playerprocess.h \
    85131        infoprovider.h \
    86132        mplayerwindow.h \
     
    128174        preftv.h \
    129175        prefupdates.h \
     176        prefnetwork.h \
    130177        filepropertiesdialog.h \
    131178        multilineinputdialog.h \
     
    140187        inputdvddirectory.h \
    141188        inputurl.h \
     189        stereo3ddialog.h \
    142190        myaction.h \
    143191        myactiongroup.h \
     
    150198        tvlist.h \
    151199        favoriteeditor.h \
     200        statewidget.h \
    152201        basegui.h \
    153202        baseguiplus.h \
     
    156205        toolbareditor.h \
    157206        editabletoolbar.h \
    158         defaultgui.h \
    159         minigui.h \
    160207        clhelp.h \
    161208        cleanconfig.h \
     
    179226        myprocess.cpp \
    180227        mplayerversion.cpp \
    181         mplayerprocess.cpp \
     228        playerid.cpp \
     229        playerprocess.cpp \
    182230        infoprovider.cpp \
    183231        mplayerwindow.cpp \
     
    224272        preftv.cpp \
    225273        prefupdates.cpp \
     274        prefnetwork.cpp \
    226275        filepropertiesdialog.cpp \
    227276        multilineinputdialog.cpp \
     
    236285        inputdvddirectory.cpp \
    237286        inputurl.cpp \
     287        stereo3ddialog.cpp \
    238288        myaction.cpp \
    239289        myactiongroup.cpp \
     
    246296        tvlist.cpp \
    247297        favoriteeditor.cpp \
     298        statewidget.cpp \
    248299        basegui.cpp \
    249300        baseguiplus.cpp \
     
    252303        toolbareditor.cpp \
    253304        editabletoolbar.cpp \
    254         defaultgui.cpp \
    255         minigui.cpp \
    256305        clhelp.cpp \
    257306        cleanconfig.cpp \
     
    264313        preferencesdialog.ui prefgeneral.ui prefdrives.ui prefinterface.ui \
    265314        prefperformance.ui prefinput.ui prefsubtitles.ui prefadvanced.ui \
    266         prefplaylist.ui preftv.ui prefupdates.ui favoriteeditor.ui \
    267         about.ui inputmplayerversion.ui errordialog.ui timedialog.ui \
     315        prefplaylist.ui preftv.ui prefupdates.ui prefnetwork.ui favoriteeditor.ui \
     316        about.ui inputmplayerversion.ui errordialog.ui timedialog.ui stereo3ddialog.ui \
    268317        toolbareditor.ui multilineinputdialog.ui
     318
     319contains( DEFINES, MPV_SUPPORT ) {
     320        HEADERS += mpvprocess.h inforeadermpv.h
     321        SOURCES += mpvprocess.cpp inforeadermpv.cpp
     322}
     323
     324contains( DEFINES, MPLAYER_SUPPORT ) {
     325        HEADERS += mplayerprocess.h inforeadermplayer.h
     326        SOURCES += mplayerprocess.cpp inforeadermplayer.cpp
     327}
    269328
    270329# qtsingleapplication
     
    280339contains( DEFINES, FIND_SUBTITLES ) {
    281340        DEFINES += DOWNLOAD_SUBS
     341        DEFINES += OS_SEARCH_WORKAROUND
    282342        #DEFINES += USE_QUAZIP
    283343
     
    338398# Youtube support
    339399contains( DEFINES, YOUTUBE_SUPPORT ) {
     400        DEFINES += YT_USE_SCRIPT
    340401        INCLUDEPATH += youtube
    341402        DEPENDPATH += youtube
    342403
    343         HEADERS += youtube/retrieveyoutubeurl.h youtube/ytsig.h
    344         SOURCES += youtube/retrieveyoutubeurl.cpp youtube/ytsig.cpp
     404        HEADERS += youtube/retrieveyoutubeurl.h youtube/loadpage.h
     405        SOURCES += youtube/retrieveyoutubeurl.cpp youtube/loadpage.cpp
    345406
    346407        contains( DEFINES, YT_USE_SCRIPT ) {
    347                 HEADERS += youtube/codedownloader.h
    348                 SOURCES += youtube/codedownloader.cpp
     408                DEFINES += YT_USE_SIG
     409                DEFINES += YT_USE_YTSIG
    349410                QT += script
    350         } else {
    351                 #DEFINES += YTSIG_STATIC
    352         }
     411        }
     412
     413        contains( DEFINES, YT_USE_SIG ) {
     414                HEADERS += youtube/sig.h
     415                SOURCES += youtube/sig.cpp
     416        }
     417
     418        contains( DEFINES, YT_USE_YTSIG ) {
     419                HEADERS += youtube/ytsig.h youtube/codedownloader.h
     420                SOURCES += youtube/ytsig.cpp youtube/codedownloader.cpp
     421        }
     422}
     423
     424# defaultgui
     425contains( DEFINES, DEFAULTGUI ) {
     426        HEADERS += defaultgui.h
     427        SOURCES += defaultgui.cpp
     428}
     429
     430# minigui
     431contains( DEFINES, MINIGUI ) {
     432        HEADERS += minigui.h
     433        SOURCES += minigui.cpp
    353434}
    354435
     
    376457}
    377458
     459contains( DEFINES, MPRIS2 ) {
     460        INCLUDEPATH += mpris2
     461        DEPENDPATH += mpris2
     462
     463        HEADERS += mpris2/mediaplayer2.h mpris2/mediaplayer2player.h mpris2/mpris2.h
     464        SOURCES += mpris2/mediaplayer2.cpp mpris2/mediaplayer2player.cpp mpris2/mpris2.cpp
     465
     466        QT += dbus
     467}
     468
    378469# Update checker
    379470contains( DEFINES, UPDATE_CHECKER ) {
    380         HEADERS += updatechecker.h
    381         SOURCES += updatechecker.CPP
     471        HEADERS += updatechecker.h updatecheckerdata.h
     472        SOURCES += updatechecker.cpp updatecheckerdata.cpp
    382473}
    383474
     
    393484}
    394485
    395 contains( DEFINES, REMINDER_ACTIONS ) {
     486
     487!contains(DEFINES, SHARE_ACTIONS) | !contains(DEFINES, SHARE_WIDGET) {
     488        message("Note to distro maintainers:")
     489        message("By disabling SHARE_ACTIONS or SHARE_WIDGET")
     490        message("you're preventing SMPlayer to receive donations and thus")
     491        message("SERIOUSLY HURTING THE DEVELOPMENT AND PUTTING")
     492        message("AT RISK THE CONTINUATION OF THIS PROJECT")
     493        message("Please don't.")
     494}
     495
     496contains( DEFINES, SHARE_ACTIONS ) {
    396497        HEADERS += sharedialog.h
    397498        SOURCES += sharedialog.cpp
    398499        FORMS += sharedialog.ui
     500}
     501
     502contains( DEFINES, SHARE_WIDGET|SHARE_ACTIONS ) {
     503        HEADERS += sharewidget.h sharedata.h
     504        SOURCES += sharewidget.cpp sharedata.cpp
    399505}
    400506
     
    405511
    406512        unix { QT += dbus }
     513}
     514
     515contains( DEFINES, BOOKMARKS ) {
     516        HEADERS += inputbookmark.h bookmarkdialog.h
     517        SOURCES += inputbookmark.cpp bookmarkdialog.cpp
     518        FORMS += inputbookmark.ui bookmarkdialog.ui
    407519}
    408520
     
    424536        DEFINES += AVOID_SCREENSAVER
    425537        #DEFINES += FONTCACHE_DIALOG
    426         DEFINES += USE_FONTCONFIG_OPTIONS
     538        #DEFINES += FONTS_HACK
    427539
    428540        contains( DEFINES, SCREENSAVER_OFF ) {
     
    492604               translations/smplayer_ms_MY.ts translations/smplayer_uz.ts \
    493605               translations/smplayer_nn_NO.ts translations/smplayer_id.ts \
    494                translations/smplayer_ar.ts translations/smplayer_en_GB.ts
     606               translations/smplayer_ar.ts translations/smplayer_en_GB.ts \
     607               translations/smplayer_sq_AL.ts translations/smplayer_am.ts \
     608               translations/smplayer_fa.ts
     609
Note: See TracChangeset for help on using the changeset viewer.