diff options
author | Michael Lauer <mickey@vanille-media.de> | 2004-09-09 22:27:48 +0000 |
---|---|---|
committer | Michael Lauer <mickey@vanille-media.de> | 2004-09-09 22:27:48 +0000 |
commit | 465d7f55c36414f9c031b5ac02c0bc18c765ae74 (patch) | |
tree | e4d3b8b64ad48ff2af44c47f9af8714601e82290 /nonworking | |
parent | c105021d755c1e898347d0c312e39194a5b2e9f1 (diff) |
start working on mythtv which nearly builds
BKrev: 4140d8e4riKnJCftLoQ-kBBFTe9pCA
Diffstat (limited to 'nonworking')
-rw-r--r-- | nonworking/mythtv/mythtv/settings.patch | 0 | ||||
-rw-r--r-- | nonworking/mythtv/mythtv_0.15.1.oe | 64 |
2 files changed, 64 insertions, 0 deletions
diff --git a/nonworking/mythtv/mythtv/settings.patch b/nonworking/mythtv/mythtv/settings.patch new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/nonworking/mythtv/mythtv/settings.patch diff --git a/nonworking/mythtv/mythtv_0.15.1.oe b/nonworking/mythtv/mythtv_0.15.1.oe index e69de29bb2..a77ee3d757 100644 --- a/nonworking/mythtv/mythtv_0.15.1.oe +++ b/nonworking/mythtv/mythtv_0.15.1.oe @@ -0,0 +1,64 @@ +DESCRIPTION = "A full featured personal video recorder system." +MAINTAINER = "Michael 'Mickey' Lauer" +SECTION = "multimedia" +PR = "r1" + +SRC_URI = "http://www.mythtv.org/mc/mythtv-0.15.1.tar.bz2 \ + file://settings.patch;patch=1" + +inherit qmake + +QMAKE_PROFILES = "mythtv.pro" + +def mythtv_arch(d): + import oe, re + arch = oe.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)}" + +EXTRA_QMAKEVARS_POST += "QMAKE_LIBS_QT=-lqt QMAKE_LIBS_QT_THREAD=-lqt-mt" + +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 \ + --disable-a52 \ + --disable-a52bin \ + --enable-pp \ + --enable-shared-pp \ + --enable-shared \ + --disable-amr_nb \ + --disable-amr_nb-fixed \ + --disable-sunmlib \ + \ + --cpu=${MYTHTV_ARCH} \ + --disable-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 +} + |