Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 302004 - media-libs/SoQt (all in portage) missing use flag qt4
Summary: media-libs/SoQt (all in portage) missing use flag qt4
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High major
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-24 04:10 UTC by roland.graf
Modified: 2010-01-24 07:42 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Modified ebuild with qt4 (SoQt-1.4.2_alpha1841.ebuild,898 bytes, text/plain)
2010-01-24 04:12 UTC, roland.graf
Details

Note You need to log in before you can comment on or make changes to this bug.
Description roland.graf 2010-01-24 04:10:11 UTC
All ebuilds of media-libs/SoQt are missing the Use-flag qt4. This is necessary to emerge sci-misc/freecad.

Reproducible: Always

Steps to Reproduce:
1.emerge freecad
2.
3.

Actual Results:  
freecad fails to emerge

Expected Results:  
freecad has to emerge

I modified the ebuild like this:

Adding qt4 under IUSE

Adding x11-libs/qt:4 under DEPEND="${RDEPEND}

here the comlpete ebuild which is working on my system


# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-libs/SoQt/SoQt-1.4.2_alpha1841.ebuild,v 1.1 2009/12/22 16:23:12 tommy Exp $

EAPI="2"

inherit flag-o-matic

DESCRIPTION="The glue between Coin3D and Qt"
SRC_URI="mirror://gentoo/${P}.tar.bz2"
HOMEPAGE="http://www.coin3d.org/"

SLOT="0"
LICENSE="|| ( GPL-2 PEL )"
KEYWORDS="~amd64 ~x86"
IUSE="doc qt4"

RDEPEND=">=media-libs/coin-3.1.2[javascript]
	x11-libs/qt-gui:4
	x11-libs/qt-opengl:4"

DEPEND="${RDEPEND}
	dev-util/pkgconfig
	doc? ( app-doc/doxygen )
	x11-libs/qt:4"

src_configure() {
	append-ldflags $(no-as-needed)
	econf --with-coin --disable-html-help $(use_enable doc html) htmldir=/usr/share/doc/${PF}/html
}

src_install() {
	emake DESTDIR="${D}" install || die "emake install failed"
	dodoc AUTHORS NEWS README* || die "dodoc failed"
}
Comment 1 roland.graf 2010-01-24 04:12:47 UTC
Created attachment 217291 [details]
Modified ebuild with qt4
Comment 2 Samuli Suominen (RETIRED) gentoo-dev 2010-01-24 07:42:45 UTC
Qt4 is always enabled, so there's no need for USE flag, the freecad ebuild (which is not in portage) is broken.

Nothing left to do here. Contact freecad ebuild/overlay author to fix their stuff.