~ubuntu-branches/debian/sid/smplayer/sid

« back to all changes in this revision

Viewing changes to src/smplayer.pro

  • Committer: Bazaar Package Importer
  • Author(s): Maia Kozheva
  • Date: 2009-03-31 23:05:43 UTC
  • mfrom: (1.2.2 upstream)
  • mto: This revision was merged to the branch mainline in revision 14.
  • Revision ID: james.westby@ubuntu.com-20090331230543-0h2hfwpwlu9opbv2
Tags: 0.6.7-1
* New upstream release. (Closes: #523791)
  - Reworked subtitle font preferences. (Closes: #503295)
  - No longer installs qt_fr.qm. (Closes: #486314)
* debian/control:
  - Bumped Standards-Version to 3.8.1.
  - Changed maintainer name (still the same person and GPG key).
  - Changed section to video.
  - Build-depend on zlib1g-dev for findsubtitles.
  - Require Qt >= 4.3 per readme.
  - Added ${misc:Depends}.
  - Make smplayer-translations depend on smplayer and smplayer recommend
    smplayer-translations, not the other way round. (Closes: #489375)
* debian/copyright:
  - Significantly expanded per-file with new upstream authors.
* debian/rules:
  - Make make use correct uic in install.
  - Clean svn_revision.
  - Removed get-orig-source - not needed with uscan --repack.
* debian/patches/01_gl_translation.patch:
  - Added patch to fix lrelease error on smplayer_gl.ts.
* Added debian/README.source for simple-patchsys.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
TEMPLATE        = app
2
 
LANGUAGE        = C++
3
 
 
4
 
CONFIG  += qt warn_on release
5
 
 
6
 
QT += network
7
 
#QT +=  opengl 
 
1
TEMPLATE = app
 
2
LANGUAGE = C++
 
3
 
 
4
CONFIG += qt warn_on release
 
5
 
 
6
QT += network xml
8
7
 
9
8
RESOURCES = icons.qrc
10
9
 
11
 
INCLUDEPATH += corelib
12
 
DEPENDPATH += corelib
 
10
INCLUDEPATH += findsubtitles videopreview mpcgui
 
11
DEPENDPATH += findsubtitles videopreview mpcgui
13
12
 
14
13
#DEFINES += USE_QXT
15
14
 
16
 
HEADERS += guiconfig.h \
17
 
    corelib/config.h \
18
 
        corelib/constants.h \
 
15
DEFINES += DOWNLOAD_SUBS
 
16
 
 
17
HEADERS += guiconfig.h \
 
18
        config.h \
 
19
        constants.h \
19
20
        svn_revision.h \
20
21
        version.h \
21
 
        corelib/global.h \
22
 
        corelib/helper.h \
 
22
        global.h \
 
23
        paths.h \
 
24
        helper.h \
 
25
        colorutils.h \
23
26
        translator.h \
24
 
        corelib/subtracks.h \
25
 
        corelib/trackdata.h \
26
 
        corelib/tracks.h \
 
27
        subtracks.h \
 
28
        tracks.h \
 
29
        titletracks.h \
 
30
        discname.h \
27
31
        extensions.h \
28
 
        corelib/desktopinfo.h \
29
 
        corelib/myprocess.h \
30
 
        corelib/mplayerversion.h \
31
 
        corelib/mplayerprocess.h \
32
 
    corelib/infoprovider.h \
33
 
        corelib/mplayerwindow.h \
34
 
        corelib/mediadata.h \
35
 
        corelib/mediasettings.h \
36
 
        corelib/preferences.h \
 
32
        desktopinfo.h \
 
33
        myprocess.h \
 
34
        mplayerversion.h \
 
35
        mplayerprocess.h \
 
36
        infoprovider.h \
 
37
        mplayerwindow.h \
 
38
        mediadata.h \
 
39
        audioequalizerlist.h \
 
40
        mediasettings.h \
 
41
        assstyles.h \
 
42
        preferences.h \
 
43
        filesettingsbase.h \
 
44
        filesettings.h \
 
45
        filesettingshash.cpp \
37
46
        images.h \
38
47
        inforeader.h \
 
48
        deviceinfo.h \
39
49
        recents.h \
40
 
        corelib/core.h \
 
50
        urlhistory.h \
 
51
        core.h \
41
52
        logwindow.h \
42
53
        infofile.h \
43
 
        encodings.h \
44
54
        seekwidget.h \
45
55
        mytablewidget.h \
46
56
        shortcutgetter.h \
47
57
        actionseditor.h \
48
 
    filechooser.h \
 
58
        filechooser.h \
49
59
        preferencesdialog.h \
50
60
        mycombobox.h \
51
61
        tristatecombo.h \
 
62
        languages.h \
 
63
        selectcolorbutton.h \
52
64
        prefwidget.h \
53
65
        prefgeneral.h \
54
66
        prefdrives.h \
57
69
        prefinput.h \
58
70
        prefsubtitles.h \
59
71
        prefadvanced.h \
 
72
        prefplaylist.h \
60
73
        filepropertiesdialog.h \
61
74
        playlist.h \
62
75
        playlistpreferences.h \
64
77
        verticaltext.h \
65
78
        eqslider.h \
66
79
        videoequalizer.h \
67
 
    myslider.h \
 
80
        audioequalizer.h \
 
81
        myslider.h \
68
82
        timeslider.h \
69
83
        inputdvddirectory.h \
70
84
        inputurl.h \
75
89
        filedialog.h \
76
90
        inputmplayerversion.h \
77
91
        about.h \
78
 
    errordialog.h \
79
 
    timedialog.h \
 
92
        errordialog.h \
 
93
        timedialog.h \
 
94
        findsubtitles/simplehttp.h \
 
95
        findsubtitles/osparser.h \
 
96
        findsubtitles/findsubtitlesconfigdialog.h \
 
97
        findsubtitles/findsubtitleswindow.h \
 
98
        videopreview/videopreview.h \
 
99
        videopreview/videopreviewconfigdialog.h \
80
100
        basegui.h \
81
101
        baseguiplus.h \
82
102
        floatingwidget.h \
83
103
        widgetactions.h \
 
104
        toolbareditor.h \
84
105
        defaultgui.h \
85
106
        minigui.h \
 
107
        mpcgui/mpcgui.h \
 
108
        mpcgui/mpcstyles.h \
86
109
        smplayer.h \
87
110
        clhelp.h
88
111
 
89
112
 
90
113
SOURCES += version.cpp \
91
 
        corelib/global.cpp \
92
 
        corelib/helper.cpp \
 
114
        global.cpp \
 
115
        paths.cpp \
 
116
        helper.cpp \
 
117
        colorutils.cpp \
93
118
        translator.cpp \
94
 
        corelib/subtracks.cpp \
95
 
        corelib/trackdata.cpp \
96
 
        corelib/tracks.cpp \
 
119
        subtracks.cpp \
 
120
        tracks.cpp \
 
121
        titletracks.cpp \
 
122
        discname.cpp \
97
123
        extensions.cpp \
98
 
        corelib/desktopinfo.cpp \
99
 
        corelib/myprocess.cpp \
100
 
        corelib/mplayerversion.cpp \
101
 
        corelib/mplayerprocess.cpp \
102
 
    corelib/infoprovider.cpp \
103
 
        corelib/mplayerwindow.cpp \
104
 
        corelib/mediadata.cpp \
105
 
        corelib/mediasettings.cpp \
106
 
        corelib/preferences.cpp \
 
124
        desktopinfo.cpp \
 
125
        myprocess.cpp \
 
126
        mplayerversion.cpp \
 
127
        mplayerprocess.cpp \
 
128
        infoprovider.cpp \
 
129
        mplayerwindow.cpp \
 
130
        mediadata.cpp \
 
131
        mediasettings.cpp \
 
132
        assstyles.cpp \
 
133
        preferences.cpp \
 
134
        filesettingsbase.cpp \
 
135
        filesettings.cpp \
 
136
        filesettingshash.cpp \
107
137
        images.cpp \
108
138
        inforeader.cpp \
 
139
        deviceinfo.cpp \
109
140
        recents.cpp \
110
 
        corelib/core.cpp \
 
141
        urlhistory.cpp \
 
142
        core.cpp \
111
143
        logwindow.cpp \
112
144
        infofile.cpp \
113
 
        encodings.cpp \
114
145
        seekwidget.cpp \
115
146
        mytablewidget.cpp \
116
147
        shortcutgetter.cpp \
117
148
        actionseditor.cpp \
118
 
    filechooser.cpp \
 
149
        filechooser.cpp \
119
150
        preferencesdialog.cpp \
120
151
        mycombobox.cpp \
121
152
        tristatecombo.cpp \
 
153
        languages.cpp \
 
154
        selectcolorbutton.cpp \
122
155
        prefwidget.cpp \
123
156
        prefgeneral.cpp \
124
157
        prefdrives.cpp \
127
160
        prefinput.cpp \
128
161
        prefsubtitles.cpp \
129
162
        prefadvanced.cpp \
 
163
        prefplaylist.cpp \
130
164
        filepropertiesdialog.cpp \
131
165
        playlist.cpp \
132
166
        playlistpreferences.cpp \
134
168
        verticaltext.cpp \
135
169
        eqslider.cpp \
136
170
        videoequalizer.cpp \
137
 
    myslider.cpp \
 
171
        audioequalizer.cpp \
 
172
        myslider.cpp \
138
173
        timeslider.cpp \
139
174
        inputdvddirectory.cpp \
140
175
        inputurl.cpp \
145
180
        filedialog.cpp \
146
181
        inputmplayerversion.cpp \
147
182
        about.cpp \
148
 
    errordialog.cpp \
149
 
    timedialog.cpp \
 
183
        errordialog.cpp \
 
184
        timedialog.cpp \
 
185
        findsubtitles/simplehttp.cpp \
 
186
        findsubtitles/osparser.cpp \
 
187
        findsubtitles/findsubtitlesconfigdialog.cpp \
 
188
        findsubtitles/findsubtitleswindow.cpp \
 
189
        videopreview/videopreview.cpp \
 
190
        videopreview/videopreviewconfigdialog.cpp \
150
191
        basegui.cpp \
151
192
        baseguiplus.cpp \
152
193
        floatingwidget.cpp \
153
194
        widgetactions.cpp \
 
195
        toolbareditor.cpp \
154
196
        defaultgui.cpp \
155
197
        minigui.cpp \
 
198
        mpcgui/mpcgui.cpp \
 
199
        mpcgui/mpcstyles.cpp \
156
200
        clhelp.cpp \
157
201
        smplayer.cpp \
158
202
        main.cpp
167
211
        eqslider.ui seekwidget.ui inputurl.ui \
168
212
        preferencesdialog.ui prefgeneral.ui prefdrives.ui prefinterface.ui \
169
213
        prefperformance.ui prefinput.ui prefsubtitles.ui prefadvanced.ui \
 
214
        prefplaylist.ui \
170
215
        about.ui inputmplayerversion.ui errordialog.ui timedialog.ui \
171
 
        playlistpreferences.ui filechooser.ui
 
216
        playlistpreferences.ui filechooser.ui \
 
217
        findsubtitles/findsubtitleswindow.ui findsubtitles/findsubtitlesconfigdialog.ui \
 
218
        videopreview/videopreviewconfigdialog.ui
172
219
 
173
220
TRANSLATIONS = translations/smplayer_es.ts translations/smplayer_de.ts \
174
221
               translations/smplayer_sk.ts translations/smplayer_it.ts \
184
231
               translations/smplayer_pt_PT.ts translations/smplayer_el_GR.ts \
185
232
               translations/smplayer_fi.ts translations/smplayer_ko.ts \
186
233
               translations/smplayer_mk.ts translations/smplayer_eu.ts \
187
 
               translations/smplayer_ca.ts
 
234
               translations/smplayer_ca.ts translations/smplayer_sl_SI.ts \
 
235
               translations/smplayer_ar_SY.ts translations/smplayer_ku.ts \
 
236
               translations/smplayer_gl.ts
 
237
 
 
238
contains( DEFINES, DOWNLOAD_SUBS ) {
 
239
        INCLUDEPATH += findsubtitles/filedownloader findsubtitles/quazip
 
240
        DEPENDPATH += findsubtitles/filedownloader findsubtitles/quazip
 
241
 
 
242
        HEADERS += filedownloader.h subchooserdialog.h
 
243
        SOURCES += filedownloader.cpp subchooserdialog.cpp
 
244
 
 
245
        FORMS += subchooserdialog.ui
 
246
 
 
247
        HEADERS += crypt.h \
 
248
                   ioapi.h \
 
249
                   quazip.h \
 
250
                   quazipfile.h \
 
251
                   quazipfileinfo.h \
 
252
                   quazipnewinfo.h \
 
253
                   unzip.h \
 
254
                   zip.h
 
255
 
 
256
        SOURCES += ioapi.c \
 
257
                   quazip.cpp \
 
258
                   quazipfile.cpp \
 
259
                   quazipnewinfo.cpp \
 
260
                   unzip.c \
 
261
                   zip.c
 
262
 
 
263
        LIBS += -lz
 
264
        
 
265
        win32 {
 
266
                INCLUDEPATH += c:\development\zlib-1.2.3
 
267
                LIBS += -Lc:\development\zlib-1.2.3
 
268
        }
 
269
}
188
270
 
189
271
unix {
190
 
  UI_DIR = .ui
191
 
  MOC_DIR = .moc
192
 
  OBJECTS_DIR = .obj
193
 
 
194
 
  DEFINES += DATA_PATH=$(DATA_PATH)
195
 
  DEFINES += DOC_PATH=$(DOC_PATH)
196
 
  DEFINES += TRANSLATION_PATH=$(TRANSLATION_PATH)
197
 
  DEFINES += CONF_PATH=$(CONF_PATH)
198
 
  DEFINES += THEMES_PATH=$(THEMES_PATH)
199
 
  DEFINES += SHORTCUTS_PATH=$(SHORTCUTS_PATH)
200
 
  #DEFINES += NO_DEBUG_ON_CONSOLE
201
 
 
202
 
  #DEFINES += KDE_SUPPORT
203
 
  #INCLUDEPATH += /opt/kde3/include/
204
 
  #LIBS += -lkio -L/opt/kde3/lib/
205
 
 
206
 
  #contains( DEFINES, KDE_SUPPORT) {
207
 
  #     HEADERS += mysystemtrayicon.h
208
 
  #     SOURCES += mysystemtrayicon.cpp
209
 
  #}
210
 
 
211
 
  #HEADERS +=   prefassociations.h winfileassoc.h
212
 
  #SOURCES +=   prefassociations.cpp winfileassoc.cpp
213
 
  #FORMS += prefassociations.ui
 
272
        UI_DIR = .ui
 
273
        MOC_DIR = .moc
 
274
        OBJECTS_DIR = .obj
 
275
 
 
276
        DEFINES += DATA_PATH=$(DATA_PATH)
 
277
        DEFINES += DOC_PATH=$(DOC_PATH)
 
278
        DEFINES += TRANSLATION_PATH=$(TRANSLATION_PATH)
 
279
        DEFINES += THEMES_PATH=$(THEMES_PATH)
 
280
        DEFINES += SHORTCUTS_PATH=$(SHORTCUTS_PATH)
 
281
        #DEFINES += NO_DEBUG_ON_CONSOLE
 
282
 
 
283
        #DEFINES += KDE_SUPPORT
 
284
        #INCLUDEPATH += /opt/kde3/include/
 
285
        #LIBS += -lkio -L/opt/kde3/lib/
 
286
 
 
287
        #contains( DEFINES, KDE_SUPPORT) {
 
288
        # HEADERS += mysystemtrayicon.h
 
289
        # SOURCES += mysystemtrayicon.cpp
 
290
        #}
 
291
 
 
292
        #HEADERS += prefassociations.h winfileassoc.h
 
293
        #SOURCES += prefassociations.cpp winfileassoc.cpp
 
294
        #FORMS += prefassociations.ui
214
295
}
215
296
 
216
297
win32 {
217
 
        HEADERS +=      prefassociations.h winfileassoc.h corelib/screensaver.h
218
 
        SOURCES +=      prefassociations.cpp winfileassoc.cpp corelib/screensaver.cpp
219
 
        FORMS += prefassociations.ui
 
298
        #DEFINES += SCREENSAVER_OFF
 
299
        contains( DEFINES, SCREENSAVER_OFF ) {
 
300
                HEADERS += screensaver.h
 
301
                SOURCES += screensaver.cpp
 
302
        }
 
303
 
 
304
        !contains( DEFINES, PORTABLE_APP ) {
 
305
                DEFINES += USE_ASSOCIATIONS
 
306
        }
 
307
        
 
308
        contains( DEFINES, USE_ASSOCIATIONS ) {
 
309
                HEADERS += prefassociations.h winfileassoc.h
 
310
                SOURCES += prefassociations.cpp winfileassoc.cpp
 
311
                FORMS += prefassociations.ui
 
312
        }
220
313
 
221
314
        contains(TEMPLATE,vcapp) {
222
315
                LIBS += ole32.lib user32.lib