Changeset 175 for smplayer/vendor/current/src/smplayer.pro
- Timestamp:
- May 3, 2016, 2:14:41 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
smplayer/vendor/current/src/smplayer.pro
r168 r175 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 DEFINES += MPRIS2 24 26 DEFINES += UPDATE_CHECKER 25 27 DEFINES += CHECK_UPGRADED 26 DEFINES += REMINDER_ACTIONS27 #DEFINES += USE_FONTCONFIG_OPTIONS28 28 DEFINES += AUTO_SHUTDOWN_PC 29 DEFINES += CAPTURE_STREAM 30 DEFINES += BOOKMARKS 31 DEFINES += MOUSE_GESTURES 32 33 DEFINES += MPV_SUPPORT 34 DEFINES += MPLAYER_SUPPORT 35 36 # Whether to include support for the obsolete mplayer2 or not 37 # (requires MPLAYER_SUPPORT) 38 DEFINES += 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 47 DEFINES += SHARE_ACTIONS 48 DEFINES += SHARE_WIDGET 49 50 51 #DEFINES += SIMPLE_BUILD 52 53 contains( 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 } 29 70 30 71 isEqual(QT_MAJOR_VERSION, 5) { … … 32 73 #DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x040000 33 74 DEFINES -= MPCGUI 75 win32 { 76 DEFINES -= MPRIS2 77 } 34 78 } 35 79 … … 66 110 config.h \ 67 111 constants.h \ 112 links.h \ 68 113 svn_revision.h \ 69 114 version.h \ … … 82 127 myprocess.h \ 83 128 mplayerversion.h \ 84 mplayerprocess.h \ 129 playerid.h \ 130 playerprocess.h \ 85 131 infoprovider.h \ 86 132 mplayerwindow.h \ … … 128 174 preftv.h \ 129 175 prefupdates.h \ 176 prefnetwork.h \ 130 177 filepropertiesdialog.h \ 131 178 multilineinputdialog.h \ … … 140 187 inputdvddirectory.h \ 141 188 inputurl.h \ 189 stereo3ddialog.h \ 142 190 myaction.h \ 143 191 myactiongroup.h \ … … 150 198 tvlist.h \ 151 199 favoriteeditor.h \ 200 statewidget.h \ 152 201 basegui.h \ 153 202 baseguiplus.h \ … … 156 205 toolbareditor.h \ 157 206 editabletoolbar.h \ 158 defaultgui.h \159 minigui.h \160 207 clhelp.h \ 161 208 cleanconfig.h \ … … 179 226 myprocess.cpp \ 180 227 mplayerversion.cpp \ 181 mplayerprocess.cpp \ 228 playerid.cpp \ 229 playerprocess.cpp \ 182 230 infoprovider.cpp \ 183 231 mplayerwindow.cpp \ … … 224 272 preftv.cpp \ 225 273 prefupdates.cpp \ 274 prefnetwork.cpp \ 226 275 filepropertiesdialog.cpp \ 227 276 multilineinputdialog.cpp \ … … 236 285 inputdvddirectory.cpp \ 237 286 inputurl.cpp \ 287 stereo3ddialog.cpp \ 238 288 myaction.cpp \ 239 289 myactiongroup.cpp \ … … 246 296 tvlist.cpp \ 247 297 favoriteeditor.cpp \ 298 statewidget.cpp \ 248 299 basegui.cpp \ 249 300 baseguiplus.cpp \ … … 252 303 toolbareditor.cpp \ 253 304 editabletoolbar.cpp \ 254 defaultgui.cpp \255 minigui.cpp \256 305 clhelp.cpp \ 257 306 cleanconfig.cpp \ … … 264 313 preferencesdialog.ui prefgeneral.ui prefdrives.ui prefinterface.ui \ 265 314 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 \ 268 317 toolbareditor.ui multilineinputdialog.ui 318 319 contains( DEFINES, MPV_SUPPORT ) { 320 HEADERS += mpvprocess.h inforeadermpv.h 321 SOURCES += mpvprocess.cpp inforeadermpv.cpp 322 } 323 324 contains( DEFINES, MPLAYER_SUPPORT ) { 325 HEADERS += mplayerprocess.h inforeadermplayer.h 326 SOURCES += mplayerprocess.cpp inforeadermplayer.cpp 327 } 269 328 270 329 # qtsingleapplication … … 280 339 contains( DEFINES, FIND_SUBTITLES ) { 281 340 DEFINES += DOWNLOAD_SUBS 341 DEFINES += OS_SEARCH_WORKAROUND 282 342 #DEFINES += USE_QUAZIP 283 343 … … 338 398 # Youtube support 339 399 contains( DEFINES, YOUTUBE_SUPPORT ) { 400 DEFINES += YT_USE_SCRIPT 340 401 INCLUDEPATH += youtube 341 402 DEPENDPATH += youtube 342 403 343 HEADERS += youtube/retrieveyoutubeurl.h youtube/ ytsig.h344 SOURCES += youtube/retrieveyoutubeurl.cpp youtube/ ytsig.cpp404 HEADERS += youtube/retrieveyoutubeurl.h youtube/loadpage.h 405 SOURCES += youtube/retrieveyoutubeurl.cpp youtube/loadpage.cpp 345 406 346 407 contains( DEFINES, YT_USE_SCRIPT ) { 347 HEADERS += youtube/codedownloader.h348 SOURCES += youtube/codedownloader.cpp408 DEFINES += YT_USE_SIG 409 DEFINES += YT_USE_YTSIG 349 410 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 425 contains( DEFINES, DEFAULTGUI ) { 426 HEADERS += defaultgui.h 427 SOURCES += defaultgui.cpp 428 } 429 430 # minigui 431 contains( DEFINES, MINIGUI ) { 432 HEADERS += minigui.h 433 SOURCES += minigui.cpp 353 434 } 354 435 … … 376 457 } 377 458 459 contains( 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 378 469 # Update checker 379 470 contains( DEFINES, UPDATE_CHECKER ) { 380 HEADERS += updatechecker.h 381 SOURCES += updatechecker. CPP471 HEADERS += updatechecker.h updatecheckerdata.h 472 SOURCES += updatechecker.cpp updatecheckerdata.cpp 382 473 } 383 474 … … 393 484 } 394 485 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 496 contains( DEFINES, SHARE_ACTIONS ) { 396 497 HEADERS += sharedialog.h 397 498 SOURCES += sharedialog.cpp 398 499 FORMS += sharedialog.ui 500 } 501 502 contains( DEFINES, SHARE_WIDGET|SHARE_ACTIONS ) { 503 HEADERS += sharewidget.h sharedata.h 504 SOURCES += sharewidget.cpp sharedata.cpp 399 505 } 400 506 … … 405 511 406 512 unix { QT += dbus } 513 } 514 515 contains( DEFINES, BOOKMARKS ) { 516 HEADERS += inputbookmark.h bookmarkdialog.h 517 SOURCES += inputbookmark.cpp bookmarkdialog.cpp 518 FORMS += inputbookmark.ui bookmarkdialog.ui 407 519 } 408 520 … … 424 536 DEFINES += AVOID_SCREENSAVER 425 537 #DEFINES += FONTCACHE_DIALOG 426 DEFINES += USE_FONTCONFIG_OPTIONS538 #DEFINES += FONTS_HACK 427 539 428 540 contains( DEFINES, SCREENSAVER_OFF ) { … … 492 604 translations/smplayer_ms_MY.ts translations/smplayer_uz.ts \ 493 605 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.