Changeset 176 for smplayer/trunk/src/smplayer.pro
- Timestamp:
- May 3, 2016, 5:25:45 PM (9 years ago)
- Location:
- smplayer/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
smplayer/trunk
- Property svn:mergeinfo changed
/smplayer/vendor/current merged: 175
- Property svn:mergeinfo changed
-
smplayer/trunk/src/smplayer.pro
r170 r176 15 15 DEFINES += VIDEOPREVIEW 16 16 DEFINES += YOUTUBE_SUPPORT 17 DEFINES += YT_USE_SCRIPT18 17 DEFINES += BLURAY_SUPPORT 19 18 DEFINES += GUI_CHANGE_ON_RUNTIME 20 19 DEFINES += LOG_MPLAYER 21 20 DEFINES += LOG_SMPLAYER 21 DEFINES += DEFAULTGUI 22 DEFINES += MINIGUI 22 23 DEFINES += MPCGUI 23 24 DEFINES += SKINS 25 !os2 { 26 DEFINES += MPRIS2 27 } 24 28 DEFINES += UPDATE_CHECKER 25 29 DEFINES += CHECK_UPGRADED 26 DEFINES += REMINDER_ACTIONS27 #DEFINES += USE_FONTCONFIG_OPTIONS28 30 !os2 { 29 31 DEFINES += AUTO_SHUTDOWN_PC 32 } 33 DEFINES += CAPTURE_STREAM 34 DEFINES += BOOKMARKS 35 DEFINES += MOUSE_GESTURES 36 37 !os2 { 38 DEFINES += MPV_SUPPORT 39 } 40 DEFINES += MPLAYER_SUPPORT 41 42 # Whether to include support for the obsolete mplayer2 or not 43 # (requires MPLAYER_SUPPORT) 44 DEFINES += 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 53 DEFINES += SHARE_ACTIONS 54 DEFINES += SHARE_WIDGET 55 56 57 #DEFINES += SIMPLE_BUILD 58 59 contains( 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 30 75 } 31 76 … … 34 79 #DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x040000 35 80 DEFINES -= MPCGUI 81 win32 { 82 DEFINES -= MPRIS2 83 } 36 84 } 37 85 … … 68 116 config.h \ 69 117 constants.h \ 118 links.h \ 70 119 svn_revision.h \ 71 120 version.h \ … … 84 133 myprocess.h \ 85 134 mplayerversion.h \ 86 mplayerprocess.h \ 135 playerid.h \ 136 playerprocess.h \ 87 137 infoprovider.h \ 88 138 mplayerwindow.h \ … … 130 180 preftv.h \ 131 181 prefupdates.h \ 182 prefnetwork.h \ 132 183 filepropertiesdialog.h \ 133 184 multilineinputdialog.h \ … … 142 193 inputdvddirectory.h \ 143 194 inputurl.h \ 195 stereo3ddialog.h \ 144 196 myaction.h \ 145 197 myactiongroup.h \ … … 152 204 tvlist.h \ 153 205 favoriteeditor.h \ 206 statewidget.h \ 154 207 basegui.h \ 155 208 baseguiplus.h \ … … 158 211 toolbareditor.h \ 159 212 editabletoolbar.h \ 160 defaultgui.h \161 minigui.h \162 213 clhelp.h \ 163 214 cleanconfig.h \ … … 181 232 myprocess.cpp \ 182 233 mplayerversion.cpp \ 183 mplayerprocess.cpp \ 234 playerid.cpp \ 235 playerprocess.cpp \ 184 236 infoprovider.cpp \ 185 237 mplayerwindow.cpp \ … … 226 278 preftv.cpp \ 227 279 prefupdates.cpp \ 280 prefnetwork.cpp \ 228 281 filepropertiesdialog.cpp \ 229 282 multilineinputdialog.cpp \ … … 238 291 inputdvddirectory.cpp \ 239 292 inputurl.cpp \ 293 stereo3ddialog.cpp \ 240 294 myaction.cpp \ 241 295 myactiongroup.cpp \ … … 248 302 tvlist.cpp \ 249 303 favoriteeditor.cpp \ 304 statewidget.cpp \ 250 305 basegui.cpp \ 251 306 baseguiplus.cpp \ … … 254 309 toolbareditor.cpp \ 255 310 editabletoolbar.cpp \ 256 defaultgui.cpp \257 minigui.cpp \258 311 clhelp.cpp \ 259 312 cleanconfig.cpp \ … … 266 319 preferencesdialog.ui prefgeneral.ui prefdrives.ui prefinterface.ui \ 267 320 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 \ 270 323 toolbareditor.ui multilineinputdialog.ui 324 325 contains( DEFINES, MPV_SUPPORT ) { 326 HEADERS += mpvprocess.h inforeadermpv.h 327 SOURCES += mpvprocess.cpp inforeadermpv.cpp 328 } 329 330 contains( DEFINES, MPLAYER_SUPPORT ) { 331 HEADERS += mplayerprocess.h inforeadermplayer.h 332 SOURCES += mplayerprocess.cpp inforeadermplayer.cpp 333 } 271 334 272 335 # qtsingleapplication … … 282 345 contains( DEFINES, FIND_SUBTITLES ) { 283 346 DEFINES += DOWNLOAD_SUBS 347 DEFINES += OS_SEARCH_WORKAROUND 284 348 #DEFINES += USE_QUAZIP 285 349 … … 340 404 # Youtube support 341 405 contains( DEFINES, YOUTUBE_SUPPORT ) { 406 DEFINES += YT_USE_SCRIPT 342 407 INCLUDEPATH += youtube 343 408 DEPENDPATH += youtube 344 409 345 HEADERS += youtube/retrieveyoutubeurl.h youtube/ ytsig.h346 SOURCES += youtube/retrieveyoutubeurl.cpp youtube/ ytsig.cpp410 HEADERS += youtube/retrieveyoutubeurl.h youtube/loadpage.h 411 SOURCES += youtube/retrieveyoutubeurl.cpp youtube/loadpage.cpp 347 412 348 413 contains( DEFINES, YT_USE_SCRIPT ) { 349 HEADERS += youtube/codedownloader.h350 SOURCES += youtube/codedownloader.cpp414 DEFINES += YT_USE_SIG 415 DEFINES += YT_USE_YTSIG 351 416 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 431 contains( DEFINES, DEFAULTGUI ) { 432 HEADERS += defaultgui.h 433 SOURCES += defaultgui.cpp 434 } 435 436 # minigui 437 contains( DEFINES, MINIGUI ) { 438 HEADERS += minigui.h 439 SOURCES += minigui.cpp 355 440 } 356 441 … … 378 463 } 379 464 465 contains( 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 380 475 # Update checker 381 476 contains( DEFINES, UPDATE_CHECKER ) { 382 HEADERS += updatechecker.h 383 SOURCES += updatechecker. CPP477 HEADERS += updatechecker.h updatecheckerdata.h 478 SOURCES += updatechecker.cpp updatecheckerdata.cpp 384 479 } 385 480 … … 395 490 } 396 491 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 502 contains( DEFINES, SHARE_ACTIONS ) { 398 503 HEADERS += sharedialog.h 399 504 SOURCES += sharedialog.cpp 400 505 FORMS += sharedialog.ui 506 } 507 508 contains( DEFINES, SHARE_WIDGET|SHARE_ACTIONS ) { 509 HEADERS += sharewidget.h sharedata.h 510 SOURCES += sharewidget.cpp sharedata.cpp 401 511 } 402 512 … … 407 517 408 518 unix { QT += dbus } 519 } 520 521 contains( DEFINES, BOOKMARKS ) { 522 HEADERS += inputbookmark.h bookmarkdialog.h 523 SOURCES += inputbookmark.cpp bookmarkdialog.cpp 524 FORMS += inputbookmark.ui bookmarkdialog.ui 409 525 } 410 526 … … 426 542 DEFINES += AVOID_SCREENSAVER 427 543 #DEFINES += FONTCACHE_DIALOG 428 DEFINES += USE_FONTCONFIG_OPTIONS544 #DEFINES += FONTS_HACK 429 545 430 546 contains( DEFINES, SCREENSAVER_OFF ) { … … 474 590 DEF_FILE_VENDOR = bww bitwise works GmbH 475 591 DEF_FILE_VERSION = $$APPLICATION_VERSION 476 DEF_FILE_DESCRIPTION = eCS (OS/2)port of SMPlayer592 DEF_FILE_DESCRIPTION = OS/2 and OS/2-based systems port of SMPlayer 477 593 } 478 594 … … 500 616 translations/smplayer_ms_MY.ts translations/smplayer_uz.ts \ 501 617 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.