summaryrefslogtreecommitdiff
path: root/recipes/mythtv/mythtv.inc
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/mythtv/mythtv.inc')
-rw-r--r--recipes/mythtv/mythtv.inc30
1 files changed, 30 insertions, 0 deletions
diff --git a/recipes/mythtv/mythtv.inc b/recipes/mythtv/mythtv.inc
new file mode 100644
index 0000000000..1d7b90be0e
--- /dev/null
+++ b/recipes/mythtv/mythtv.inc
@@ -0,0 +1,30 @@
+DESCRIPTION = "A full featured personal video recorder system."
+HOMEPAGE = "http://www.mythtv.org"
+LICENSE = "GPL"
+SECTION = "x11/multimedia"
+DEPENDS = "fftw fftwf fftwl jack alsa-lib libxinerama libxv libxxf86vm libxvmc lirc \
+ ${@base_conditional('ENTERPRISE_DISTRO', '1', '', 'lame', d)}"
+#RDEPENDS_${PN} = "qt-x11-plugins-sqldrivers qt-x11-plugins-imageformats"
+
+SRC_URI = "http://www.mythtv.org/mc/mythtv-${PV}.tar.bz2"
+
+ARM_INSTRUCTION_SET = "arm"
+
+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 = "${BASE_PACKAGE_ARCH}"
+ return arch
+
+MYTHTV_ARCH := "${@mythtv_arch(d)}"
+
+do_install() {
+ oe_runmake INSTALL_ROOT=${D} install
+}