[mythtv-users] Gentoo, qt4 and mythtv

Phill Wiggin alamar at gmail.com
Tue Jan 9 16:05:41 UTC 2007

On 1/8/07, Stroller <linux.luser at myrealbox.com> wrote:
> Am I right in assuming this causes portage to build with preference
> of qt3 over qt4?
> "build with qt4 only if qt3 is not an option for this package"?
> I think building from the ebuild would be quite different from SVN -
> presumably the ebuild (and this is perhaps a function taken care of
> by portage itself, rather than the ebuild) would pass --build-with-
> qt3 and --dont-use-qt4 options to the `configure` stage of
> compilation. I'd imagine that one would have to set such options
> manually if manually undertaking `cd /path/to/source && .configure &&
> make && make install` (which is what I understand by "I build from
> SVN").
> <snip>
> Stroller.

Honestly, I'm not sure that the order of the USE flags makes any
difference.  The best thing to do (so far as I'm aware) is to add a
line in the /etc/portage/package.use file that says:
media-tv/mythtv qt3 -qt4

That would (for portage) would specifically say "Build with qt3, and
don't build for qt4". This is for Portage only.

Alternatively, if this is _only_ a Mythbox, a simply thing to do is
edit the /etc/make.conf file and add "qt3 -qt4" to your USE flags.
That will prevent all packages from attempting to build using qt4.  In
addition, it wouldn't hurt to add a line to /etc/portage/package.mask
that says:

That will prevent any qt4 series from being installed on the system.

I assume, as you do, that there's a different mechanism for compiling
SVN from the commandline, though I don't have experience with that.
(I believe there are SVN-ebuilds of myth, though again, I haven't
tried them)


More information about the mythtv-users mailing list