1 DESCRIPTION = "A full featured personal video recorder system."
2 HOMEPAGE = "http://www.mythtv.org"
4 MAINTAINER = "Michael 'Mickey' Lauer <mickey@Vanille.de>"
5 SECTION = "x11/multimedia"
8 SRC_URI = "http://www.mythtv.org/mc/mythtv-${PV}.tar.bz2 \
9 file://msmpeg-underscore-pic.patch;patch=1 \
12 DEPENDS = "xinerama lame libxv libxxf86vm libxvmc lirc"
13 RDEPENDS = "qt-x11-plugins"
17 # there is a -march=586 somewhere in the source tree
18 COMPATIBLE_HOST = 'i.86.*-linux'
20 QMAKE_PROFILES = "mythtv.pro"
24 arch = bb.data.getVar('TARGET_ARCH', d, 1)
25 if re.match("^i.86$", arch):
27 elif arch == "x86_64":
33 MYTHTV_ARCH := "${@mythtv_arch(d)}"
35 do_configure_prepend() {
36 # it's not autotools anyway, so we call ./configure directly
37 find . -name "Makefile"|xargs rm -f
38 ./configure --prefix=/usr \
52 --disable-amr_nb-fixed \
55 --cpu=${MYTHTV_ARCH} \
60 --disable-audio-beos \
64 --enable-simple_idct \
66 --disable-mpegaudio-hp \
71 install -m 0644 ${WORKDIR}/settings.pro ${S}/
72 sed 's!PREFIX =.*!PREFIX = ${prefix}!' < settings.pro > settings.pro.new
73 mv settings.pro.new settings.pro
77 oe_runmake INSTALL_ROOT=${D} install