blob: aab859c02b800c7da48ecdd343907d7003272e67 (
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
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
|
DEPENDS = "flac taglib mythtv libvorbis libexif libvisual libsdl-x11 libcdaudio cdparanoia"
RDEPENDS_${PN} = "mytharchive mythbrowser mythflix mythgallery mythgame \
mythmusic mythmovies mythnews mythvideo mythweather mythweb mythzoneminder"
PV = "0.22"
PR = "r0"
QMAKE_PROFILES = "mythplugins.pro"
SRC_URI = "ftp://ftp.osuosl.org/pub/mythtv/mythplugins-0.22.tar.bz2 \
file://sysroot.patch;patch=1 \
file://mythplugins_wo_qtopengl.diff;patch=1 \
file://configure.patch;patch=1 \
file://mytharchive.pro.patch;patch=1 \
"
S = "${WORKDIR}/mythplugins-0.22"
inherit qmake2 qt4x11
EXTRA_OECONF = " \
--cross-prefix=${TARGET_PREFIX} \
--sysroot=${STAGING_DIR_HOST} \
--prefix=${prefix} \
--with-libdir-name=${STAGING_LIBDIR} \
--disable-opengl \
\
--extra-cflags="${TARGET_CFLAGS} ${HOST_CC_ARCH}${TOOLCHAIN_OPTIONS}" \
--extra-cxxflags="${TARGET_CXXFLAGS} ${HOST_CC_ARCH}${TOOLCHAIN_OPTIONS}" \
--extra-ldflags="${TARGET_LDFLAGS}" \
${EXTRA_MYTHTVCONF} \
"
do_configure() {
${S}/configure --qmake=qmake2 ${EXTRA_OECONF}
}
do_install () {
oe_runmake install INSTALL_ROOT="${D}"
install -d ${D}${datadir}/apache2
install -d ${D}${datadir}/apache2/htdocs
install -d ${D}/etc/apache2
install -d ${D}/etc/apache2/extra
cp -r ${S}/mythweb/* ${D}${datadir}/apache2/htdocs/
cp -r ${S}/mythweb/mythweb.conf.apache ${D}/etc/apache2/extra/mythweb.conf
sed -i -e s:/var/www/html:/usr/share/apache2/htdocs:g ${D}/etc/apache2/extra/mythweb.conf
}
pkg_postinst_${PN}() {
chgrp -R apache /usr/share/apache2/htdocs/data
chmod g+rw /usr/share/apache2/htdocs/data
grep mythweb.conf /etc/apache2/httpd.conf || \
echo "Include /etc/apache2/extra/mythweb.conf" >>/etc/apache2/httpd.conf
}
PACKAGES =+ "mytharchive mytharchive-dbg \
mythbrowser mythbrowser-dbg \
mythflix mythflix-dbg \
mythgallery mythgallery-dbg \
mythgame mythgame-dbg \
mythmovies mythmovies-dbg \
mythmusic mythmusic-dbg \
mythnews mythnews-dbg \
mythvideo mythvideo-dbg \
mythweather mythweather-dbg \
mythweb \
mythzoneminder mythzoneminder-dbg"
FILES_mytharchive = "${libdir}/mythtv/plugins/libmytharchive.so \
${bindir}/mytharchivehelper \
${datadir}/mythtv/i18n/mytharchive* \
${datadir}/mythtv/mytharchive/* \
${datadir}/mythtv/archiveformat.xml \
${datadir}/mythtv/archivemenu.xml \
${datadir}/mythtv/archiveutils.xml \
${datadir}/mythtv/themes/default/mytharchive-ui.xml \
${datadir}/mythtv/themes/default/mythburn-ui.xml \
${datadir}/mythtv/themes/default/mythnative-ui.xml \
${datadir}/mythtv/themes/default/ma_*.png \
${datadir}/mythtv/themes/default/mb_progressbar_background.png \
${datadir}/mythtv/themes/default/mb_progressbar_fill.png \
${datadir}/mythtv/themes/default-wide/mytharchive-ui.xml \
${datadir}/mythtv/themes/default-wide/mythburn-ui.xml \
${datadir}/mythtv/themes/default-wide/mythnative-ui.xml \
"
FILES_mytharchive-dbg = "${bindir}/.debug/mytharchivehelper \
${libdir}/mythtv/plugins/.debug/libmytharchive.so"
FILES_mythbrowser = "${libdir}/mythtv/plugins/libmythbrowser.so \
${bindir}/mythbrowser \
${datadir}/mythtv/i18n/mythbrowser* \
${datadir}/mythtv/themes/default/browser-ui.xml \
${datadir}/mythtv/themes/default-wide/browser-ui.xml \
"
FILES_mythbrowser-dbg = "${libdir}/mythtv/plugins/.debug/libmythbrowser.so"
FILES_mythflix = "${libdir}/mythtv/plugins/libmythflix.so \
${datadir}/mythtv/i18n/mythflix* \
${datadir}/mythtv/mythflix/* \
${datadir}/mythtv/netflix_menu.xml \
${datadir}/mythtv/themes/default/mythflix_background.png \
${datadir}/mythtv/themes/default/netflix-ui.xml \
${datadir}/mythtv/themes/default-wide/netflix-ui.xml \
${datadir}/mythtv/themes/default/title_netflix.png \
${datadir}/mythtv/themes/default-wide/netflix-bg.png \
"
FILES_mythflix-dbg = "${libdir}/mythtv/plugins/.debug/libmythflix.so"
FILES_mythgallery = "${libdir}/mythtv/plugins/libmythgallery.so \
${datadir}/mythtv/i18n/mythgallery* \
${datadir}/mythtv/themes/default/gallery*.png \
${datadir}/mythtv/themes/default/gallery-ui.xml \
${datadir}/mythtv/themes/default-wide/gallery-ui.xml \
"
FILES_mythgallery-dbg = "${libdir}/mythtv/plugins/.debug/libmythgallery.so"
FILES_mythgame = "${libdir}/mythtv/plugins/libmythgame.so \
${datadir}/mythtv/i18n/mythgame* \
${datadir}/mythtv/game_settings.xml \
${datadir}/mythtv/themes/default/game-ui.xml \
${datadir}/mythtv/themes/default-wide/game-ui.xml \
"
FILES_mythgame-dbg = "${libdir}/mythtv/plugins/.debug/libmythgame.so"
FILES_mythmovies = "${libdir}/mythtv/plugins/libmythmovies.so \
${bindir}/ignyte \
${datadir}/mythtv/mythmovies/* \
${datadir}/mythtv/i18n/mythmovies* \
${datadir}/mythtv/themes/default/movies-ui.xml \
${datadir}/mythtv/themes/default-wide/movies-ui.xml \
"
FILES_mythmovies-dbg = "${bindir}/.debug/ignyte \
${libdir}/mythtv/plugins/.debug/libmythmovies.so"
FILES_mythmusic = "${libdir}/mythtv/plugins/libmythmusic.so \
${datadir}/mythtv/mythmusic/* \
${datadir}/mythtv/i18n/mythmusic* \
${datadir}/mythtv/music_settings.xml \
${datadir}/mythtv/musicmenu.xml \
${datadir}/mythtv/themes/default/selectionbar.png \
${datadir}/mythtv/themes/default/mm_browser_back_reg.png \
${datadir}/mythtv/themes/default/music-sel-bg.png \
${datadir}/mythtv/themes/default/mm_rip_banner.png \
${datadir}/mythtv/themes/default/mm_prev_on.png \
${datadir}/mythtv/themes/default/next_button_off.png \
${datadir}/mythtv/themes/default/mm_next_pushed.png \
${datadir}/mythtv/themes/default/stop_button_pushed.png \
${datadir}/mythtv/themes/default/mm_folder.png \
${datadir}/mythtv/themes/default/mm_left_arrow.png \
${datadir}/mythtv/themes/default/rew_button_on.png \
${datadir}/mythtv/themes/default/next_button_pushed.png \
${datadir}/mythtv/themes/default/mm_trans_background.png \
${datadir}/mythtv/themes/default/prev_button_off.png \
${datadir}/mythtv/themes/default/mm_browser_back_sel.png \
${datadir}/mythtv/themes/default/ff_button_off.png \
${datadir}/mythtv/themes/default/mm_volume_tick.png \
${datadir}/mythtv/themes/default/stop_button_off.png \
${datadir}/mythtv/themes/default/mm_progress-fg.png \
${datadir}/mythtv/themes/default/mm_rip_background.png \
${datadir}/mythtv/themes/default/rew_button_pushed.png \
${datadir}/mythtv/themes/default/mm_next_off.png \
${datadir}/mythtv/themes/default/mm_next_on.png \
${datadir}/mythtv/themes/default/pause_button_pushed.png \
${datadir}/mythtv/themes/default/mm_nothumb.png \
${datadir}/mythtv/themes/default/stop_button_on.png \
${datadir}/mythtv/themes/default/mm_blackhole_border.png \
${datadir}/mythtv/themes/default/mm_prev_pushed.png \
${datadir}/mythtv/themes/default/pause_button_on.png \
${datadir}/mythtv/themes/default/play_button_pushed.png \
${datadir}/mythtv/themes/default/mm_progress_foreground.png \
${datadir}/mythtv/themes/default/pause_button_off.png \
${datadir}/mythtv/themes/default/play_button_off.png \
${datadir}/mythtv/themes/default/mm_progress_background.png \
${datadir}/mythtv/themes/default/mm_up_arrow.png \
${datadir}/mythtv/themes/default/prev_button_on.png \
${datadir}/mythtv/themes/default/mm_volume_background.png \
${datadir}/mythtv/themes/default/ff_button_pushed.png \
${datadir}/mythtv/themes/default/mm_prev_off.png \
${datadir}/mythtv/themes/default/miniplayer_background.png \
${datadir}/mythtv/themes/default/mm_progress-bg.png \
${datadir}/mythtv/themes/default/track_info_background.png \
${datadir}/mythtv/themes/default/mm_waiting.png \
${datadir}/mythtv/themes/default/play_button_on.png \
${datadir}/mythtv/themes/default/prev_button_pushed.png \
${datadir}/mythtv/themes/default/mm_right_arrow.png \
${datadir}/mythtv/themes/default/ff_button_on.png \
${datadir}/mythtv/themes/default/mm_down_arrow.png \
${datadir}/mythtv/themes/default/next_button_on.png \
${datadir}/mythtv/themes/default/mm_rating.png \
${datadir}/mythtv/themes/default/rew_button_off.png \
${datadir}/mythtv/themes/default/mm-titlelines.png \
${datadir}/mythtv/themes/default-wide/music-sel-bg.png \
${datadir}/mythtv/themes/default-wide/mm_blackhole_border.png \
${datadir}/mythtv/themes/default-wide/mm_volume_background.png \
${datadir}/mythtv/themes/default-wide/mm_waiting.png \
${datadir}/mythtv/themes/default-wide/mm-titlelines.png \
${datadir}/mythtv/themes/default/music-ui.xml \
${datadir}/mythtv/themes/default-wide/music-ui.xml \
"
FILES_mythmusic-dbg = "${libdir}/mythtv/plugins/.debug/libmythmusic.so"
FILES_mythnews = "${libdir}/mythtv/plugins/libmythnews.so \
${datadir}/mythtv/mythnews/* \
${datadir}/mythtv/i18n/mythnews* \
${datadir}/mythtv/themes/default/enclosures.png \
${datadir}/mythtv/themes/default/need-download.png \
${datadir}/mythtv/themes/default/podcast.png \
${datadir}/mythtv/themes/default/news-info-bg.png \
${datadir}/mythtv/themes/default/news-ui.xml \
${datadir}/mythtv/themes/default-wide/news-ui.xml \
"
FILES_mythnews-dbg = "${libdir}/mythtv/plugins/.debug/libmythnews.so"
FILES_mythvideo = "${libdir}/mythtv/plugins/libmythvideo.so \
${bindir}/mtd \
${datadir}/mythtv/mythvideo/* \
${datadir}/mythtv/i18n/mythvideo* \
${datadir}/mythtv/themes/default/md_progress_background.png \
${datadir}/mythtv/themes/default/md_rip_banner.png \
${datadir}/mythtv/themes/default/mv_level_none.png \
${datadir}/mythtv/themes/default/mv_browse_background.png \
${datadir}/mythtv/themes/default/mv_itemdetail_popup.png \
${datadir}/mythtv/themes/default/mv_filerequest.png \
${datadir}/mythtv/themes/default/mv_level_high.png \
${datadir}/mythtv/themes/default/mv_results_popup.png \
${datadir}/mythtv/themes/default-wide/mv_results_popup.png \
${datadir}/mythtv/themes/default/mv_level_low.png \
${datadir}/mythtv/themes/default/mv_level_lowest.png \
${datadir}/mythtv/themes/default/mv_level_medium.png \
${datadir}/mythtv/themes/default/mv_browse_selector.png \
${datadir}/mythtv/themes/default-wide/mv_results_popup.png \
${datadir}/mythtv/themes/default-wide/mv_browse_selector.png \
${datadir}/mythtv/themes/default-wide/mv_browse_background.png \
${datadir}/mythtv/themes/default-wide/mv_browse_nocover_large.png \
${datadir}/mythtv/themes/default-wide/mv_itemdetail_popup.png \
${datadir}/mythtv/themes/default-wide/movies-ui.xml \
${datadir}/mythtv/themes/default/dvd-ui.xml \
${datadir}/mythtv/themes/default-wide/dvd-ui.xml \
${datadir}/mythtv/themes/default/video-ui.xml \
${datadir}/mythtv/themes/default-wide/video-ui.xml \
${datadir}/mythtv/video_settings.xml \
${datadir}/mythtv/videomenu.xml \
"
FILES_mythvideo-dbg = "${bindir}/.debug/mtd \
${libdir}/mythtv/plugins/.debug/libmythvideo.so"
FILES_mythweather = "${libdir}/mythtv/plugins/libmythweather.so \
${datadir}/mythtv/mythweather/* \
${datadir}/mythtv/i18n/mythweather* \
${datadir}/mythtv/themes/default-wide/mw-background.png \
${datadir}/mythtv/themes/default-wide/mw-lines.png \
${datadir}/mythtv/themes/default-wide/mw-map-sat.png \
${datadir}/mythtv/themes/default-wide/mw-map.png \
${datadir}/mythtv/themes/default-wide/mw-popup.png \
${datadir}/mythtv/themes/default-wide/weather-ui.xml \
${datadir}/mythtv/themes/default/cloudy.png \
${datadir}/mythtv/themes/default/fair.png \
${datadir}/mythtv/themes/default/flurries.png \
${datadir}/mythtv/themes/default/fog.png \
${datadir}/mythtv/themes/default/logo.png \
${datadir}/mythtv/themes/default/lshowers.png \
${datadir}/mythtv/themes/default/mcloudy.png \
${datadir}/mythtv/themes/default/mw_background.png \
${datadir}/mythtv/themes/default/mw_checked.png \
${datadir}/mythtv/themes/default/mw_checked_high.png \
${datadir}/mythtv/themes/default/mw_lines.png \
${datadir}/mythtv/themes/default/mw_map-sat.png \
${datadir}/mythtv/themes/default/mw_map.png \
${datadir}/mythtv/themes/default/mw_popup.png \
${datadir}/mythtv/themes/default/mw_shading.png \
${datadir}/mythtv/themes/default/mw_unchecked.png \
${datadir}/mythtv/themes/default/mw_unchecked_high.png \
${datadir}/mythtv/themes/default/mwmain.png \
${datadir}/mythtv/themes/default/pcloudy.png \
${datadir}/mythtv/themes/default/rainsnow.png \
${datadir}/mythtv/themes/default/showers.png \
${datadir}/mythtv/themes/default/snowshow.png \
${datadir}/mythtv/themes/default/sunny.png \
${datadir}/mythtv/themes/default/thunshowers.png \
${datadir}/mythtv/themes/default/unknown.png \
${datadir}/mythtv/themes/default/weather-ui.xml \
${datadir}/mythtv/weather_settings.xml \
"
FILES_mythweather-dbg = "${libdir}/mythtv/plugins/.debug/libmythweather.so"
FILES_mythweb = "${datadir}/apache2/htdocs \
/etc/apache2/extra/mythweb.conf"
FILES_mythzoneminder = "${libdir}/mythtv/plugins/libmythzoneminder.so \
${datadir}/mythtv/zonemindermenu.xml \
${datadir}/mythtv/i18n/mythzoneminder* \
${datadir}/mythtv/themes/default/zoneminder-ui.xml \
${datadir}/mythtv/themes/default/mz_black.png \
${datadir}/mythtv/themes/default/mz_browser_back_sel.png \
${datadir}/mythtv/themes/default/mz_browser_back_reg.png \
${datadir}/mythtv/themes/default/mz_function_popup.png \
${datadir}/mythtv/themes/default/mz_testcard.png \
${datadir}/mythtv/themes/default-wide/zoneminder-ui.xml \
"
FILES_mythzoneminder-dbg = "${libdir}/mythtv/plugins/.debug/libmythzoneminder.so"
|