aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/mythtv/mythplugins-0.23/mythplugins_wo_qtopengl.diff
blob: 639dd85acb239bda4505cd26f9941fd4a55de6f2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
Index: mythplugins/mytharchive/mytharchive/mytharchive.pro
===================================================================
--- mythplugins.orig/mytharchive/mytharchive/mytharchive.pro
+++ mythplugins/mytharchive/mytharchive/mytharchive.pro
@@ -14,7 +14,7 @@ LIBS += -lmythavcodec-$$LIBVERSION
 LIBS += -lmythavformat-$$LIBVERSION
 LIBS += -lmythswscale-$$LIBVERSION
 
-TEMPLATE = lib opengl
+TEMPLATE = lib
 CONFIG += plugin thread
 TARGET = mytharchive
 target.path = $${LIBDIR}/mythtv/plugins
@@ -61,6 +61,7 @@ INSTALLS +=  profilefiles burnuifiles
 INSTALLS +=  nativeuifiles 
 
 #The following line was inserted by qt3to4
-QT += xml sql opengl 
+QT += xml sql
+using_opengl:QT += opengl
 
 include ( ../../libs-targetfix.pro )
Index: mythplugins/mytharchive/mytharchivehelper/mytharchivehelper.pro
===================================================================
--- mythplugins.orig/mytharchive/mytharchivehelper/mytharchivehelper.pro
+++ mythplugins/mytharchive/mytharchivehelper/mytharchivehelper.pro
@@ -9,7 +9,8 @@ INCLUDEPATH += $${SYSROOT}$${PREFIX}/inc
 DEPENDPATH *= $${INCLUDEPATH}
 
 TEMPLATE = app
-CONFIG += thread opengl
+CONFIG += thread
+using_opengl:CONFIG += opengl
 
 target.path = $${PREFIX}/bin
 
@@ -27,4 +28,5 @@ LIBS += -lmythavcodec-$$LIBVERSION
 LIBS += -lmythavformat-$$LIBVERSION
 LIBS += -lmythswscale-$$LIBVERSION
 
-QT += xml sql opengl
+QT += xml sql
+using_opengl:QT += opengl
Index: mythplugins/mythbrowser/mythbrowser/mythbrowser.pro
===================================================================
--- mythplugins.orig/mythbrowser/mythbrowser/mythbrowser.pro
+++ mythplugins/mythbrowser/mythbrowser/mythbrowser.pro
@@ -2,10 +2,12 @@ include (../../mythconfig.mak )
 include (../../settings.pro )
 include (../../programs-libs.pro )
 
-QT += network xml sql opengl webkit
+QT += network xml sql webkit
+using_opengl:QT += opengl
 
 TEMPLATE = lib
-CONFIG += thread opengl plugin warn_on
+CONFIG += thread plugin warn_on
+using_opengl:CONFIG += opengl
 TARGET = mythbrowser
 target.path = $${LIBDIR}/mythtv/plugins
 INSTALLS += target
Index: mythplugins/mythgallery/mythgallery/mythgallery.pro
===================================================================
--- mythplugins.orig/mythgallery/mythgallery/mythgallery.pro
+++ mythplugins/mythgallery/mythgallery/mythgallery.pro
@@ -37,6 +37,7 @@ opengl {
 
 
 #The following line was inserted by qt3to4
-QT += network opengl sql xml
+QT += network sql xml
+using_opengl:QT += opengl
 
 include ( ../../libs-targetfix.pro )
Index: mythplugins/mythgame/mythgame/mythgame.pro
===================================================================
--- mythplugins.orig/mythgame/mythgame/mythgame.pro
+++ mythplugins/mythgame/mythgame/mythgame.pro
@@ -23,6 +23,6 @@ use_hidesyms {
 LIBS += -lz
 
 #The following line was inserted by qt3to4
-QT += xml sql opengl 
+QT += xml sql
 
 include ( ../../libs-targetfix.pro )
Index: mythplugins/mythmusic/mythmusic/mythmusic.pro
===================================================================
--- mythplugins.orig/mythmusic/mythmusic/mythmusic.pro
+++ mythplugins/mythmusic/mythmusic/mythmusic.pro
@@ -3,7 +3,8 @@ include ( ../../settings.pro )
 include ( ../../programs-libs.pro )
 include (config.pro)
 
-QT += xml sql opengl qt3support network
+QT += xml sql qt3support network
+using_opengl:QT += opengl
 
 !exists( config.pro ) {
    error(Missing config.pro: please run the configure script)
Index: mythplugins/mythvideo/mtd/mtd.pro
===================================================================
--- mythplugins.orig/mythvideo/mtd/mtd.pro
+++ mythplugins/mythvideo/mtd/mtd.pro
@@ -5,7 +5,8 @@ include ( ../../programs-libs.pro )
 QT += sql xml network
 
 TEMPLATE = app
-CONFIG += thread opengl
+CONFIG += thread
+using_opengl:CONFIG += opengl
 TARGET = mtd
 target.path = $${PREFIX}/bin
 INSTALLS += target