Ignore:
Timestamp:
Aug 31, 2016, 5:19:25 PM (9 years ago)
Author:
Silvan Scherrer
Message:

smplayer: update vendor to version 16.8.0

File:
1 edited

Legend:

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

    r175 r179  
    1616DEFINES += YOUTUBE_SUPPORT
    1717DEFINES += BLURAY_SUPPORT
     18DEFINES += TV_SUPPORT
    1819DEFINES += GUI_CHANGE_ON_RUNTIME
    1920DEFINES += LOG_MPLAYER
     
    3031DEFINES += BOOKMARKS
    3132DEFINES += MOUSE_GESTURES
     33DEFINES += GLOBALSHORTCUTS
    3234
    3335DEFINES += MPV_SUPPORT
     
    4850DEFINES += SHARE_WIDGET
    4951
     52# If Qt >= 5.4
     53greaterThan(QT_MAJOR_VERSION, 4):greaterThan(QT_MINOR_VERSION, 3) {
     54        DEFINES += HDPI_SUPPORT
     55}
    5056
    5157#DEFINES += SIMPLE_BUILD
     58#DEFINES += IDOPT_BUILD
    5259
    5360contains( DEFINES, SIMPLE_BUILD ) {
     
    6774        DEFINES -= AUTO_SHUTDOWN_PC
    6875        DEFINES -= BOOKMARKS
     76        DEFINES -= TV_SUPPORT
     77}
     78
     79contains( DEFINES, IDOPT_BUILD ) {
     80        DEFINES -= MPCGUI
     81        DEFINES -= SKINS
     82        DEFINES -= CAPTURE_STREAM
     83        DEFINES -= TV_SUPPORT
     84        DEFINES -= MPLAYER_SUPPORT
     85        DEFINES -= MPLAYER2_SUPPORT
    6986}
    7087
     
    7289        QT += widgets gui
    7390        #DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x040000
    74         DEFINES -= MPCGUI
    7591        win32 {
    7692                DEFINES -= MPRIS2
     
    104120                DEFINES -= UPDATE_CHECKER
    105121                message("UPDATE_CHECKER disabled.")
     122        }
     123}
     124
     125contains( DEFINES, GLOBALSHORTCUTS ) {
     126        lessThan(QT_MAJOR_VERSION, 5) {
     127                DEFINES -= GLOBALSHORTCUTS
     128                message("GLOBALSHORTCUTS requires Qt 5. Disabled.")
    106129        }
    107130}
     
    141164        filesettingshash.h \
    142165        filehash.h \
    143         tvsettings.h \
    144166        images.h \
    145167        inforeader.h \
     
    148170        urlhistory.h \
    149171        core.h \
     172        myscroller.h \
    150173        logwindow.h \
     174        infowindow.h \
    151175        infofile.h \
    152176        seekwidget.h \
     
    172196        prefadvanced.h \
    173197        prefplaylist.h \
    174         preftv.h \
    175198        prefupdates.h \
    176199        prefnetwork.h \
     
    196219        timedialog.h \
    197220        favorites.h \
    198         tvlist.h \
    199221        favoriteeditor.h \
    200222        statewidget.h \
     
    239261        filesettingshash.cpp \
    240262        filehash.cpp \
    241         tvsettings.cpp \
    242263        images.cpp \
    243264        inforeader.cpp \
     
    246267        urlhistory.cpp \
    247268        core.cpp \
     269        myscroller.cpp \
    248270        logwindow.cpp \
     271        infowindow.cpp \
    249272        infofile.cpp \
    250273        seekwidget.cpp \
     
    270293        prefadvanced.cpp \
    271294        prefplaylist.cpp \
    272         preftv.cpp \
    273295        prefupdates.cpp \
    274296        prefnetwork.cpp \
     
    294316        timedialog.cpp \
    295317        favorites.cpp \
    296         tvlist.cpp \
    297318        favoriteeditor.cpp \
    298319        statewidget.cpp \
     
    309330        main.cpp
    310331
    311 FORMS = inputdvddirectory.ui logwindowbase.ui filepropertiesdialog.ui \
     332FORMS = inputdvddirectory.ui logwindow.ui infowindow.ui filepropertiesdialog.ui \
    312333        eqslider.ui seekwidget.ui inputurl.ui videoequalizer.ui vdpauproperties.ui \
    313334        preferencesdialog.ui prefgeneral.ui prefdrives.ui prefinterface.ui \
    314335        prefperformance.ui prefinput.ui prefsubtitles.ui prefadvanced.ui \
    315         prefplaylist.ui preftv.ui prefupdates.ui prefnetwork.ui favoriteeditor.ui \
     336        prefplaylist.ui prefupdates.ui prefnetwork.ui favoriteeditor.ui \
    316337        about.ui inputmplayerversion.ui errordialog.ui timedialog.ui stereo3ddialog.ui \
    317338        toolbareditor.ui multilineinputdialog.ui
     339
     340contains( DEFINES, TV_SUPPORT ) {
     341        HEADERS += tvlist.h preftv.h tvsettings.h
     342        SOURCES += tvlist.cpp preftv.cpp tvsettings.cpp
     343        FORMS += preftv.ui
     344}
    318345
    319346contains( DEFINES, MPV_SUPPORT ) {
     
    517544        SOURCES += inputbookmark.cpp bookmarkdialog.cpp
    518545        FORMS += inputbookmark.ui bookmarkdialog.ui
     546}
     547
     548contains( DEFINES, GLOBALSHORTCUTS ) {
     549        HEADERS += globalshortcuts/globalshortcuts.h
     550        SOURCES += globalshortcuts/globalshortcuts.cpp
     551        unix {
     552                QT += gui-private
     553                LIBS += $${QMAKE_LIBS_X11}
     554        }
     555}
     556
     557contains( DEFINES, HDPI_SUPPORT ) {
     558        HEADERS += hdpisupport.h
     559        SOURCES += hdpisupport.cpp
    519560}
    520561
Note: See TracChangeset for help on using the changeset viewer.