aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrans Meulenbroeks <fransmeulenbroeks@gmail.com>2009-11-01 21:01:13 +0100
committerFrans Meulenbroeks <fransmeulenbroeks@gmail.com>2009-11-01 21:01:13 +0100
commit13355c1620f8a1d00ec806fc5101c3dc48138178 (patch)
tree8f450b7d49e8aff09e3c307ed04de84f919db13c
parent24c8f2b9e012595b15a2ffa3e042a558f736cc69 (diff)
downloadopenembedded-13355c1620f8a1d00ec806fc5101c3dc48138178.tar.gz
mythtv, mythplugins: updated to 0.22rc2
-rw-r--r--conf/checksums.ini12
-rw-r--r--recipes/mythtv/mythplugins/configure.patch (renamed from recipes/mythtv/mythplugins_0.21+0.22rc1/configure.patch)9
-rw-r--r--recipes/mythtv/mythplugins/mythflix.pro.patch13
-rw-r--r--recipes/mythtv/mythplugins/mythgallery.pro.patch13
-rw-r--r--recipes/mythtv/mythplugins/mythmovies.pro.patch13
-rw-r--r--recipes/mythtv/mythplugins/mythnews.pro.patch17
-rw-r--r--recipes/mythtv/mythplugins/mythplugins_wo_qtopengl.diff (renamed from recipes/mythtv/mythplugins_0.21+0.22rc1/mythplugins_wo_qtopengl.diff)0
-rw-r--r--recipes/mythtv/mythplugins/mythweather.pro.patch15
-rw-r--r--recipes/mythtv/mythplugins/mythzoneminder.pro.patch13
-rw-r--r--recipes/mythtv/mythplugins/sysroot.patch (renamed from recipes/mythtv/mythplugins_0.21+0.22rc1/sysroot.patch)0
-rw-r--r--recipes/mythtv/mythplugins_0.21+0.22rc1.bb227
-rw-r--r--recipes/mythtv/mythplugins_0.21+0.22rc1/MythBackend.php.patch13
-rw-r--r--recipes/mythtv/mythplugins_0.21+0.22rc2.bb201
-rw-r--r--recipes/mythtv/mythtv-0.21+0.22rc2/configure.patch (renamed from recipes/mythtv/mythtv-0.21+0.22rc1/configure.patch)0
-rw-r--r--recipes/mythtv/mythtv_0.21+0.22rc1.bb124
-rw-r--r--recipes/mythtv/mythtv_0.21+0.22rc2.bb113
16 files changed, 320 insertions, 463 deletions
diff --git a/conf/checksums.ini b/conf/checksums.ini
index e41bd939cb..8eea6dcaf2 100644
--- a/conf/checksums.ini
+++ b/conf/checksums.ini
@@ -18866,9 +18866,9 @@ sha256=7744d78131619b73a82adb6f73d6cfc6bad11a6ad2806c0f5130f88fe88ac9dd
md5=37b4479951fa0cf052269d27c41ca200
sha256=6bd2436fd0f233bb1518e15975cb4e9fa4434acb53c3c3cd7d4648219abf58e9
-[ftp://ftp.osuosl.org/pub/mythtv/mythplugins-0.22rc1.tar.bz2]
-md5=1c03d3f4ccedcd9de1c0ac2226e0031c
-sha256=f62969cd61dc9718973708b79f5e86f653f630097f5ad14f90d78fcff677c0da
+[ftp://ftp.osuosl.org/pub/mythtv/mythplugins-0.22rc2.tar.bz2]
+md5=de15246c1f59665f3960015c49138da3
+sha256=73dff22a4622f2140b49ee824f1f69d6120135d828bc38f6877a619986c99245
[http://www.mythtv.org/mc/mythtv-0.18.1.tar.bz2]
md5=e6cabf88feeaf6ae8f830d3fdf7b113d
@@ -18882,9 +18882,9 @@ sha256=777ff60afa89426f0e52e49b0e7a7661ddb45b59d2ebbfdcbe07fd179e526ff3
md5=49fc135e1cde90cd935c1229467fa37e
sha256=33a878a8fc3efdd74519b09b4ec3d16fa9d3a0436b321c13344e5f3ab723c5e4
-[ftp://ftp.osuosl.org/pub/mythtv/mythtv-0.22rc1.tar.bz2]
-md5=049e93d78d5370351539c9a23b47e1af
-sha256=8e6823f4b92d88c837735322ca71199919406a2826bddae257c6e0f52d089cd7
+[ftp://ftp.osuosl.org/pub/mythtv/mythtv-0.22rc2.tar.bz2]
+md5=1e4be634b137e5b944c94b418d8c3791
+sha256=5cba470ccd60fec00be2bf7ef231f104dcea8275698fe70f5df398dbe2fe19fd
[http://kldp.net/frs/download.php/3742/nabi-0.17.tar.gz]
md5=8746890ea666ac1b7ae6db77993c6592
diff --git a/recipes/mythtv/mythplugins_0.21+0.22rc1/configure.patch b/recipes/mythtv/mythplugins/configure.patch
index 18e283ba5b..6eae691e9a 100644
--- a/recipes/mythtv/mythplugins_0.21+0.22rc1/configure.patch
+++ b/recipes/mythtv/mythplugins/configure.patch
@@ -2,15 +2,6 @@ Index: mythplugins-0.22rc1/configure
===================================================================
--- mythplugins-0.22rc1.orig/configure
+++ mythplugins-0.22rc1/configure
-@@ -433,7 +433,7 @@ if test "$music" != "no" ; then
- fi
-
- taglib="no"
-- taglib_minor=`taglib-config --version | cut -d. -f2`
-+ taglib_minor=`$(sysroot)taglib-config --version | cut -d. -f2`
- if test "$taglib_minor" == "" ; then
- echo "Can't find taglib-config. Assuming 1.5 or later."
- taglib_minor="5"
@@ -730,7 +730,7 @@ if test "$music" = "yes" ; then
fi
diff --git a/recipes/mythtv/mythplugins/mythflix.pro.patch b/recipes/mythtv/mythplugins/mythflix.pro.patch
deleted file mode 100644
index cffaeae197..0000000000
--- a/recipes/mythtv/mythplugins/mythflix.pro.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-Index: mythplugins-0.22rc1/mythflix/mythflix/mythflix.pro
-===================================================================
---- mythplugins-0.22rc1.orig/mythflix/mythflix/mythflix.pro
-+++ mythplugins-0.22rc1/mythflix/mythflix/mythflix.pro
-@@ -8,7 +8,7 @@ TARGET = mythflix
- target.path = $${LIBDIR}/mythtv/plugins
- INSTALLS += target
-
--INCLUDEPATH += $${PREFIX}/include/mythtv
-+INCLUDEPATH += $${SYSROOT}$${PREFIX}/include/mythtv
-
- installfiles.path = $${PREFIX}/share/mythtv/mythflix
- installfiles.files = netflix-rss.xml
diff --git a/recipes/mythtv/mythplugins/mythgallery.pro.patch b/recipes/mythtv/mythplugins/mythgallery.pro.patch
deleted file mode 100644
index 8be5ea016b..0000000000
--- a/recipes/mythtv/mythplugins/mythgallery.pro.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-Index: mythplugins-0.22rc1/mythgallery/mythgallery/mythgallery.pro
-===================================================================
---- mythplugins-0.22rc1.orig/mythgallery/mythgallery/mythgallery.pro
-+++ mythplugins-0.22rc1/mythgallery/mythgallery/mythgallery.pro
-@@ -14,7 +14,7 @@ TARGET = mythgallery
- target.path = $${LIBDIR}/mythtv/plugins
- INSTALLS += target
-
--INCLUDEPATH += $${PREFIX}/include/mythtv
-+INCLUDEPATH += $${SYSROOT}$${PREFIX}/include/mythtv
-
- # Input
- HEADERS += iconview.h singleview.h
diff --git a/recipes/mythtv/mythplugins/mythmovies.pro.patch b/recipes/mythtv/mythplugins/mythmovies.pro.patch
deleted file mode 100644
index 84e9450309..0000000000
--- a/recipes/mythtv/mythplugins/mythmovies.pro.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-Index: mythplugins-0.22rc1/mythmovies/mythmovies/mythmovies.pro
-===================================================================
---- mythplugins-0.22rc1.orig/mythmovies/mythmovies/mythmovies.pro
-+++ mythplugins-0.22rc1/mythmovies/mythmovies/mythmovies.pro
-@@ -10,7 +10,7 @@ TARGET = mythmovies
- target.path = $${LIBDIR}/mythtv/plugins
- INSTALLS += target
-
--INCLUDEPATH += $${PREFIX}/include/mythtv/libmythui
-+INCLUDEPATH += $${SYSROOT}$${PREFIX}/include/mythtv/libmythui
-
- # Input
- HEADERS += moviesui.h helperobjects.h moviessettings.h
diff --git a/recipes/mythtv/mythplugins/mythnews.pro.patch b/recipes/mythtv/mythplugins/mythnews.pro.patch
deleted file mode 100644
index 8b572fcb15..0000000000
--- a/recipes/mythtv/mythplugins/mythnews.pro.patch
+++ /dev/null
@@ -1,17 +0,0 @@
-Index: mythplugins-0.22rc1/mythnews/mythnews/mythnews.pro
-===================================================================
---- mythplugins-0.22rc1.orig/mythnews/mythnews/mythnews.pro
-+++ mythplugins-0.22rc1/mythnews/mythnews/mythnews.pro
-@@ -10,9 +10,9 @@ TARGET = mythnews
- target.path = $${LIBDIR}/mythtv/plugins
- INSTALLS += target
-
--INCLUDEPATH += $${PREFIX}/include/mythtv
--INCLUDEPATH += $${PREFIX}/include/mythtv/libmythui
--INCLUDEPATH += $${PREFIX}/include/mythtv/libmythdb
-+INCLUDEPATH += $${SYSROOT}$${PREFIX}/include/mythtv
-+INCLUDEPATH += $${SYSROOT}$${PREFIX}/include/mythtv/libmythui
-+INCLUDEPATH += $${SYSROOT}$${PREFIX}/include/mythtv/libmythdb
-
- installfiles.path = $${PREFIX}/share/mythtv/mythnews
- installfiles.files = news-sites.xml
diff --git a/recipes/mythtv/mythplugins_0.21+0.22rc1/mythplugins_wo_qtopengl.diff b/recipes/mythtv/mythplugins/mythplugins_wo_qtopengl.diff
index c0eb9d3075..c0eb9d3075 100644
--- a/recipes/mythtv/mythplugins_0.21+0.22rc1/mythplugins_wo_qtopengl.diff
+++ b/recipes/mythtv/mythplugins/mythplugins_wo_qtopengl.diff
diff --git a/recipes/mythtv/mythplugins/mythweather.pro.patch b/recipes/mythtv/mythplugins/mythweather.pro.patch
deleted file mode 100644
index c7fff48708..0000000000
--- a/recipes/mythtv/mythplugins/mythweather.pro.patch
+++ /dev/null
@@ -1,15 +0,0 @@
-Index: mythplugins-0.22rc1/mythweather/mythweather/mythweather.pro
-===================================================================
---- mythplugins-0.22rc1.orig/mythweather/mythweather/mythweather.pro
-+++ mythplugins-0.22rc1/mythweather/mythweather/mythweather.pro
-@@ -13,8 +13,8 @@ INSTALLS += target
- QMAKE_COPY_DIR = sh ../../cpsvndir
- win32:QMAKE_COPY_DIR = sh ../../cpsimple
-
--INCLUDEPATH += $${PREFIX}/include/mythtv
--INCLUDEPATH += $${PREFIX}/include/mythtv/libmythui
-+INCLUDEPATH += $${SYSROOT}$${PREFIX}/include/mythtv
-+INCLUDEPATH += $${SYSROOT}$${PREFIX}/include/mythtv/libmythui
-
- datafiles.path = $${PREFIX}/share/mythtv/mythweather/
- datafiles.files = weather-screens.xml
diff --git a/recipes/mythtv/mythplugins/mythzoneminder.pro.patch b/recipes/mythtv/mythplugins/mythzoneminder.pro.patch
deleted file mode 100644
index 9eb019c3ac..0000000000
--- a/recipes/mythtv/mythplugins/mythzoneminder.pro.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-Index: mythplugins-0.22rc1/mythzoneminder/mythzoneminder/mythzoneminder.pro
-===================================================================
---- mythplugins-0.22rc1.orig/mythzoneminder/mythzoneminder/mythzoneminder.pro
-+++ mythplugins-0.22rc1/mythzoneminder/mythzoneminder/mythzoneminder.pro
-@@ -8,7 +8,7 @@ TARGET = mythzoneminder
- target.path = $${LIBDIR}/mythtv/plugins
- INSTALLS += target
-
--INCLUDEPATH += $${PREFIX}/include/mythtv/libmythui
-+INCLUDEPATH += $${SYSROOT}$${PREFIX}/include/mythtv/libmythui
-
- # Input
- HEADERS += zmconsole.h zmplayer.h zmevents.h zmliveplayer.h zmdefines.h
diff --git a/recipes/mythtv/mythplugins_0.21+0.22rc1/sysroot.patch b/recipes/mythtv/mythplugins/sysroot.patch
index 4cf344d2d7..4cf344d2d7 100644
--- a/recipes/mythtv/mythplugins_0.21+0.22rc1/sysroot.patch
+++ b/recipes/mythtv/mythplugins/sysroot.patch
diff --git a/recipes/mythtv/mythplugins_0.21+0.22rc1.bb b/recipes/mythtv/mythplugins_0.21+0.22rc1.bb
deleted file mode 100644
index 3b7732c933..0000000000
--- a/recipes/mythtv/mythplugins_0.21+0.22rc1.bb
+++ /dev/null
@@ -1,227 +0,0 @@
-inherit qmake2 qt4x11
-
-/DEFAULT_PREFERENCE = "-1"
-
-PV = "0.21+0.22rc1"
-PR = "r1"
-DEPENDS = "flac taglib mythtv libvorbis libexif libvisual libsdl-x11 libcdaudio cdparanoia"
-
-# todo: add mythweb
-# todo: fix and add mythmusic
-# todo: fix and add zoneminder
-
-PACKAGES =+ "mytharchive mytharchive-dbg \
- mythbrowser mythbrowser-dbg \
- mythflix mythflix-dbg \
- mythgallery mythgallery-dbg \
- mythgame mythgame-dbg \
- mythmovies mythmovies-dbg \
- mythnews mythnews-dbg \
- mythvideo mythvideo-dbg \
- mythweather mythweather-dbg"
-
-RDEPENDS_${PN} = "mytharchive mythbrowser mythflix mythgallery \
- mythgame mythmovies mythnews mythvideo mythweather"
-
-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-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/webpage.png \
- ${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/title_netflix-bg.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_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/mv_level_none.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_medium.png \
- $(datadir)/mythtv/themes/default/mv_browse_selector.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/themes/default-wide/mv-background.png \
- ${datadir}/mythtv/themes/default-wide/mv-mselect.png \
- ${datadir}/mythtv/themes/default-wide/mv-sel.png \
- ${datadir}/mythtv/themes/default-wide/mv-wait-background.png \
- ${datadir}/mythtv/themes/default-wide/mv-filerequest.png \
- ${datadir}/mythtv/themes/default-wide/mv-other_background.png \
- ${datadir}/mythtv/themes/default-wide/mv-selected.png \
- ${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"
-
-SRC_URI = "ftp://ftp.osuosl.org/pub/mythtv/mythplugins-0.22rc1.tar.bz2 \
- file://MythBackend.php.patch;patch=1 \
- file://sysroot.patch;patch=1 \
- file://mythplugins_wo_qtopengl.diff;patch=1 \
- file://configure.patch;patch=1 \
- "
-
-S = "${WORKDIR}/mythplugins-0.22rc1"
-
-QMAKE_PROFILES = "mythplugins.pro"
-
-# Note: a lot of functionality is disabled because it depends on QtOpenGL
-# which is not in OE at the moment
-
-# zoneminder needs sql files
-# mythmusic has a problem with cdparanoia and private; from the cdparanoia buglist
-# 'private' as a reserved keyword now being enforced by GCC 4.3, causes a build failure (patched in SVN).
-EXTRA_OECONF = " \
- --cross-prefix=${TARGET_PREFIX} \
- --sysroot=${STAGING_DIR_HOST} \
- --prefix=${prefix} \
- --with-libdir-name=${STAGING_LIBDIR} \
- --disable-opengl \
- --disable-mythmusic \
- --disable-mythzoneminder \
- \
- --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}"
-
-}
-
-#ALLOW_EMPTY_${PN} = "1"
diff --git a/recipes/mythtv/mythplugins_0.21+0.22rc1/MythBackend.php.patch b/recipes/mythtv/mythplugins_0.21+0.22rc1/MythBackend.php.patch
deleted file mode 100644
index 95cf86e49f..0000000000
--- a/recipes/mythtv/mythplugins_0.21+0.22rc1/MythBackend.php.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-Index: mythplugins-0.22rc1/mythweb/classes/MythBackend.php
-===================================================================
---- mythplugins-0.22rc1.orig/mythweb/classes/MythBackend.php
-+++ mythplugins-0.22rc1/mythweb/classes/MythBackend.php
-@@ -111,7 +111,7 @@ class MythBackend {
- }
-
- public function setTimezone() {
-- if (!is_string($_SESSION['backend']['timezone']['value']) || $_SESSION['backend']['timezone']['last_check_time'] - time() > 60*60*24) {
-+ if (!is_string($_SESSION['backend']['timezone']['value']) || time() - $_SESSION['backend']['timezone']['last_check_time'] () > 60*60*24) {
- $response = $this->sendCommand('QUERY_TIME_ZONE');
- $timezone = str_replace(' ', '_', $response[0]);
- $_SESSION['backend']['timezone']['value'] = $timezone;
diff --git a/recipes/mythtv/mythplugins_0.21+0.22rc2.bb b/recipes/mythtv/mythplugins_0.21+0.22rc2.bb
new file mode 100644
index 0000000000..12d6f268da
--- /dev/null
+++ b/recipes/mythtv/mythplugins_0.21+0.22rc2.bb
@@ -0,0 +1,201 @@
+# todo: add mythweb
+# todo: fix and add mythmusic
+# todo: fix and add zoneminder
+#ALLOW_EMPTY_${PN} = "1"
+DEPENDS = "flac taglib mythtv libvorbis libexif libvisual libsdl-x11 libcdaudio cdparanoia"
+RDEPENDS_${PN} = "mytharchive mythbrowser mythflix mythgallery \
+ mythgame mythmovies mythnews mythvideo mythweather"
+PV = "0.21+0.22rc2"
+PR = "r0"
+
+#DEFAULT_PREFERENCE = "-1"
+
+QMAKE_PROFILES = "mythplugins.pro"
+
+SRC_URI = "ftp://ftp.osuosl.org/pub/mythtv/mythplugins-0.22rc2.tar.bz2 \
+ file://MythBackend.php.patch;patch=1 \
+ file://sysroot.patch;patch=1 \
+ file://mythplugins_wo_qtopengl.diff;patch=1 \
+ file://configure.patch;patch=1 \
+ "
+
+S = "${WORKDIR}/mythplugins-0.22rc2"
+
+inherit qmake2 qt4x11
+
+# zoneminder needs sql files
+# mythmusic has a problem with cdparanoia and private; from the cdparanoia buglist
+# 'private' as a reserved keyword now being enforced by GCC 4.3, causes a build failure (patched in SVN).
+EXTRA_OECONF = " \
+ --cross-prefix=${TARGET_PREFIX} \
+ --sysroot=${STAGING_DIR_HOST} \
+ --prefix=${prefix} \
+ --with-libdir-name=${STAGING_LIBDIR} \
+ --disable-opengl \
+ --disable-mythmusic \
+ --disable-mythzoneminder \
+ \
+ --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}"
+}
+
+PACKAGES =+ "mytharchive mytharchive-dbg \
+ mythbrowser mythbrowser-dbg \
+ mythflix mythflix-dbg \
+ mythgallery mythgallery-dbg \
+ mythgame mythgame-dbg \
+ mythmovies mythmovies-dbg \
+ mythnews mythnews-dbg \
+ mythvideo mythvideo-dbg \
+ mythweather mythweather-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-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/webpage.png \
+ ${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/title_netflix-bg.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_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/mv_level_none.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_medium.png \
+ $(datadir)/mythtv/themes/default/mv_browse_selector.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/themes/default-wide/mv-background.png \
+ ${datadir}/mythtv/themes/default-wide/mv-mselect.png \
+ ${datadir}/mythtv/themes/default-wide/mv-sel.png \
+ ${datadir}/mythtv/themes/default-wide/mv-wait-background.png \
+ ${datadir}/mythtv/themes/default-wide/mv-filerequest.png \
+ ${datadir}/mythtv/themes/default-wide/mv-other_background.png \
+ ${datadir}/mythtv/themes/default-wide/mv-selected.png \
+ ${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"
diff --git a/recipes/mythtv/mythtv-0.21+0.22rc1/configure.patch b/recipes/mythtv/mythtv-0.21+0.22rc2/configure.patch
index 748c88d9fc..748c88d9fc 100644
--- a/recipes/mythtv/mythtv-0.21+0.22rc1/configure.patch
+++ b/recipes/mythtv/mythtv-0.21+0.22rc2/configure.patch
diff --git a/recipes/mythtv/mythtv_0.21+0.22rc1.bb b/recipes/mythtv/mythtv_0.21+0.22rc1.bb
deleted file mode 100644
index 95f04e5132..0000000000
--- a/recipes/mythtv/mythtv_0.21+0.22rc1.bb
+++ /dev/null
@@ -1,124 +0,0 @@
-require mythtv.inc
-
-inherit qmake2 qt4x11
-
-DEFAULT_PREFERENCE = "-1"
-
-PV = "0.21+0.22rc1"
-PR = "r4"
-REALPV = "0.22"
-
-SRC_URI = "ftp://ftp.osuosl.org/pub/mythtv/mythtv-0.22rc1.tar.bz2 \
- file://configure.patch;patch=1 \
- "
-
-S = "${WORKDIR}/mythtv-0.22rc1"
-
-QMAKE_PROFILES = "mythtv.pro"
-
-mythlibs = "mythdb mythavutil mythavcodec mythavformat mythswscale mythhdhomerun myth mythtv mythui mythfreemheg mythupnp mythlivemedia"
-PACKAGES =+ "mythtv-backend mythtv-frontend mythtv-bin mythtv-filters mythtv-data"
-
-FILES_${PN}-dbg += "${libdir}/mythtv/filters/.debug"
-FILES_mythtv-backend = "${bindir}/mythbackend ${bindir}/mythcommflag ${bindir}/mythfilldatabase ${bindir}/mythtranscode"
-FILES_mythtv-frontend = "${bindir}/mythfrontend ${datadir}/mythtv/i18n/mythfrontend_* ${datadir}/mythtv/*.ttf"
-FILES_mythtv-bin = "${bindir}/*"
-FILES_mythtv-filters = "${libdir}/mythtv/filters/*"
-FILES_mythtv-data = "${datadir}"
-RDEPENDS_${PN} = "mythtv-backend mythtv-frontend mythtv-bin mythtv-filters mythtv-data"
-ALLOW_EMPTY_${PN} = "1"
-
-PACKAGES_DYNAMIC = "mythtv-theme-*"
-
-python __anonymous () {
- import bb
-
- mythlibs = bb.data.getVar('mythlibs', d).split()
- pv = bb.data.expand(bb.data.getVar("REALPV", d), d)
-
- for m in mythlibs:
- bb.data.setVar("FILES_lib%s%s" % (m, pv), "${libdir}/lib%s-%s.so.*" % (m, pv), d)
- bb.data.setVar("FILES_lib%s%s-dev" % (m, pv), "${libdir}/lib%s-%s.*" % (m, pv), d)
-
- packages = " ".join(map(lambda x: "lib%s%s lib%s%s-dev" % (x, pv, x, pv), mythlibs) + bb.data.getVar("PACKAGES", d).split())
-
- bb.data.setVar("PACKAGES", packages, d)
-}
-
-EXTRA_MYTHTVCONF_armv7a = "--cpu=cortex-a8"
-EXTRA_MYTHTVCONF_armv5te = "--cpu=armv5te"
-EXTRA_MYTHTVCONF ?= ""
-
-EXTRA_OECONF = " \
- --cross-prefix=${TARGET_PREFIX} \
- --sysroot=${STAGING_DIR_HOST} \
- --prefix=${prefix} \
- --arch=${TARGET_ARCH} \
- \
- --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_prepend() {
-# it's not autotools anyway, so we call ./configure directly
- find . -name "Makefile"|xargs rm -f
-
- ./configure --qmake=qmake2 \
- --disable-altivec \
- --disable-opengl \
- --disable-stripping \
- --disable-xvmc \
- --enable-v4l \
- --enable-audio-oss \
- --enable-dvb \
- --enable-libmp3lame \
- --dvb-path=${STAGING_INCDIR} \
- --without-bindings=perl,python \
- ${EXTRA_OECONF}
-}
-
-python populate_packages_prepend () {
- new_packages = []
-
- def the_hook(file, pkg, pattern, format, basename):
- new_packages.append(pkg)
-
- do_split_packages(d, root=bb.data.expand('${datadir}/mythtv/themes', d), file_regex='(.*)', output_pattern='mythtv-theme-%s', description='MythTV theme %s', allow_dirs=True, hook=the_hook, prepend=True)
-
- bb.data.setVar("RDEPENDS_${PN}", "%s %s" % (bb.data.getVar("RDEPENDS_${PN}", d), " ".join(new_packages)), d)
-}
-
-do_stage() {
- install -d ${STAGING_INCDIR}
- install -d ${STAGING_INCDIR}/${PN}
- install -d ${STAGING_INCDIR}/${PN}/dvdnav
- install -d ${STAGING_INCDIR}/${PN}/dvdread
- install -d ${STAGING_INCDIR}/${PN}/libavcodec
- install -d ${STAGING_INCDIR}/${PN}/libavformat
- install -d ${STAGING_INCDIR}/${PN}/libavutil
- install -d ${STAGING_INCDIR}/${PN}/libmyth
- install -d ${STAGING_INCDIR}/${PN}/libmythdb
- install -d ${STAGING_INCDIR}/${PN}/libmythui
- install -d ${STAGING_INCDIR}/${PN}/libswscale
- install -d ${STAGING_INCDIR}/${PN}/mpeg2dec
- install -d ${STAGING_INCDIR}/${PN}/upnp
- install -m 0644 ${D}/${includedir}/${PN}/*.h ${STAGING_INCDIR}/${PN}
- install -m 0644 ${D}/${includedir}/${PN}/mythconfig.mak ${STAGING_INCDIR}/${PN}
- install -m 0644 ${D}/${includedir}/${PN}/dvdnav/*.h ${STAGING_INCDIR}/${PN}/dvdnav
- install -m 0644 ${D}/${includedir}/${PN}/dvdread/*.h ${STAGING_INCDIR}/${PN}/dvdread
- install -m 0644 ${D}/${includedir}/${PN}/libavcodec/*.h ${STAGING_INCDIR}/${PN}/libavcodec
- install -m 0644 ${D}/${includedir}/${PN}/libavformat/*.h ${STAGING_INCDIR}/${PN}/libavformat
- install -m 0644 ${D}/${includedir}/${PN}/libavutil/*.h ${STAGING_INCDIR}/${PN}/libavutil
- install -m 0644 ${D}/${includedir}/${PN}/libmyth/*.h ${STAGING_INCDIR}/${PN}/libmyth
- install -m 0644 ${D}/${includedir}/${PN}/libmythdb/*.h ${STAGING_INCDIR}/${PN}/libmythdb
- install -m 0644 ${D}/${includedir}/${PN}/libmythui/*.h ${STAGING_INCDIR}/${PN}/libmythui
- install -m 0644 ${D}/${includedir}/${PN}/libswscale/*.h ${STAGING_INCDIR}/${PN}/libswscale
- install -m 0644 ${D}/${includedir}/${PN}/mpeg2dec/*.h ${STAGING_INCDIR}/${PN}/mpeg2dec
- install -m 0644 ${D}/${includedir}/${PN}/upnp/*.h ${STAGING_INCDIR}/${PN}/upnp
- # next part may need to be done better
- cp -R ${D}/${libdir}/* ${STAGING_LIBDIR}
- # ugly chmod ahead
- chmod -R ugo+r ${STAGING_LIBDIR}
-}
diff --git a/recipes/mythtv/mythtv_0.21+0.22rc2.bb b/recipes/mythtv/mythtv_0.21+0.22rc2.bb
new file mode 100644
index 0000000000..38608797eb
--- /dev/null
+++ b/recipes/mythtv/mythtv_0.21+0.22rc2.bb
@@ -0,0 +1,113 @@
+require mythtv.inc
+
+RDEPENDS_${PN} = "mythtv-backend mythtv-frontend mythtv-bin mythtv-filters mythtv-data"
+PV = "0.21+0.22rc2"
+PR = "r0"
+REALPV = "0.22"
+
+#DEFAULT_PREFERENCE = "-1"
+ALLOW_EMPTY_${PN} = "1"
+
+QMAKE_PROFILES = "mythtv.pro"
+
+SRC_URI = "ftp://ftp.osuosl.org/pub/mythtv/mythtv-0.22rc2.tar.bz2 \
+ file://configure.patch;patch=1 \
+ "
+
+S = "${WORKDIR}/mythtv-0.22rc2"
+
+inherit qmake2 qt4x11
+
+EXTRA_MYTHTVCONF_armv7a = "--cpu=cortex-a8"
+EXTRA_MYTHTVCONF_armv5te = "--cpu=armv5te"
+EXTRA_MYTHTVCONF ?= ""
+EXTRA_OECONF = " \
+ --cross-prefix=${TARGET_PREFIX} \
+ --sysroot=${STAGING_DIR_HOST} \
+ --prefix=${prefix} \
+ --arch=${TARGET_ARCH} \
+ \
+ --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_prepend() {
+# it's not autotools anyway, so we call ./configure directly
+ find . -name "Makefile"|xargs rm -f
+ ./configure --qmake=qmake2 \
+ --disable-altivec \
+ --disable-opengl \
+ --disable-stripping \
+ --disable-xvmc \
+ --enable-v4l \
+ --enable-audio-oss \
+ --enable-dvb \
+ --enable-libmp3lame \
+ --dvb-path=${STAGING_INCDIR} \
+ --without-bindings=perl,python \
+ ${EXTRA_OECONF}
+}
+do_stage() {
+ install -d ${STAGING_INCDIR}
+ install -d ${STAGING_INCDIR}/${PN}
+ install -d ${STAGING_INCDIR}/${PN}/dvdnav
+ install -d ${STAGING_INCDIR}/${PN}/dvdread
+ install -d ${STAGING_INCDIR}/${PN}/libavcodec
+ install -d ${STAGING_INCDIR}/${PN}/libavformat
+ install -d ${STAGING_INCDIR}/${PN}/libavutil
+ install -d ${STAGING_INCDIR}/${PN}/libmyth
+ install -d ${STAGING_INCDIR}/${PN}/libmythdb
+ install -d ${STAGING_INCDIR}/${PN}/libmythui
+ install -d ${STAGING_INCDIR}/${PN}/libswscale
+ install -d ${STAGING_INCDIR}/${PN}/mpeg2dec
+ install -d ${STAGING_INCDIR}/${PN}/upnp
+ install -m 0644 ${D}/${includedir}/${PN}/*.h ${STAGING_INCDIR}/${PN}
+ install -m 0644 ${D}/${includedir}/${PN}/mythconfig.mak ${STAGING_INCDIR}/${PN}
+ install -m 0644 ${D}/${includedir}/${PN}/dvdnav/*.h ${STAGING_INCDIR}/${PN}/dvdnav
+ install -m 0644 ${D}/${includedir}/${PN}/dvdread/*.h ${STAGING_INCDIR}/${PN}/dvdread
+ install -m 0644 ${D}/${includedir}/${PN}/libavcodec/*.h ${STAGING_INCDIR}/${PN}/libavcodec
+ install -m 0644 ${D}/${includedir}/${PN}/libavformat/*.h ${STAGING_INCDIR}/${PN}/libavformat
+ install -m 0644 ${D}/${includedir}/${PN}/libavutil/*.h ${STAGING_INCDIR}/${PN}/libavutil
+ install -m 0644 ${D}/${includedir}/${PN}/libmyth/*.h ${STAGING_INCDIR}/${PN}/libmyth
+ install -m 0644 ${D}/${includedir}/${PN}/libmythdb/*.h ${STAGING_INCDIR}/${PN}/libmythdb
+ install -m 0644 ${D}/${includedir}/${PN}/libmythui/*.h ${STAGING_INCDIR}/${PN}/libmythui
+ install -m 0644 ${D}/${includedir}/${PN}/libswscale/*.h ${STAGING_INCDIR}/${PN}/libswscale
+ install -m 0644 ${D}/${includedir}/${PN}/mpeg2dec/*.h ${STAGING_INCDIR}/${PN}/mpeg2dec
+ install -m 0644 ${D}/${includedir}/${PN}/upnp/*.h ${STAGING_INCDIR}/${PN}/upnp
+ # next part may need to be done better
+ cp -R ${D}/${libdir}/* ${STAGING_LIBDIR}
+ # ugly chmod ahead
+ chmod -R ugo+r ${STAGING_LIBDIR}
+}
+
+PACKAGES =+ "mythtv-backend mythtv-frontend mythtv-bin mythtv-filters mythtv-data"
+PACKAGES_DYNAMIC = "mythtv-theme-*"
+
+FILES_${PN}-dbg += "${libdir}/mythtv/filters/.debug"
+FILES_mythtv-backend = "${bindir}/mythbackend ${bindir}/mythcommflag ${bindir}/mythfilldatabase ${bindir}/mythtranscode"
+FILES_mythtv-frontend = "${bindir}/mythfrontend ${datadir}/mythtv/i18n/mythfrontend_* ${datadir}/mythtv/*.ttf"
+FILES_mythtv-bin = "${bindir}/*"
+FILES_mythtv-filters = "${libdir}/mythtv/filters/*"
+FILES_mythtv-data = "${datadir}"
+
+mythlibs = "mythdb mythavutil mythavcodec mythavformat mythswscale mythhdhomerun myth mythtv mythui mythfreemheg mythupnp mythlivemedia"
+
+python __anonymous () {
+ import bb
+ mythlibs = bb.data.getVar('mythlibs', d).split()
+ pv = bb.data.expand(bb.data.getVar("REALPV", d), d)
+ for m in mythlibs:
+ bb.data.setVar("FILES_lib%s%s" % (m, pv), "${libdir}/lib%s-%s.so.*" % (m, pv), d)
+ bb.data.setVar("FILES_lib%s%s-dev" % (m, pv), "${libdir}/lib%s-%s.*" % (m, pv), d)
+ packages = " ".join(map(lambda x: "lib%s%s lib%s%s-dev" % (x, pv, x, pv), mythlibs) + bb.data.getVar("PACKAGES", d).split())
+ bb.data.setVar("PACKAGES", packages, d)
+}
+python populate_packages_prepend () {
+ new_packages = []
+ def the_hook(file, pkg, pattern, format, basename):
+ new_packages.append(pkg)
+ do_split_packages(d, root=bb.data.expand('${datadir}/mythtv/themes', d), file_regex='(.*)', output_pattern='mythtv-theme-%s', description='MythTV theme %s', allow_dirs=True, hook=the_hook, prepend=True)
+ bb.data.setVar("RDEPENDS_${PN}", "%s %s" % (bb.data.getVar("RDEPENDS_${PN}", d), " ".join(new_packages)), d)
+}