1 DESCRIPTION = "A full featured personal video recorder system."
2 MAINTAINER = "Michael 'Mickey' Lauer"
3 SECTION = "x11/multimedia"
6 SRC_URI = "http://www.mythtv.org/mc/mythtv-${PV}.tar.bz2"
8 DEPENDS = "xinerama qt-x11-free lame libxv libxxf86vm libxvmc lirc"
9 RDEPENDS = "qt-x11-plugins"
13 # there is a -march=586 somewhere in the source tree
14 COMPATIBLE_HOST = 'i.86.*-linux'
16 QMAKE_PROFILES = "mythtv.pro"
20 arch = oe.data.getVar('TARGET_ARCH', d, 1)
21 if re.match("^i.86$", arch):
23 elif arch == "x86_64":
29 MYTHTV_ARCH := "${@mythtv_arch(d)}"
31 do_configure_prepend() {
32 # it's not autotools anyway, so we call ./configure directly
33 find . -name "Makefile"|xargs rm -f
34 ./configure --prefix=/usr \
48 --disable-amr_nb-fixed \
51 --cpu=${MYTHTV_ARCH} \
56 --disable-audio-beos \
60 --enable-simple_idct \
62 --disable-mpegaudio-hp \
67 sed 's!PREFIX =.*!PREFIX = ${prefix}!' < settings.pro > settings.pro.new
68 mv settings.pro.new settings.pro
72 oe_runmake INSTALL_ROOT=${D} install