Ignore:
Timestamp:
May 3, 2016, 2:14:41 PM (10 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
     21
     22
    2223DEFINES += MPCGUI
    2324DEFINES += SKINS
     25
    2426DEFINES += UPDATE_CHECKER
    2527DEFINES += CHECK_UPGRADED
    26 DEFINES += REMINDER_ACTIONS
    27 #DEFINES += USE_FONTCONFIG_OPTIONS
    2828DEFINES += AUTO_SHUTDOWN_PC
     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
    2970
    3071isEqual(QT_MAJOR_VERSION, 5) {
     
    3273        #DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x040000
    3374        DEFINES -= MPCGUI
     75
     76
     77
    3478}
    3579
     
    66110        config.h \
    67111        constants.h \
     112
    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
    130177        filepropertiesdialog.h \
    131178        multilineinputdialog.h \
     
    140187        inputdvddirectory.h \
    141188        inputurl.h \
     189
    142190        myaction.h \
    143191        myactiongroup.h \
     
    150198        tvlist.h \
    151199        favoriteeditor.h \
     200
    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
    226275        filepropertiesdialog.cpp \
    227276        multilineinputdialog.cpp \
     
    236285        inputdvddirectory.cpp \
    237286        inputurl.cpp \
     287
    238288        myaction.cpp \
    239289        myactiongroup.cpp \
     
    246296        tvlist.cpp \
    247297        favoriteeditor.cpp \
     298
    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 favoriteeditor.ui \
     316        about.ui inputmplayerversion.ui errordialog.ui timedialog.ui \
    268317        toolbareditor.ui multilineinputdialog.ui
     318
     319
     320
     321
     322
     323
     324
     325
     326
     327
    269328
    270329# qtsingleapplication
     
    280339contains( DEFINES, FIND_SUBTITLES ) {
    281340        DEFINES += DOWNLOAD_SUBS
     341
    282342        #DEFINES += USE_QUAZIP
    283343
     
    338398# Youtube support
    339399contains( DEFINES, YOUTUBE_SUPPORT ) {
     400
    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/.h
     405        SOURCES += youtube/retrieveyoutubeurl.cpp youtube/.cpp
    345406
    346407        contains( DEFINES, YT_USE_SCRIPT ) {
    347                 HEADERS += youtube/codedownloader.h
    348                 SOURCES += youtube/codedownloader.cpp
     408               
     409               
    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
     459
     460
     461
     462
     463
     464
     465
     466
     467
     468
    378469# Update checker
    379470contains( DEFINES, UPDATE_CHECKER ) {
    380         HEADERS += updatechecker.h
    381         SOURCES += updatechecker.CPP
     471        HEADERS += updatechecker.h
     472        SOURCES += updatechecker.
    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
     502
     503
     504
    399505}
    400506
     
    405511
    406512        unix { QT += dbus }
     513
     514
     515
     516
     517
     518
    407519}
    408520
     
    424536        DEFINES += AVOID_SCREENSAVER
    425537        #DEFINES += FONTCACHE_DIALOG
    426         DEFINES += USE_FONTCONFIG_OPTIONS
     538       
    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.