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

Contents of /media-libs/SoQt/SoQt-1.5.0-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Wed Dec 26 14:38:11 2012 UTC (18 months, 3 weeks ago) by jlec
Branch: MAIN
Changes since 1.4: +19 -21 lines
media-libs/SoQt: Drop old; move to EAPI=5 and autotools-utils.eclass

(Portage version: 2.2.0_alpha149/cvs/Linux x86_64, signed Manifest commit with key 8009D6F070EB7916)

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/SoQt/SoQt-1.5.0-r1.ebuild,v 1.4 2012/05/05 08:02:33 jdhore Exp $
4
5 EAPI=5
6
7 inherit autotools-utils
8
9 DESCRIPTION="The glue between Coin3D and Qt"
10 SRC_URI="http://ftp.coin3d.org/coin/src/all/${P}.tar.gz"
11 HOMEPAGE="http://www.coin3d.org/"
12
13 LICENSE="|| ( GPL-2 PEL )"
14 KEYWORDS="~amd64 ~x86"
15 SLOT="0"
16 IUSE="debug doc static-libs"
17
18 RDEPEND="
19 >=media-libs/coin-3.1.3
20 virtual/opengl
21 x11-libs/qt-core:4
22 x11-libs/qt-gui:4
23 x11-libs/qt-opengl:4
24 "
25 DEPEND="${RDEPEND}
26 virtual/pkgconfig
27 doc? ( app-doc/doxygen )
28 "
29
30 PATCHES=(
31 "${FILESDIR}/${PN}-1.5.0-pkgconfig-partial.patch"
32 )
33
34 DOCS=(AUTHORS ChangeLog FAQ HACKING NEWS README)
35
36 src_configure() {
37 local myeconfargs=(
38 htmldir="/usr/share/doc/${PF}/html"
39 --disable-compact
40 --disable-html-help
41 --disable-loadlibrary
42 --disable-man
43 --enable-pkgconfig
44 --includedir="/usr/include/coin"
45 --with-coin
46 $(use_enable debug)
47 $(use_enable debug symbols)
48 $(use_enable doc html)
49 )
50 autotools-utils_src_configure
51 }
52
53 src_install() {
54 # Remove SoQt from Libs.private
55 sed -e '/Libs.private/s/ -lSoQt//' -i "${BUILD_DIR}"/SoQt.pc || die
56
57 autotools-utils_src_install
58 }

  ViewVC Help
Powered by ViewVC 1.1.20