summaryrefslogtreecommitdiff
path: root/packages/mythtv/mythtv.inc
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <hrw@openembedded.org>2007-01-25 17:48:24 +0000
committerMarcin Juszkiewicz <hrw@openembedded.org>2007-01-25 17:48:24 +0000
commit7a4d5b91f95ab60a68440d55e623a80a03c63bd8 (patch)
tree5ab52f6a6b4401c8b0951d65643b1e15988e5226 /packages/mythtv/mythtv.inc
parent0600591677d74c93ddc2bb2ef51b633ae0c36b21 (diff)
mythtv: unified, need testing
Diffstat (limited to 'packages/mythtv/mythtv.inc')
-rw-r--r--packages/mythtv/mythtv.inc32
1 files changed, 32 insertions, 0 deletions
diff --git a/packages/mythtv/mythtv.inc b/packages/mythtv/mythtv.inc
new file mode 100644
index 0000000000..4ceda5d421
--- /dev/null
+++ b/packages/mythtv/mythtv.inc
@@ -0,0 +1,32 @@
+DESCRIPTION = "A full featured personal video recorder system."
+HOMEPAGE = "http://www.mythtv.org"
+LICENSE = "GPL"
+SECTION = "x11/multimedia"
+DEPENDS = "libxinerama lame libxv libxxf86vm libxvmc lirc qt-x11-free"
+RDEPENDS_${PN} = "qt-x11-plugins-sqldrivers qt-x11-plugins-imageformats"
+
+SRC_URI = "http://www.mythtv.org/mc/mythtv-${PV}.tar.bz2"
+
+inherit qmake qt3x11
+
+# there is a -march=586 somewhere in the source tree
+COMPATIBLE_HOST = 'i.86.*-linux'
+
+QMAKE_PROFILES = "mythtv.pro"
+
+def mythtv_arch(d):
+ import bb, re
+ arch = bb.data.getVar('TARGET_ARCH', d, 1)
+ if re.match("^i.86$", arch):
+ arch = "x86"
+ elif arch == "x86_64":
+ arch = "x86"
+ elif arch == "arm":
+ arch = "armv4l"
+ return arch
+
+MYTHTV_ARCH := "${@mythtv_arch(d)}"
+
+do_install() {
+ oe_runmake INSTALL_ROOT=${D} install
+}