[mythtv] Deb builds from SVN?

Will Dyson will.dyson at gmail.com
Mon Feb 13 07:23:41 UTC 2006


On 2/12/06, Anthony J. Mirabella <mirabeaj at aneurysm9.ath.cx> wrote:

> Try this diff against mythtv/debian/rules.  It sets the arch only on
> i386 using the DEB_BUILD_ARCH var.  Let me know if there are other opts
> that should be set on other archs.  I only have i386 available to me.
>
>
> --- rules.old   2006-02-12 22:42:22.000000000 -0500
> +++ rules       2006-02-12 22:40:59.000000000 -0500
> @@ -9,13 +9,20 @@
>
>  export QTDIR=$(shell for qtdir in /usr/share/qt3 /usr/share/qt; do if test -d $$qtdir; then echo $$qtdir; break; fi; done)
>
> +# any arch
>  CCVARS=CC=gcc CXX=g++ LINK=g++
> +CONFFLAGS=
> +
> +# i486
> +ifeq ($(DEB_BUILD_ARCH),i386)
> +CONFFLAGS=--arch=i486 --enable-mmx
> +endif
>
>  configure: configure-stamp
>  configure-stamp: patch-stamp
>         dh_testdir
>
> -       $(CCVARS) ./configure --prefix=/usr --arch=i486 --enable-mmx \
> +       $(CCVARS) ./configure --prefix=/usr $(CONFFLAGS) \
>         --enable-lirc --enable-audio-alsa --enable-dvb --enable-audio-oss \
>         --enable-audio-jack --enable-audio-arts --enable-opengl-vsync \
>         --enable-dvb --dvb-path=/usr/include --enable-firewire --enable-ivtv \

Looks good for me. Don't know if the PPC folks have any extra flags
they would want.

--
Will Dyson


More information about the mythtv-dev mailing list