summaryrefslogtreecommitdiff
path: root/packages/mythtv
diff options
context:
space:
mode:
Diffstat (limited to 'packages/mythtv')
-rw-r--r--packages/mythtv/mythtv_0.16.bb74
-rw-r--r--packages/mythtv/mythtv_0.17.bb0
2 files changed, 74 insertions, 0 deletions
diff --git a/packages/mythtv/mythtv_0.16.bb b/packages/mythtv/mythtv_0.16.bb
index e69de29bb2..0dd6e22120 100644
--- a/packages/mythtv/mythtv_0.16.bb
+++ b/packages/mythtv/mythtv_0.16.bb
@@ -0,0 +1,74 @@
+DESCRIPTION = "A full featured personal video recorder system."
+MAINTAINER = "Michael 'Mickey' Lauer"
+SECTION = "x11/multimedia"
+PR = "r2"
+
+SRC_URI = "http://www.mythtv.org/mc/mythtv-${PV}.tar.bz2"
+
+DEPENDS = "xinerama qt-x11-free lame libxv libxxf86vm libxvmc lirc"
+RDEPENDS = "qt-x11-plugins"
+
+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_configure_prepend() {
+# it's not autotools anyway, so we call ./configure directly
+ find . -name "Makefile"|xargs rm -f
+ ./configure --prefix=/usr \
+ --mandir=/usr/man \
+ --disable-mp3lame \
+ --enable-vorbis \
+ --disable-faad \
+ --disable-faadbin \
+ --disable-faac \
+ --disable-mingw32 \
+ --enable-a52 \
+ --disable-a52bin \
+ --enable-pp \
+ --enable-shared-pp \
+ --enable-shared \
+ --disable-amr_nb \
+ --disable-amr_nb-fixed \
+ --disable-sunmlib \
+ \
+ --cpu=${MYTHTV_ARCH} \
+ --enable-mmx \
+ --disable-altivec \
+ --enable-v4l \
+ --enable-audio-oss \
+ --disable-audio-beos \
+ --enable-dv1394 \
+ --enable-network \
+ --enable-zlib \
+ --enable-simple_idct \
+ --disable-vhook \
+ --disable-mpegaudio-hp \
+ --enable-ffserver \
+ --enable-ffplay \
+ --enable-risky
+
+ sed 's!PREFIX =.*!PREFIX = ${prefix}!' < settings.pro > settings.pro.new
+ mv settings.pro.new settings.pro
+}
+
+do_install() {
+ oe_runmake INSTALL_ROOT=${D} install
+}
+
diff --git a/packages/mythtv/mythtv_0.17.bb b/packages/mythtv/mythtv_0.17.bb
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/mythtv/mythtv_0.17.bb