diff options
author | Phil Blundell <philb@gnu.org> | 2004-09-18 23:45:13 +0000 |
---|---|---|
committer | Phil Blundell <philb@gnu.org> | 2004-09-18 23:45:13 +0000 |
commit | 417ea5986c724a0727e7e542933b3e82f96cbdea (patch) | |
tree | 4362e2fc16e75e41699a852b8fea3f064c1fea35 /mythtv/mythtv_0.16+cvs20040918.oe | |
parent | 8b25d90f4e28e7de340be1b19a7304da44bd8266 (diff) |
add qt-x11-plugins to DEPENDS
BKrev: 414cc889F_-0NAhYz15v1BWAOt96eg
Diffstat (limited to 'mythtv/mythtv_0.16+cvs20040918.oe')
-rw-r--r-- | mythtv/mythtv_0.16+cvs20040918.oe | 78 |
1 files changed, 78 insertions, 0 deletions
diff --git a/mythtv/mythtv_0.16+cvs20040918.oe b/mythtv/mythtv_0.16+cvs20040918.oe index e69de29bb2..5bf27a221e 100644 --- a/mythtv/mythtv_0.16+cvs20040918.oe +++ b/mythtv/mythtv_0.16+cvs20040918.oe @@ -0,0 +1,78 @@ +DESCRIPTION = "A full featured personal video recorder system." +MAINTAINER = "Michael 'Mickey' Lauer" +SECTION = "multimedia" +PR = "r2" + +SRC_URI = "cvs://mythtv:mythtv@cvs.mythtv.org/var/lib/mythcvs;module=mythtv;date=20040918;method=pserver \ + file://xvmc-via.patch;patch=1;pnum=0 \ + file://settings.pro" +S = "${WORKDIR}/mythtv" + +DEPENDS = "xinerama qt-x11-free lame libxv libxxf86vm libxvmc" +RDEPENDS = "qt-x11-plugins" + +inherit qmake + +export OE_QMAKE_UIC="${STAGING_BINDIR}/uic3" +export OE_QMAKE_MOC="${STAGING_BINDIR}/moc3" + +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 \ + --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 + + install -m 0644 ${WORKDIR}/settings.pro ${S}/ +} + +do_install() { + oe_runmake INSTALL_ROOT=${D} install +} + |