| 1 | TEMPLATE = app
|
|---|
| 2 | LANGUAGE = C++
|
|---|
| 3 |
|
|---|
| 4 | CONFIG += qt warn_on
|
|---|
| 5 | CONFIG += release
|
|---|
| 6 | #CONFIG += debug
|
|---|
| 7 |
|
|---|
| 8 | QT += network xml
|
|---|
| 9 |
|
|---|
| 10 | RESOURCES = icons.qrc
|
|---|
| 11 |
|
|---|
| 12 | #DEFINES += EXPERIMENTAL
|
|---|
| 13 | DEFINES += SINGLE_INSTANCE
|
|---|
| 14 | DEFINES += FIND_SUBTITLES
|
|---|
| 15 | DEFINES += VIDEOPREVIEW
|
|---|
| 16 | DEFINES += YOUTUBE_SUPPORT
|
|---|
| 17 | DEFINES += YT_USE_SCRIPT
|
|---|
| 18 | DEFINES += BLURAY_SUPPORT
|
|---|
| 19 | DEFINES += GUI_CHANGE_ON_RUNTIME
|
|---|
| 20 | DEFINES += LOG_MPLAYER
|
|---|
| 21 | DEFINES += LOG_SMPLAYER
|
|---|
| 22 | DEFINES += MPCGUI
|
|---|
| 23 | DEFINES += SKINS
|
|---|
| 24 | DEFINES += UPDATE_CHECKER
|
|---|
| 25 | DEFINES += CHECK_UPGRADED
|
|---|
| 26 | DEFINES += REMINDER_ACTIONS
|
|---|
| 27 | #DEFINES += USE_FONTCONFIG_OPTIONS
|
|---|
| 28 | !os2 {
|
|---|
| 29 | DEFINES += AUTO_SHUTDOWN_PC
|
|---|
| 30 | }
|
|---|
| 31 |
|
|---|
| 32 | isEqual(QT_MAJOR_VERSION, 5) {
|
|---|
| 33 | QT += widgets gui
|
|---|
| 34 | #DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x040000
|
|---|
| 35 | DEFINES -= MPCGUI
|
|---|
| 36 | }
|
|---|
| 37 |
|
|---|
| 38 | contains(QT_VERSION, ^4\\.[0-3]\\..*) {
|
|---|
| 39 | message("Some features requires Qt > 4.3.")
|
|---|
| 40 |
|
|---|
| 41 | contains( DEFINES, SINGLE_INSTANCE ) {
|
|---|
| 42 | DEFINES -= SINGLE_INSTANCE
|
|---|
| 43 | message("SINGLE_INSTANCE disabled.")
|
|---|
| 44 | }
|
|---|
| 45 |
|
|---|
| 46 | contains( DEFINES, YOUTUBE_SUPPORT ) {
|
|---|
| 47 | DEFINES -= YOUTUBE_SUPPORT
|
|---|
| 48 | message("YOUTUBE_SUPPORT disabled.")
|
|---|
| 49 | }
|
|---|
| 50 |
|
|---|
| 51 | contains( DEFINES, SKINS ) {
|
|---|
| 52 | DEFINES -= SKINS
|
|---|
| 53 | message("SKINS disabled.")
|
|---|
| 54 | }
|
|---|
| 55 |
|
|---|
| 56 | contains( DEFINES, FIND_SUBTITLES ) {
|
|---|
| 57 | DEFINES -= FIND_SUBTITLES
|
|---|
| 58 | message("FIND_SUBTITLES disabled.")
|
|---|
| 59 | }
|
|---|
| 60 |
|
|---|
| 61 | contains( DEFINES, UPDATE_CHECKER ) {
|
|---|
| 62 | DEFINES -= UPDATE_CHECKER
|
|---|
| 63 | message("UPDATE_CHECKER disabled.")
|
|---|
| 64 | }
|
|---|
| 65 | }
|
|---|
| 66 |
|
|---|
| 67 | HEADERS += guiconfig.h \
|
|---|
| 68 | config.h \
|
|---|
| 69 | constants.h \
|
|---|
| 70 | svn_revision.h \
|
|---|
| 71 | version.h \
|
|---|
| 72 | chapters.h \
|
|---|
| 73 | global.h \
|
|---|
| 74 | paths.h \
|
|---|
| 75 | helper.h \
|
|---|
| 76 | colorutils.h \
|
|---|
| 77 | translator.h \
|
|---|
| 78 | subtracks.h \
|
|---|
| 79 | tracks.h \
|
|---|
| 80 | titletracks.h \
|
|---|
| 81 | discname.h \
|
|---|
| 82 | extensions.h \
|
|---|
| 83 | desktopinfo.h \
|
|---|
| 84 | myprocess.h \
|
|---|
| 85 | mplayerversion.h \
|
|---|
| 86 | mplayerprocess.h \
|
|---|
| 87 | infoprovider.h \
|
|---|
| 88 | mplayerwindow.h \
|
|---|
| 89 | mediadata.h \
|
|---|
| 90 | audioequalizerlist.h \
|
|---|
| 91 | mediasettings.h \
|
|---|
| 92 | assstyles.h \
|
|---|
| 93 | filters.h \
|
|---|
| 94 | preferences.h \
|
|---|
| 95 | filesettingsbase.h \
|
|---|
| 96 | filesettings.h \
|
|---|
| 97 | filesettingshash.h \
|
|---|
| 98 | filehash.h \
|
|---|
| 99 | tvsettings.h \
|
|---|
| 100 | images.h \
|
|---|
| 101 | inforeader.h \
|
|---|
| 102 | deviceinfo.h \
|
|---|
| 103 | recents.h \
|
|---|
| 104 | urlhistory.h \
|
|---|
| 105 | core.h \
|
|---|
| 106 | logwindow.h \
|
|---|
| 107 | infofile.h \
|
|---|
| 108 | seekwidget.h \
|
|---|
| 109 | mytablewidget.h \
|
|---|
| 110 | shortcutgetter.h \
|
|---|
| 111 | actionseditor.h \
|
|---|
| 112 | filechooser.h \
|
|---|
| 113 | vdpauproperties.h \
|
|---|
| 114 | preferencesdialog.h \
|
|---|
| 115 | lineedit_with_icon.h \
|
|---|
| 116 | mylineedit.h \
|
|---|
| 117 | mycombobox.h \
|
|---|
| 118 | tristatecombo.h \
|
|---|
| 119 | languages.h \
|
|---|
| 120 | selectcolorbutton.h \
|
|---|
| 121 | prefwidget.h \
|
|---|
| 122 | prefgeneral.h \
|
|---|
| 123 | prefdrives.h \
|
|---|
| 124 | prefinterface.h \
|
|---|
| 125 | prefperformance.h \
|
|---|
| 126 | prefinput.h \
|
|---|
| 127 | prefsubtitles.h \
|
|---|
| 128 | prefadvanced.h \
|
|---|
| 129 | prefplaylist.h \
|
|---|
| 130 | preftv.h \
|
|---|
| 131 | prefupdates.h \
|
|---|
| 132 | filepropertiesdialog.h \
|
|---|
| 133 | multilineinputdialog.h \
|
|---|
| 134 | playlist.h \
|
|---|
| 135 | playlistdock.h \
|
|---|
| 136 | verticaltext.h \
|
|---|
| 137 | eqslider.h \
|
|---|
| 138 | videoequalizer.h \
|
|---|
| 139 | audioequalizer.h \
|
|---|
| 140 | myslider.h \
|
|---|
| 141 | timeslider.h \
|
|---|
| 142 | inputdvddirectory.h \
|
|---|
| 143 | inputurl.h \
|
|---|
| 144 | myaction.h \
|
|---|
| 145 | myactiongroup.h \
|
|---|
| 146 | filedialog.h \
|
|---|
| 147 | inputmplayerversion.h \
|
|---|
| 148 | about.h \
|
|---|
| 149 | errordialog.h \
|
|---|
| 150 | timedialog.h \
|
|---|
| 151 | favorites.h \
|
|---|
| 152 | tvlist.h \
|
|---|
| 153 | favoriteeditor.h \
|
|---|
| 154 | basegui.h \
|
|---|
| 155 | baseguiplus.h \
|
|---|
| 156 | autohidewidget.h \
|
|---|
| 157 | widgetactions.h \
|
|---|
| 158 | toolbareditor.h \
|
|---|
| 159 | editabletoolbar.h \
|
|---|
| 160 | defaultgui.h \
|
|---|
| 161 | minigui.h \
|
|---|
| 162 | clhelp.h \
|
|---|
| 163 | cleanconfig.h \
|
|---|
| 164 | smplayer.h \
|
|---|
| 165 | myapplication.h
|
|---|
| 166 |
|
|---|
| 167 |
|
|---|
| 168 | SOURCES += version.cpp \
|
|---|
| 169 | global.cpp \
|
|---|
| 170 | paths.cpp \
|
|---|
| 171 | chapters.cpp \
|
|---|
| 172 | helper.cpp \
|
|---|
| 173 | colorutils.cpp \
|
|---|
| 174 | translator.cpp \
|
|---|
| 175 | subtracks.cpp \
|
|---|
| 176 | tracks.cpp \
|
|---|
| 177 | titletracks.cpp \
|
|---|
| 178 | discname.cpp \
|
|---|
| 179 | extensions.cpp \
|
|---|
| 180 | desktopinfo.cpp \
|
|---|
| 181 | myprocess.cpp \
|
|---|
| 182 | mplayerversion.cpp \
|
|---|
| 183 | mplayerprocess.cpp \
|
|---|
| 184 | infoprovider.cpp \
|
|---|
| 185 | mplayerwindow.cpp \
|
|---|
| 186 | mediadata.cpp \
|
|---|
| 187 | mediasettings.cpp \
|
|---|
| 188 | assstyles.cpp \
|
|---|
| 189 | filters.cpp \
|
|---|
| 190 | preferences.cpp \
|
|---|
| 191 | filesettingsbase.cpp \
|
|---|
| 192 | filesettings.cpp \
|
|---|
| 193 | filesettingshash.cpp \
|
|---|
| 194 | filehash.cpp \
|
|---|
| 195 | tvsettings.cpp \
|
|---|
| 196 | images.cpp \
|
|---|
| 197 | inforeader.cpp \
|
|---|
| 198 | deviceinfo.cpp \
|
|---|
| 199 | recents.cpp \
|
|---|
| 200 | urlhistory.cpp \
|
|---|
| 201 | core.cpp \
|
|---|
| 202 | logwindow.cpp \
|
|---|
| 203 | infofile.cpp \
|
|---|
| 204 | seekwidget.cpp \
|
|---|
| 205 | mytablewidget.cpp \
|
|---|
| 206 | shortcutgetter.cpp \
|
|---|
| 207 | actionseditor.cpp \
|
|---|
| 208 | filechooser.cpp \
|
|---|
| 209 | vdpauproperties.cpp \
|
|---|
| 210 | preferencesdialog.cpp \
|
|---|
| 211 | lineedit_with_icon.cpp \
|
|---|
| 212 | mylineedit.cpp \
|
|---|
| 213 | mycombobox.cpp \
|
|---|
| 214 | tristatecombo.cpp \
|
|---|
| 215 | languages.cpp \
|
|---|
| 216 | selectcolorbutton.cpp \
|
|---|
| 217 | prefwidget.cpp \
|
|---|
| 218 | prefgeneral.cpp \
|
|---|
| 219 | prefdrives.cpp \
|
|---|
| 220 | prefinterface.cpp \
|
|---|
| 221 | prefperformance.cpp \
|
|---|
| 222 | prefinput.cpp \
|
|---|
| 223 | prefsubtitles.cpp \
|
|---|
| 224 | prefadvanced.cpp \
|
|---|
| 225 | prefplaylist.cpp \
|
|---|
| 226 | preftv.cpp \
|
|---|
| 227 | prefupdates.cpp \
|
|---|
| 228 | filepropertiesdialog.cpp \
|
|---|
| 229 | multilineinputdialog.cpp \
|
|---|
| 230 | playlist.cpp \
|
|---|
| 231 | playlistdock.cpp \
|
|---|
| 232 | verticaltext.cpp \
|
|---|
| 233 | eqslider.cpp \
|
|---|
| 234 | videoequalizer.cpp \
|
|---|
| 235 | audioequalizer.cpp \
|
|---|
| 236 | myslider.cpp \
|
|---|
| 237 | timeslider.cpp \
|
|---|
| 238 | inputdvddirectory.cpp \
|
|---|
| 239 | inputurl.cpp \
|
|---|
| 240 | myaction.cpp \
|
|---|
| 241 | myactiongroup.cpp \
|
|---|
| 242 | filedialog.cpp \
|
|---|
| 243 | inputmplayerversion.cpp \
|
|---|
| 244 | about.cpp \
|
|---|
| 245 | errordialog.cpp \
|
|---|
| 246 | timedialog.cpp \
|
|---|
| 247 | favorites.cpp \
|
|---|
| 248 | tvlist.cpp \
|
|---|
| 249 | favoriteeditor.cpp \
|
|---|
| 250 | basegui.cpp \
|
|---|
| 251 | baseguiplus.cpp \
|
|---|
| 252 | autohidewidget.cpp \
|
|---|
| 253 | widgetactions.cpp \
|
|---|
| 254 | toolbareditor.cpp \
|
|---|
| 255 | editabletoolbar.cpp \
|
|---|
| 256 | defaultgui.cpp \
|
|---|
| 257 | minigui.cpp \
|
|---|
| 258 | clhelp.cpp \
|
|---|
| 259 | cleanconfig.cpp \
|
|---|
| 260 | smplayer.cpp \
|
|---|
| 261 | myapplication.cpp \
|
|---|
| 262 | main.cpp
|
|---|
| 263 |
|
|---|
| 264 | FORMS = inputdvddirectory.ui logwindowbase.ui filepropertiesdialog.ui \
|
|---|
| 265 | eqslider.ui seekwidget.ui inputurl.ui videoequalizer.ui vdpauproperties.ui \
|
|---|
| 266 | preferencesdialog.ui prefgeneral.ui prefdrives.ui prefinterface.ui \
|
|---|
| 267 | 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 \
|
|---|
| 270 | toolbareditor.ui multilineinputdialog.ui
|
|---|
| 271 |
|
|---|
| 272 | # qtsingleapplication
|
|---|
| 273 | contains( DEFINES, SINGLE_INSTANCE ) {
|
|---|
| 274 | INCLUDEPATH += qtsingleapplication
|
|---|
| 275 | DEPENDPATH += qtsingleapplication
|
|---|
| 276 |
|
|---|
| 277 | SOURCES += qtsingleapplication/qtsingleapplication.cpp qtsingleapplication/qtlocalpeer.cpp
|
|---|
| 278 | HEADERS += qtsingleapplication/qtsingleapplication.h qtsingleapplication/qtlocalpeer.h
|
|---|
| 279 | }
|
|---|
| 280 |
|
|---|
| 281 | # Find subtitles dialog
|
|---|
| 282 | contains( DEFINES, FIND_SUBTITLES ) {
|
|---|
| 283 | DEFINES += DOWNLOAD_SUBS
|
|---|
| 284 | #DEFINES += USE_QUAZIP
|
|---|
| 285 |
|
|---|
| 286 | INCLUDEPATH += findsubtitles
|
|---|
| 287 | DEPENDPATH += findsubtitles
|
|---|
| 288 |
|
|---|
| 289 | INCLUDEPATH += findsubtitles/maia
|
|---|
| 290 | DEPENDPATH += findsubtitles/maia
|
|---|
| 291 |
|
|---|
| 292 | HEADERS += findsubtitles/findsubtitlesconfigdialog.h findsubtitles/findsubtitleswindow.h
|
|---|
| 293 | SOURCES += findsubtitles/findsubtitlesconfigdialog.cpp findsubtitles/findsubtitleswindow.cpp
|
|---|
| 294 | FORMS += findsubtitles/findsubtitleswindow.ui findsubtitles/findsubtitlesconfigdialog.ui
|
|---|
| 295 |
|
|---|
| 296 | # xmlrpc client code to connect to opensubtitles.org
|
|---|
| 297 | HEADERS += findsubtitles/maia/maiaObject.h findsubtitles/maia/maiaFault.h findsubtitles/maia/maiaXmlRpcClient.h findsubtitles/osclient.h
|
|---|
| 298 | SOURCES += findsubtitles/maia/maiaObject.cpp findsubtitles/maia/maiaFault.cpp findsubtitles/maia/maiaXmlRpcClient.cpp findsubtitles/osclient.cpp
|
|---|
| 299 | }
|
|---|
| 300 |
|
|---|
| 301 | # Download subtitles
|
|---|
| 302 | contains( DEFINES, DOWNLOAD_SUBS ) {
|
|---|
| 303 | INCLUDEPATH += findsubtitles/filedownloader
|
|---|
| 304 | DEPENDPATH += findsubtitles/filedownloader
|
|---|
| 305 |
|
|---|
| 306 | HEADERS += findsubtitles/filedownloader/filedownloader.h findsubtitles/subchooserdialog.h findsubtitles/fixsubs.h
|
|---|
| 307 | SOURCES += findsubtitles/filedownloader/filedownloader.cpp findsubtitles/subchooserdialog.cpp findsubtitles/fixsubs.cpp
|
|---|
| 308 |
|
|---|
| 309 | FORMS += findsubtitles/subchooserdialog.ui
|
|---|
| 310 |
|
|---|
| 311 | contains( DEFINES, USE_QUAZIP ) {
|
|---|
| 312 | INCLUDEPATH += findsubtitles/quazip
|
|---|
| 313 | DEPENDPATH += findsubtitles/quazip
|
|---|
| 314 |
|
|---|
| 315 | HEADERS += crypt.h \
|
|---|
| 316 | ioapi.h \
|
|---|
| 317 | quazip.h \
|
|---|
| 318 | quazipfile.h \
|
|---|
| 319 | quazipfileinfo.h \
|
|---|
| 320 | quazipnewinfo.h \
|
|---|
| 321 | unzip.h \
|
|---|
| 322 | zip.h
|
|---|
| 323 |
|
|---|
| 324 | SOURCES += ioapi.c \
|
|---|
| 325 | quazip.cpp \
|
|---|
| 326 | quazipfile.cpp \
|
|---|
| 327 | quazipnewinfo.cpp \
|
|---|
| 328 | unzip.c \
|
|---|
| 329 | zip.c
|
|---|
| 330 | }
|
|---|
| 331 |
|
|---|
| 332 | LIBS += -lz
|
|---|
| 333 |
|
|---|
| 334 | win32 {
|
|---|
| 335 | INCLUDEPATH += ..\\zlib
|
|---|
| 336 | LIBS += -L..\\zlib
|
|---|
| 337 | }
|
|---|
| 338 | }
|
|---|
| 339 |
|
|---|
| 340 | # Youtube support
|
|---|
| 341 | contains( DEFINES, YOUTUBE_SUPPORT ) {
|
|---|
| 342 | INCLUDEPATH += youtube
|
|---|
| 343 | DEPENDPATH += youtube
|
|---|
| 344 |
|
|---|
| 345 | HEADERS += youtube/retrieveyoutubeurl.h youtube/ytsig.h
|
|---|
| 346 | SOURCES += youtube/retrieveyoutubeurl.cpp youtube/ytsig.cpp
|
|---|
| 347 |
|
|---|
| 348 | contains( DEFINES, YT_USE_SCRIPT ) {
|
|---|
| 349 | HEADERS += youtube/codedownloader.h
|
|---|
| 350 | SOURCES += youtube/codedownloader.cpp
|
|---|
| 351 | QT += script
|
|---|
| 352 | } else {
|
|---|
| 353 | #DEFINES += YTSIG_STATIC
|
|---|
| 354 | }
|
|---|
| 355 | }
|
|---|
| 356 |
|
|---|
| 357 | # mpcgui
|
|---|
| 358 | contains( DEFINES, MPCGUI ) {
|
|---|
| 359 | INCLUDEPATH += mpcgui
|
|---|
| 360 | DEPENDPATH += mpcgui
|
|---|
| 361 |
|
|---|
| 362 | HEADERS += mpcgui/mpcgui.h mpcgui/mpcstyles.h
|
|---|
| 363 | SOURCES += mpcgui/mpcgui.cpp mpcgui/mpcstyles.cpp
|
|---|
| 364 | }
|
|---|
| 365 |
|
|---|
| 366 | # Skins support
|
|---|
| 367 | contains( DEFINES, SKINS ) {
|
|---|
| 368 | INCLUDEPATH += skingui
|
|---|
| 369 | DEPENDPATH += skingui
|
|---|
| 370 |
|
|---|
| 371 | HEADERS += skingui/myicon.h skingui/mybutton.h skingui/panelseeker.h skingui/playcontrol.h \
|
|---|
| 372 | skingui/mediapanel.h skingui/volumecontrolpanel.h skingui/mediabarpanel.h \
|
|---|
| 373 | skingui/qpropertysetter.h skingui/actiontools.h skingui/skingui.h
|
|---|
| 374 | SOURCES += skingui/myicon.cpp skingui/mybutton.cpp skingui/panelseeker.cpp skingui/playcontrol.cpp \
|
|---|
| 375 | skingui/mediapanel.cpp skingui/volumecontrolpanel.cpp skingui/mediabarpanel.cpp \
|
|---|
| 376 | skingui/qpropertysetter.cpp skingui/actiontools.cpp skingui/skingui.cpp
|
|---|
| 377 | FORMS += skingui/mediapanel.ui skingui/mediabarpanel.ui
|
|---|
| 378 | }
|
|---|
| 379 |
|
|---|
| 380 | # Update checker
|
|---|
| 381 | contains( DEFINES, UPDATE_CHECKER ) {
|
|---|
| 382 | HEADERS += updatechecker.h
|
|---|
| 383 | SOURCES += updatechecker.CPP
|
|---|
| 384 | }
|
|---|
| 385 |
|
|---|
| 386 | # Videopreview
|
|---|
| 387 | contains( DEFINES, VIDEOPREVIEW ) {
|
|---|
| 388 | INCLUDEPATH += videopreview
|
|---|
| 389 | DEPENDPATH += videopreview
|
|---|
| 390 |
|
|---|
| 391 | HEADERS += videopreview/videopreview.h videopreview/videopreviewconfigdialog.h
|
|---|
| 392 | SOURCES += videopreview/videopreview.cpp videopreview/videopreviewconfigdialog.cpp
|
|---|
| 393 |
|
|---|
| 394 | FORMS += videopreview/videopreviewconfigdialog.ui
|
|---|
| 395 | }
|
|---|
| 396 |
|
|---|
| 397 | contains( DEFINES, REMINDER_ACTIONS ) {
|
|---|
| 398 | HEADERS += sharedialog.h
|
|---|
| 399 | SOURCES += sharedialog.cpp
|
|---|
| 400 | FORMS += sharedialog.ui
|
|---|
| 401 | }
|
|---|
| 402 |
|
|---|
| 403 | contains( DEFINES, AUTO_SHUTDOWN_PC ) {
|
|---|
| 404 | HEADERS += shutdowndialog.h shutdown.h
|
|---|
| 405 | SOURCES += shutdowndialog.cpp shutdown.cpp
|
|---|
| 406 | FORMS += shutdowndialog.ui
|
|---|
| 407 |
|
|---|
| 408 | unix { QT += dbus }
|
|---|
| 409 | }
|
|---|
| 410 |
|
|---|
| 411 | unix {
|
|---|
| 412 | UI_DIR = .ui
|
|---|
| 413 | MOC_DIR = .moc
|
|---|
| 414 | OBJECTS_DIR = .obj
|
|---|
| 415 |
|
|---|
| 416 | DEFINES += DATA_PATH=$(DATA_PATH)
|
|---|
| 417 | DEFINES += DOC_PATH=$(DOC_PATH)
|
|---|
| 418 | DEFINES += TRANSLATION_PATH=$(TRANSLATION_PATH)
|
|---|
| 419 | DEFINES += THEMES_PATH=$(THEMES_PATH)
|
|---|
| 420 | DEFINES += SHORTCUTS_PATH=$(SHORTCUTS_PATH)
|
|---|
| 421 | #DEFINES += NO_DEBUG_ON_CONSOLE
|
|---|
| 422 | }
|
|---|
| 423 |
|
|---|
| 424 | win32 {
|
|---|
| 425 | DEFINES += SCREENSAVER_OFF
|
|---|
| 426 | DEFINES += AVOID_SCREENSAVER
|
|---|
| 427 | #DEFINES += FONTCACHE_DIALOG
|
|---|
| 428 | DEFINES += USE_FONTCONFIG_OPTIONS
|
|---|
| 429 |
|
|---|
| 430 | contains( DEFINES, SCREENSAVER_OFF ) {
|
|---|
| 431 | HEADERS += screensaver.h
|
|---|
| 432 | SOURCES += screensaver.cpp
|
|---|
| 433 | }
|
|---|
| 434 |
|
|---|
| 435 | contains( DEFINES, FONTCACHE_DIALOG ) {
|
|---|
| 436 | HEADERS += fontcache.h
|
|---|
| 437 | SOURCES += fontcache.cpp
|
|---|
| 438 | }
|
|---|
| 439 |
|
|---|
| 440 | !contains( DEFINES, PORTABLE_APP ) {
|
|---|
| 441 | DEFINES += USE_ASSOCIATIONS
|
|---|
| 442 | }
|
|---|
| 443 |
|
|---|
| 444 | contains( DEFINES, USE_ASSOCIATIONS ) {
|
|---|
| 445 | HEADERS += prefassociations.h winfileassoc.h
|
|---|
| 446 | SOURCES += prefassociations.cpp winfileassoc.cpp
|
|---|
| 447 | FORMS += prefassociations.ui
|
|---|
| 448 | }
|
|---|
| 449 |
|
|---|
| 450 | contains(TEMPLATE,vcapp) {
|
|---|
| 451 | LIBS += ole32.lib user32.lib
|
|---|
| 452 | } else {
|
|---|
| 453 | LIBS += libole32
|
|---|
| 454 | }
|
|---|
| 455 |
|
|---|
| 456 | RC_FILE = smplayer.rc
|
|---|
| 457 | DEFINES += NO_DEBUG_ON_CONSOLE
|
|---|
| 458 | #debug {
|
|---|
| 459 | # CONFIG += console
|
|---|
| 460 | #}
|
|---|
| 461 | }
|
|---|
| 462 |
|
|---|
| 463 | os2 {
|
|---|
| 464 | DEFINES += SCREENSAVER_OFF
|
|---|
| 465 | DEFINES += AVOID_SCREENSAVER
|
|---|
| 466 | INCLUDEPATH += .
|
|---|
| 467 | contains( DEFINES, SCREENSAVER_OFF ) {
|
|---|
| 468 | HEADERS += screensaver.h
|
|---|
| 469 | SOURCES += screensaver.cpp
|
|---|
| 470 | }
|
|---|
| 471 | RC_FILE = smplayer_os2.rc
|
|---|
| 472 |
|
|---|
| 473 | # define the vendor part
|
|---|
| 474 | DEF_FILE_VENDOR = bww bitwise works GmbH
|
|---|
| 475 | DEF_FILE_VERSION = $$APPLICATION_VERSION
|
|---|
| 476 | DEF_FILE_DESCRIPTION = eCS (OS/2) port of SMPlayer
|
|---|
| 477 | }
|
|---|
| 478 |
|
|---|
| 479 |
|
|---|
| 480 | TRANSLATIONS = translations/smplayer_es.ts translations/smplayer_de.ts \
|
|---|
| 481 | translations/smplayer_sk.ts translations/smplayer_it.ts \
|
|---|
| 482 | translations/smplayer_fr.ts translations/smplayer_zh_CN.ts \
|
|---|
| 483 | translations/smplayer_ru_RU.ts translations/smplayer_hu.ts \
|
|---|
| 484 | translations/smplayer_en_US.ts translations/smplayer_pl.ts \
|
|---|
| 485 | translations/smplayer_ja.ts translations/smplayer_nl.ts \
|
|---|
| 486 | translations/smplayer_uk_UA.ts translations/smplayer_pt_BR.ts \
|
|---|
| 487 | translations/smplayer_ka.ts translations/smplayer_cs.ts \
|
|---|
| 488 | translations/smplayer_bg.ts translations/smplayer_tr.ts \
|
|---|
| 489 | translations/smplayer_sv.ts translations/smplayer_sr.ts \
|
|---|
| 490 | translations/smplayer_zh_TW.ts translations/smplayer_ro_RO.ts \
|
|---|
| 491 | translations/smplayer_pt.ts translations/smplayer_el_GR.ts \
|
|---|
| 492 | translations/smplayer_fi.ts translations/smplayer_ko.ts \
|
|---|
| 493 | translations/smplayer_mk.ts translations/smplayer_eu.ts \
|
|---|
| 494 | translations/smplayer_ca.ts translations/smplayer_sl_SI.ts \
|
|---|
| 495 | translations/smplayer_ar_SY.ts translations/smplayer_ku.ts \
|
|---|
| 496 | translations/smplayer_gl.ts translations/smplayer_vi_VN.ts \
|
|---|
| 497 | translations/smplayer_et.ts translations/smplayer_lt.ts \
|
|---|
| 498 | translations/smplayer_da.ts translations/smplayer_hr.ts \
|
|---|
| 499 | translations/smplayer_he_IL.ts translations/smplayer_th.ts \
|
|---|
| 500 | translations/smplayer_ms_MY.ts translations/smplayer_uz.ts \
|
|---|
| 501 | translations/smplayer_nn_NO.ts translations/smplayer_id.ts \
|
|---|
| 502 | translations/smplayer_ar.ts translations/smplayer_en_GB.ts
|
|---|