Ignore:
Timestamp:
May 3, 2016, 5:25:45 PM (9 years ago)
Author:
Silvan Scherrer
Message:

smplayer: update trunk to version 16.4

Location:
smplayer/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • smplayer/trunk

  • smplayer/trunk/src/smplayer.pro

    r170 r176  
    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
     25!os2 {
     26DEFINES += MPRIS2
     27}
    2428DEFINES += UPDATE_CHECKER
    2529DEFINES += CHECK_UPGRADED
    26 DEFINES += REMINDER_ACTIONS
    27 #DEFINES += USE_FONTCONFIG_OPTIONS
    2830!os2 {
    2931DEFINES += AUTO_SHUTDOWN_PC
     32}
     33DEFINES += CAPTURE_STREAM
     34DEFINES += BOOKMARKS
     35DEFINES += MOUSE_GESTURES
     36
     37!os2 {
     38DEFINES += MPV_SUPPORT
     39}
     40DEFINES += MPLAYER_SUPPORT
     41
     42# Whether to include support for the obsolete mplayer2 or not
     43# (requires MPLAYER_SUPPORT)
     44DEFINES += MPLAYER2_SUPPORT
     45
     46# Note to distro maintainers:
     47# By disabling SHARE_ACTIONS or SHARE_WIDGET
     48# you're preventing SMPlayer to receive donations and thus
     49# SERIOUSLY HURTING THE DEVELOPMENT AND PUTTING
     50# AT RISK THE CONTINUATION OF THIS PROJECT
     51# Please don't.
     52
     53DEFINES += SHARE_ACTIONS
     54DEFINES += SHARE_WIDGET
     55
     56
     57#DEFINES += SIMPLE_BUILD
     58
     59contains( DEFINES, SIMPLE_BUILD ) {
     60        DEFINES -= SINGLE_INSTANCE
     61        DEFINES -= FIND_SUBTITLES
     62        DEFINES -= VIDEOPREVIEW
     63        DEFINES -= LOG_MPLAYER
     64        DEFINES -= LOG_SMPLAYER
     65        DEFINES -= MINIGUI
     66        DEFINES -= MPCGUI
     67        DEFINES -= SKINS
     68        DEFINES -= MPRIS2
     69        DEFINES -= UPDATE_CHECKER
     70        DEFINES -= CHECK_UPGRADED
     71        DEFINES -= SHARE_ACTIONS
     72        DEFINES -= SHARE_WIDGET
     73        DEFINES -= AUTO_SHUTDOWN_PC
     74        DEFINES -= BOOKMARKS
    3075}
    3176
     
    3479        #DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x040000
    3580        DEFINES -= MPCGUI
     81        win32 {
     82                DEFINES -= MPRIS2
     83        }
    3684}
    3785
     
    68116        config.h \
    69117        constants.h \
     118        links.h \
    70119        svn_revision.h \
    71120        version.h \
     
    84133        myprocess.h \
    85134        mplayerversion.h \
    86         mplayerprocess.h \
     135        playerid.h \
     136        playerprocess.h \
    87137        infoprovider.h \
    88138        mplayerwindow.h \
     
    130180        preftv.h \
    131181        prefupdates.h \
     182        prefnetwork.h \
    132183        filepropertiesdialog.h \
    133184        multilineinputdialog.h \
     
    142193        inputdvddirectory.h \
    143194        inputurl.h \
     195        stereo3ddialog.h \
    144196        myaction.h \
    145197        myactiongroup.h \
     
    152204        tvlist.h \
    153205        favoriteeditor.h \
     206        statewidget.h \
    154207        basegui.h \
    155208        baseguiplus.h \
     
    158211        toolbareditor.h \
    159212        editabletoolbar.h \
    160         defaultgui.h \
    161         minigui.h \
    162213        clhelp.h \
    163214        cleanconfig.h \
     
    181232        myprocess.cpp \
    182233        mplayerversion.cpp \
    183         mplayerprocess.cpp \
     234        playerid.cpp \
     235        playerprocess.cpp \
    184236        infoprovider.cpp \
    185237        mplayerwindow.cpp \
     
    226278        preftv.cpp \
    227279        prefupdates.cpp \
     280        prefnetwork.cpp \
    228281        filepropertiesdialog.cpp \
    229282        multilineinputdialog.cpp \
     
    238291        inputdvddirectory.cpp \
    239292        inputurl.cpp \
     293        stereo3ddialog.cpp \
    240294        myaction.cpp \
    241295        myactiongroup.cpp \
     
    248302        tvlist.cpp \
    249303        favoriteeditor.cpp \
     304        statewidget.cpp \
    250305        basegui.cpp \
    251306        baseguiplus.cpp \
     
    254309        toolbareditor.cpp \
    255310        editabletoolbar.cpp \
    256         defaultgui.cpp \
    257         minigui.cpp \
    258311        clhelp.cpp \
    259312        cleanconfig.cpp \
     
    266319        preferencesdialog.ui prefgeneral.ui prefdrives.ui prefinterface.ui \
    267320        prefperformance.ui prefinput.ui prefsubtitles.ui prefadvanced.ui \
    268         prefplaylist.ui preftv.ui prefupdates.ui favoriteeditor.ui \
    269         about.ui inputmplayerversion.ui errordialog.ui timedialog.ui \
     321        prefplaylist.ui preftv.ui prefupdates.ui prefnetwork.ui favoriteeditor.ui \
     322        about.ui inputmplayerversion.ui errordialog.ui timedialog.ui stereo3ddialog.ui \
    270323        toolbareditor.ui multilineinputdialog.ui
     324
     325contains( DEFINES, MPV_SUPPORT ) {
     326        HEADERS += mpvprocess.h inforeadermpv.h
     327        SOURCES += mpvprocess.cpp inforeadermpv.cpp
     328}
     329
     330contains( DEFINES, MPLAYER_SUPPORT ) {
     331        HEADERS += mplayerprocess.h inforeadermplayer.h
     332        SOURCES += mplayerprocess.cpp inforeadermplayer.cpp
     333}
    271334
    272335# qtsingleapplication
     
    282345contains( DEFINES, FIND_SUBTITLES ) {
    283346        DEFINES += DOWNLOAD_SUBS
     347        DEFINES += OS_SEARCH_WORKAROUND
    284348        #DEFINES += USE_QUAZIP
    285349
     
    340404# Youtube support
    341405contains( DEFINES, YOUTUBE_SUPPORT ) {
     406        DEFINES += YT_USE_SCRIPT
    342407        INCLUDEPATH += youtube
    343408        DEPENDPATH += youtube
    344409
    345         HEADERS += youtube/retrieveyoutubeurl.h youtube/ytsig.h
    346         SOURCES += youtube/retrieveyoutubeurl.cpp youtube/ytsig.cpp
     410        HEADERS += youtube/retrieveyoutubeurl.h youtube/loadpage.h
     411        SOURCES += youtube/retrieveyoutubeurl.cpp youtube/loadpage.cpp
    347412
    348413        contains( DEFINES, YT_USE_SCRIPT ) {
    349                 HEADERS += youtube/codedownloader.h
    350                 SOURCES += youtube/codedownloader.cpp
     414                DEFINES += YT_USE_SIG
     415                DEFINES += YT_USE_YTSIG
    351416                QT += script
    352         } else {
    353                 #DEFINES += YTSIG_STATIC
    354         }
     417        }
     418
     419        contains( DEFINES, YT_USE_SIG ) {
     420                HEADERS += youtube/sig.h
     421                SOURCES += youtube/sig.cpp
     422        }
     423
     424        contains( DEFINES, YT_USE_YTSIG ) {
     425                HEADERS += youtube/ytsig.h youtube/codedownloader.h
     426                SOURCES += youtube/ytsig.cpp youtube/codedownloader.cpp
     427        }
     428}
     429
     430# defaultgui
     431contains( DEFINES, DEFAULTGUI ) {
     432        HEADERS += defaultgui.h
     433        SOURCES += defaultgui.cpp
     434}
     435
     436# minigui
     437contains( DEFINES, MINIGUI ) {
     438        HEADERS += minigui.h
     439        SOURCES += minigui.cpp
    355440}
    356441
     
    378463}
    379464
     465contains( DEFINES, MPRIS2 ) {
     466        INCLUDEPATH += mpris2
     467        DEPENDPATH += mpris2
     468
     469        HEADERS += mpris2/mediaplayer2.h mpris2/mediaplayer2player.h mpris2/mpris2.h
     470        SOURCES += mpris2/mediaplayer2.cpp mpris2/mediaplayer2player.cpp mpris2/mpris2.cpp
     471
     472        QT += dbus
     473}
     474
    380475# Update checker
    381476contains( DEFINES, UPDATE_CHECKER ) {
    382         HEADERS += updatechecker.h
    383         SOURCES += updatechecker.CPP
     477        HEADERS += updatechecker.h updatecheckerdata.h
     478        SOURCES += updatechecker.cpp updatecheckerdata.cpp
    384479}
    385480
     
    395490}
    396491
    397 contains( DEFINES, REMINDER_ACTIONS ) {
     492
     493!contains(DEFINES, SHARE_ACTIONS) | !contains(DEFINES, SHARE_WIDGET) {
     494        message("Note to distro maintainers:")
     495        message("By disabling SHARE_ACTIONS or SHARE_WIDGET")
     496        message("you're preventing SMPlayer to receive donations and thus")
     497        message("SERIOUSLY HURTING THE DEVELOPMENT AND PUTTING")
     498        message("AT RISK THE CONTINUATION OF THIS PROJECT")
     499        message("Please don't.")
     500}
     501
     502contains( DEFINES, SHARE_ACTIONS ) {
    398503        HEADERS += sharedialog.h
    399504        SOURCES += sharedialog.cpp
    400505        FORMS += sharedialog.ui
     506}
     507
     508contains( DEFINES, SHARE_WIDGET|SHARE_ACTIONS ) {
     509        HEADERS += sharewidget.h sharedata.h
     510        SOURCES += sharewidget.cpp sharedata.cpp
    401511}
    402512
     
    407517
    408518        unix { QT += dbus }
     519}
     520
     521contains( DEFINES, BOOKMARKS ) {
     522        HEADERS += inputbookmark.h bookmarkdialog.h
     523        SOURCES += inputbookmark.cpp bookmarkdialog.cpp
     524        FORMS += inputbookmark.ui bookmarkdialog.ui
    409525}
    410526
     
    426542        DEFINES += AVOID_SCREENSAVER
    427543        #DEFINES += FONTCACHE_DIALOG
    428         DEFINES += USE_FONTCONFIG_OPTIONS
     544        #DEFINES += FONTS_HACK
    429545
    430546        contains( DEFINES, SCREENSAVER_OFF ) {
     
    474590        DEF_FILE_VENDOR = bww bitwise works GmbH
    475591        DEF_FILE_VERSION = $$APPLICATION_VERSION
    476         DEF_FILE_DESCRIPTION = eCS (OS/2) port of SMPlayer
     592        DEF_FILE_DESCRIPTION = OS/2 and OS/2-based systems port of SMPlayer
    477593}
    478594
     
    500616               translations/smplayer_ms_MY.ts translations/smplayer_uz.ts \
    501617               translations/smplayer_nn_NO.ts translations/smplayer_id.ts \
    502                translations/smplayer_ar.ts translations/smplayer_en_GB.ts
     618               translations/smplayer_ar.ts translations/smplayer_en_GB.ts \
     619               translations/smplayer_sq_AL.ts translations/smplayer_am.ts \
     620               translations/smplayer_fa.ts
     621
Note: See TracChangeset for help on using the changeset viewer.