/[gentoo-x86]/media-libs/SoQt/SoQt-1.4.1.ebuild
Gentoo

Contents of /media-libs/SoQt/SoQt-1.4.1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.7 - (hide annotations) (download)
Tue Jan 5 01:57:36 2010 UTC (4 years, 10 months ago) by yngwin
Branch: MAIN
Changes since 1.6: +9 -14 lines
Drop qt3 support
(Portage version: 2.2_rc61/cvs/Linux x86_64)

1 yngwin 1.7 # Copyright 1999-2010 Gentoo Foundation
2 carlo 1.1 # Distributed under the terms of the GNU General Public License v2
3 yngwin 1.7 # $Header: /var/cvsroot/gentoo-x86/media-libs/SoQt/SoQt-1.4.1.ebuild,v 1.6 2009/10/29 11:02:54 fauli Exp $
4 carlo 1.1
5 tester 1.3 EAPI="2"
6    
7 vostorga 1.4 inherit flag-o-matic eutils
8 tester 1.3
9     DESCRIPTION="The glue between Coin3D and Qt"
10 carlo 1.1 SRC_URI="ftp://ftp.coin3d.org/pub/coin/src/all/${P}.tar.gz"
11     HOMEPAGE="http://www.coin3d.org/"
12    
13     SLOT="0"
14     LICENSE="|| ( GPL-2 PEL )"
15 fauli 1.6 KEYWORDS="~amd64 x86"
16 yngwin 1.7 IUSE="doc"
17 carlo 1.1
18 tester 1.3 RDEPEND=">=media-libs/coin-2.4.4
19 yngwin 1.7 x11-libs/qt-gui:4[qt3support]
20     x11-libs/qt-opengl:4[qt3support]
21     x11-libs/qt-qt3support:4"
22 carlo 1.1 DEPEND="${RDEPEND}
23 tester 1.3 dev-util/pkgconfig
24 carlo 1.1 doc? ( app-doc/doxygen )"
25    
26 vostorga 1.4 src_prepare() {
27     epatch "${FILESDIR}/${P}-gcc44.patch"
28     }
29    
30 tester 1.3 src_configure() {
31 yngwin 1.7 export PATH="/usr/bin/:${PATH}"
32     export QTDIR="/usr"
33     export CONFIG_QTLIBS="$(pkg-config --libs QtGui)"
34 tester 1.3
35 ssuominen 1.5 append-ldflags $(no-as-needed)
36 tester 1.3
37     econf --with-coin --disable-html-help $(use_enable doc html) htmldir=/usr/share/doc/${PF}/html
38     }
39    
40 carlo 1.1 src_compile() {
41 tester 1.3 emake -j1 || die "emake failed"
42 carlo 1.1 }
43    
44     src_install() {
45 angelos 1.2 emake DESTDIR="${D}" install || die "emake install failed"
46     dodoc AUTHORS ChangeLog NEWS README*
47 carlo 1.1 }

  ViewVC Help
Powered by ViewVC 1.1.20