/[gentoo-x86]/media-libs/quarter/quarter-1.0.0-r1.ebuild
Gentoo

Contents of /media-libs/quarter/quarter-1.0.0-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Sat May 5 08:02:37 2012 UTC (23 months, 1 week ago) by jdhore
Branch: MAIN
Changes since 1.3: +3 -3 lines
dev-util/pkgconfig -> virtual/pkgconfig

(Portage version: 2.2.0_alpha101/cvs/Linux i686)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/media-libs/quarter/quarter-1.0.0-r1.ebuild,v 1.3 2010/09/06 01:11:38 reavertm Exp $
4
5 EAPI="2"
6
7 inherit base
8
9 MY_P="${P/q/Q}"
10
11 DESCRIPTION="A glue between Nokia Qt4 and Coin3D"
12 HOMEPAGE="http://www.coin3d.org/lib/quarter"
13 SRC_URI="ftp://ftp.coin3d.org/pub/coin/src/all/${MY_P}.tar.gz"
14
15 LICENSE="GPL-2"
16 KEYWORDS="~amd64 ~x86"
17 SLOT="0"
18 IUSE="debug doc static-libs"
19
20 RDEPEND="
21 >=media-libs/coin-3.0.0[javascript]
22 x11-libs/qt-core:4
23 x11-libs/qt-gui:4
24 x11-libs/qt-opengl:4
25 "
26 DEPEND="${RDEPEND}
27 virtual/pkgconfig
28 doc? ( app-doc/doxygen )
29 "
30
31 S="${WORKDIR}/${MY_P}"
32
33 PATCHES=(
34 "${FILESDIR}/${P}-gcc44.patch"
35 )
36
37 DOCS=(AUTHORS NEWS README)
38
39 src_configure() {
40 # Bug 336008
41 MAKEOPTS=-j1
42
43 econf \
44 htmldir="${ROOT}usr/share/doc/${PF}/html" \
45 --enable-pkgconfig \
46 --enable-shared \
47 --with-coin \
48 $(use_enable debug) \
49 $(use_enable debug symbols) \
50 $(use_enable doc html) \
51 $(use_enable static-libs static)
52 }
53
54 src_install() {
55 base_src_install
56
57 # Do not install .la files
58 rm -f "${D}"/usr/lib*/qt4/plugins/designer/*.{la,a}
59 use static-libs || rm -f "${D}"/usr/lib*/*.la
60 }

  ViewVC Help
Powered by ViewVC 1.1.20