Gentoo Archives: gentoo-user

From: Andrew Gaydenko <a@××××××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] qpxtool ebuild and Qt problem
Date: Fri, 09 Dec 2005 16:11:23
Message-Id: 200512091909.49078@goldspace.net
1 I have tried to build the 'qpxtool' app with ebuild file shown below.
2 The problem is I have sloted Qt3 and Qt4, and ebuild doesn't switch to Qt3.
3 The app _must_ be built with Qt3.
4
5 How to modify the ebuild file to force a Qt3 using?
6
7 Andrew
8 ___________________________________________________________
9 # Copyright 1999-2005 Gentoo Foundation
10 # Distributed under the terms of the GNU General Public License v2
11 # $Header: $
12
13 inherit eutils kde-functions
14
15 DESCRIPTION="cd/dvd quality check for Plextor drives"
16 HOMEPAGE="http://qpxtool.sourceforge.net"
17 SRC_URI="mirror://sourceforge/$PN/${P}.tar.bz2"
18
19 LICENSE="GPL-2"
20 SLOT="0"
21 KEYWORDS="~amd64 ~x86"
22 IUSE=""
23
24 need-qt 3
25
26 DEPEND=""
27
28 src_compile() {
29 qmake -project || die "qmake -project failed"
30 qmake qpxtool-${PV}.pro || die "qmake qpxtool failed"
31 emake || die "emake failed"
32 }
33
34 src_install() {
35 newbin qpxtool-${PV} qpxtool || die "dobin failed"
36 dodoc ChangeLog || die "dodoc failed"
37 }
38 --
39 gentoo-user@g.o mailing list